diff options
author | metamuffin <metamuffin@disroot.org> | 2025-02-05 23:42:13 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-02-05 23:42:13 +0100 |
commit | 8fd96b46e73a0e7f984305e487e383a471dfcf88 (patch) | |
tree | f14544a25e15da93a0cf752fbc7baa1228d75088 /web | |
parent | df36a85b54fd427cc0914320d29aa4f005e5aff7 (diff) | |
download | jellything-8fd96b46e73a0e7f984305e487e383a471dfcf88.tar jellything-8fd96b46e73a0e7f984305e487e383a471dfcf88.tar.bz2 jellything-8fd96b46e73a0e7f984305e487e383a471dfcf88.tar.zst |
widecards and season views
Diffstat (limited to 'web')
-rw-r--r-- | web/style/nodecard.css | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/web/style/nodecard.css b/web/style/nodecard.css index 011e415..76c4d3b 100644 --- a/web/style/nodecard.css +++ b/web/style/nodecard.css @@ -20,16 +20,16 @@ .card .poster img { height: var(--card-size); } -.card.aspect-port { +.aspect-port { width: calc(var(--card-size) * var(--port-poster-aspect)); } -.card.aspect-land { +.aspect-land { width: calc(var(--card-size) * var(--land-poster-aspect)); } -.card.aspect-thumb { +.aspect-thumb { width: calc(var(--card-size) * var(--land-thumb-aspect)); } -.card.aspect-square { +.aspect-square { width: calc(var(--card-size)); } @@ -119,7 +119,22 @@ } .widecard { - + display: grid; + grid-template-columns: 1fr 10000fr; + width: 100%; +} +.widecard .poster { + grid-column: 1; +} +.widecard .details { + grid-column: 2; + margin: 1em; +} +.widecard .details .title { + font-size: large; +} +.widecard .details .props { + margin-bottom: 0.5em; } @media (max-width: 750px) { |