From 25a8e45f4aa4ce832c9c44be281a1548114b63de Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Fri, 17 Jan 2025 11:33:08 -0500 Subject: Style: Lock sidebar in place --- alabaster-lite/css/alabaster.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/alabaster-lite/css/alabaster.css b/alabaster-lite/css/alabaster.css index 2343205..2119590 100644 --- a/alabaster-lite/css/alabaster.css +++ b/alabaster-lite/css/alabaster.css @@ -71,6 +71,8 @@ div.sphinxsidebar { div.sphinxsidebarwrapper { padding: 18px 10px; margin-right: 18px; + position: fixed; + width: 220px; } div.sphinxsidebarwrapper p.logo { @@ -391,6 +393,10 @@ a.footnote-reference:hover { display: none; } + div.sphinxsidebarwrapper { + position: unset; + } + div.document { width: 100%; } @@ -434,7 +440,7 @@ a.footnote-reference:hover { } } -@media screen and (max-width: 875px) { +@media screen and (max-width: 870px) { body { margin: 0; padding: 20px 30px; -- cgit v1.2.3