diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2023-07-31 14:09:25 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2023-07-31 14:09:25 +0200 |
| commit | 604349ee3801226950b6bfe638dbbc9b674c76fe (patch) | |
| tree | b87c1bee633a07964dea5fd2c444a5c17bc20586 /style.css | |
| parent | 0f275afa795c2bce0255666162731f74e2a8a74c (diff) | |
fix: fixed grid layout
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -46,7 +46,7 @@ br{ height: 215px; margin: 10px; background-color: rgba(220, 237, 200, 0.55); - border: 3px solid skyblue; + /*border: 3px solid skyblue;*/ border-radius: 2%; transition-property: opacity, box-shadow; transition-duration: 0.3s, 0.6s; @@ -86,14 +86,16 @@ a.text-link::after{ } .content-container{ + margin: 20px 10%; display: grid; - grid-template-columns: repeat(2, 97vw); - gap: 20px; + grid-template-columns: repeat(2, 1fr); + grid-template-rows: auto ; + gap: 10px; } .content{ - width: 94vw; - height: 88vh; + width: auto; + height: auto; margin: 1%; padding: 1%; background-color: rgba(220, 237, 200, 0.80); |
