diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-12-05 16:16:11 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-12-05 16:16:11 -0400 |
commit | 046d1acc712b2ab90961c67890935ab9555191e5 (patch) | |
tree | 4a486b69b0108a3787792fd758e8ace379d5529d | |
parent | f938f8833af04246579fe039d0d25104bf9fac69 (diff) |
disable sticky sidebar for now
-rw-r--r-- | src/static/site2.css | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/static/site2.css b/src/static/site2.css index 26c7ae34..05d6cce8 100644 --- a/src/static/site2.css +++ b/src/static/site2.css @@ -1092,15 +1092,17 @@ img { /* Sticky heading */ -#content:not(.no-sticky-heading) > h1:first-of-type, -.sidebar:not(.no-sticky-heading) h1:first-of-type { +#content:not(.no-sticky-heading) > h1:first-of-type +/* , .sidebar:not(.no-sticky-heading) h1:first-of-type */ +{ position: sticky; top: 0; } #content .content-sticky-heading-container h1, -#content:not(.no-sticky-heading) > h1:first-of-type, -.sidebar:not(.no-sticky-heading) h1:first-of-type { +#content:not(.no-sticky-heading) > h1:first-of-type +/* , .sidebar:not(.no-sticky-heading) h1:first-of-type */ +{ margin: calc(-1 * var(--content-padding)); margin-bottom: calc(0.5 * var(--content-padding)); padding: @@ -1206,6 +1208,7 @@ img { /* Sticky sidebar */ +/* .sidebar-column.sidebar.sticky-column, .sidebar-column.sidebar.sticky-last, .sidebar-multiple.sticky-last > .sidebar:last-child, @@ -1221,6 +1224,7 @@ img { .sidebar-multiple.sticky-column { align-self: flex-start; } +*/ /* important easter egg mode */ |