summaryrefslogtreecommitdiff
path: root/alabaster-lite
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2025-01-17 11:33:08 -0500
committerFrederick Yin <fkfd@fkfd.me>2025-01-17 11:33:08 -0500
commit25a8e45f4aa4ce832c9c44be281a1548114b63de (patch)
tree12d3d040b5642d7da2ac8225e9a5d47b98e33da0 /alabaster-lite
parent9fe2a4a61f31fd78bbdb0e379ea3c21270c1e1c8 (diff)
Style: Lock sidebar in place
Diffstat (limited to 'alabaster-lite')
-rw-r--r--alabaster-lite/css/alabaster.css8
1 files changed, 7 insertions, 1 deletions
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;