diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-04-15 12:22:48 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-04-15 12:24:22 -0300 |
commit | 6b35077eb1542eaf9a89534d6920c35fee86cc04 (patch) | |
tree | 3ff4e6bb1860b67b9b2a4f2e39cdcd76cbeaa4b9 /src/static | |
parent | 3a5b49cf3a10702c0dae1190c9baabd8a2c2ef3b (diff) |
content: generateAlbumSidebar + misc fixes
This restores the CSS for sticky sidebars, but removes the specific lines applying that effect (for the album sidebar). There's also an experimental new splitter for the joined group info box but we might go back on that or do something different. No tests for the new stuff here yet!
Diffstat (limited to 'src/static')
-rw-r--r-- | src/static/site3.css | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/static/site3.css b/src/static/site3.css index 80624758..684b6d7d 100644 --- a/src/static/site3.css +++ b/src/static/site3.css @@ -1358,6 +1358,24 @@ main.long-content .content-sticky-heading-container .content-sticky-subheading-r contain: paint; } +/* Sticky sidebar */ + +.sidebar-column.sidebar.sticky-column, +.sidebar-column.sidebar.sticky-last, +.sidebar-multiple.sticky-last > .sidebar:last-child, +.sidebar-multiple.sticky-column { + position: sticky; + top: 10px; +} + +.sidebar-multiple.sticky-last { + align-self: stretch; +} + +.sidebar-multiple.sticky-column { + align-self: flex-start; +} + /* Image overlay */ #image-overlay-container { |