Docs: add sticky header and correct z-order of elements

This commit is contained in:
neofelis2X
2025-01-29 02:52:03 +01:00
parent f1b73e07dc
commit 783d683f1d

View File

@@ -107,9 +107,10 @@ div.headerimage-noshow {
} }
div.document { div.document {
background-color: rgb(230,230,230); background-color: rgb(230,230,230);
position: relative; position: relative;
margin-left: 240px; margin-left: 240px;
z-index: 500;
} }
div.sphinxsidebarwrapper { div.sphinxsidebarwrapper {
@@ -140,6 +141,7 @@ div.sphinxsidebar {
left: 0; left: 0;
top: 30px; top: 30px;
bottom: 0; bottom: 0;
z-index: 600;
} }
#searchbox { #searchbox {
@@ -159,9 +161,9 @@ div.related {
font-size: 90%; font-size: 90%;
line-height: normal; line-height: normal;
height: auto; height: auto;
left: 0; position: sticky;
right: 0;
top: 0; top: 0;
z-index: 999;
} }
div.related ul { div.related ul {