From 046d1acc712b2ab90961c67890935ab9555191e5 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 5 Dec 2022 16:16:11 -0400 Subject: disable sticky sidebar for now --- src/static/site2.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/static') 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 */ -- cgit 1.3.0-6-gf8a5