diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-07-30 06:06:26 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-07-30 06:06:26 -0300 |
commit | 966a8facae09e4f8638fca1fce260f47bcbbb78d (patch) | |
tree | 92e522492a034b08a675013932d9719a4d29e54f /src/static/css/site.css | |
parent | 1d54cfe3078707061b06761ef8fa1878fee25ec7 (diff) |
content, client, css: tighter expandable grid
Diffstat (limited to 'src/static/css/site.css')
-rw-r--r-- | src/static/css/site.css | 74 |
1 files changed, 41 insertions, 33 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css index afc5cfbf..ba8ef6b1 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -2076,39 +2076,6 @@ ul.quick-info li:not(:last-child)::after { margin-bottom: 1.5em; } -.expandable-gallery-section .section-expando { - margin-top: 1em; - margin-bottom: 2em; - - display: flex; - flex-direction: row; - justify-content: space-around; -} - -.expandable-gallery-section .section-expando-content { - text-align: center; - line-height: 1.5; -} - -.expandable-gallery-section .section-expando-toggle { - text-decoration: underline; - text-decoration-style: dotted; -} - -.expandable-gallery-section.expanded .section-content-below-cut { - animation: expand-gallery-section 0.8s forwards; -} - -@keyframes expand-gallery-section { - from { - opacity: 0; - } - - to { - opacity: 1; - } -} - .quick-description:not(.has-external-links-only) { --clamped-padding-ratio: max(var(--responsive-padding-ratio), 0.06); margin-left: auto; @@ -3251,6 +3218,47 @@ video.pixelate, .pixelate video { --dim-color: inherit !important; } +.grid-caption { + flex-basis: 100%; + text-align: center; + line-height: 1.5; +} + +.grid-expando { + margin-top: 1em; + margin-bottom: 2em; + flex-basis: 100%; + + display: flex; + flex-direction: row; + justify-content: space-around; +} + +.grid-expando-content { + margin: 0; + text-align: center; + line-height: 1.5; +} + +.grid-expando-toggle { + text-decoration: underline; + text-decoration-style: dotted; +} + +.grid-item.shown-by-expandable-cut { + animation: expand-cover-grid 0.8s forwards; +} + +@keyframes expand-cover-grid { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + /* Carousel */ .carousel-container { |