diff options
author | tpart <tpart120@proton.me> | 2023-12-22 15:11:36 +0100 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2023-12-22 15:11:36 +0100 |
commit | 6ebdc915aa9204185ad8523f775de59f69106208 (patch) | |
tree | d53551c158b69e31b071d9e80c7cc910639dca17 /web/style/layout.css | |
parent | 864423baf8b019d53f2d18d925d5df468dd5e2a0 (diff) | |
download | jellything-6ebdc915aa9204185ad8523f775de59f69106208.tar jellything-6ebdc915aa9204185ad8523f775de59f69106208.tar.bz2 jellything-6ebdc915aa9204185ad8523f775de59f69106208.tar.zst |
Improve node card style on small screens
Diffstat (limited to 'web/style/layout.css')
-rw-r--r-- | web/style/layout.css | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/web/style/layout.css b/web/style/layout.css index 5b19114..d599abf 100644 --- a/web/style/layout.css +++ b/web/style/layout.css @@ -18,7 +18,7 @@ } :root { - --card-size: 17em; + --card-size: min(50vw, 17em); --bar-height: 5em; --port-poster-aspect: 1.41; --land-poster-aspect: (1.41 / 2); @@ -116,3 +116,9 @@ footer p { .homelist ul li { display: table-cell; } + +@media (max-width: 750px) { + .homelist ul { + padding-left: 0; + } +}
\ No newline at end of file |