diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2024-11-11 12:31:12 -0500 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2024-11-11 12:31:12 -0500 |
commit | 74a20e3b409ed625e74a838d418890fc5f6d0533 (patch) | |
tree | 0913fb9ece104088e654dcbcfc984eda8b790eeb /css | |
parent | edbe7404cbc33f36816aab77cecaafd30b96c2e2 (diff) | |
download | grav-sowtheme-74a20e3b409ed625e74a838d418890fc5f6d0533.tar.gz grav-sowtheme-74a20e3b409ed625e74a838d418890fc5f6d0533.tar.bz2 grav-sowtheme-74a20e3b409ed625e74a838d418890fc5f6d0533.zip |
update grid
Diffstat (limited to 'css')
-rw-r--r-- | css/website.css | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/css/website.css b/css/website.css index 057e9c6..87ae676 100644 --- a/css/website.css +++ b/css/website.css @@ -254,21 +254,33 @@ hr { margin: 60px 0px; } -/* mobile */ -@media only screen -and (max-device-width: 900px) -{ -.header -{ - margin: 10px; -} -.footer -{ - margin: 10px; +.grid { + display: flex; + flex-direction: row; + flex-wrap: wrap; + gap: 40px; } -.h1t -{ - font-size: 300%; + +.grid div { + width: 400px; + border-color: white; + border-style: solid; + height: 400px; + border-radius: 10px; + padding: 10px; } + + +/* mobile */ +@media only screen and (max-device-width: 900px) { + .header { + margin: 10px; + } + .footer { + margin: 10px; + } + .h1t { + font-size: 300%; + } }
\ No newline at end of file |