diff options
| author | radiohotline <radiohotline@disroot.org> | 2026-02-17 21:42:11 +0300 |
|---|---|---|
| committer | radiohotline <radiohotline@disroot.org> | 2026-02-17 21:42:11 +0300 |
| commit | bc0cb08c503f736ac5bb07a14b7dc09b582c5c89 (patch) | |
| tree | 2bc2dc2af19792f1d1d0b436169fa9e374ca7129 /common.css | |
| parent | 2d2287524d566143105c42196a3de2bb7132cfc7 (diff) | |
responsiveness
Diffstat (limited to 'common.css')
| -rw-r--r-- | common.css | 45 |
1 files changed, 20 insertions, 25 deletions
@@ -118,46 +118,41 @@ a:hover { align-items: center; align-self: flex-start; gap: 20px; + flex-direction: row; } -@media (min-width: 900px) { - .art { - margin-left: 0%; - margin-right: 0%; - } +.art-container img { + height: 300px; + width: auto; +} - .art-nav { - margin-left: 30%; - margin-right: 30%; +/* mobile */ + +@media (max-width: 900px) { + body { + background-size: cover; } .art-container { - flex-direction: row; + flex-direction: column; } .art-container img { - height: 300px; - width: auto; - + height: auto; + width: 80vw; } -} -@media (max-width: 400px) { - body { - margin-left: 15px; - margin-right: 15px; - font-size: 20px; + .logo { + position: relative; + margin: 20px; } - .art-container { - flex-direction: column; + .logo img { + width: 80vw; } - .art-container img { - height: auto; - width: 80vw; - margin-left: 5vw; - margin-right: 5vw; + .logo img:hover { + width: 85vw; } } |
