Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 20: | Line 20: | ||
position: fixed; | position: fixed; | ||
left: 86px; | left: 86px; | ||
top: | top: 5; | ||
height: 600px; | height: 600px; | ||
overflow: scroll; | overflow: scroll; | ||
Revision as of 10:24, 17 March 2024
#navwrapper {
position: sticky;
top: 0;
z-index: 1000;
}
#mw-content-text .mw-parser-output > * {
width: 100%;
}
/* Adjust width for other content if TOC is present */
#mw-content-text .mw-parser-output > #toc ~ * {
float: right;
width: 67%; /* Adjust width as needed */
}
#mw-content-text .mw-parser-output #toc {
float: left;
width: 30%;
font-size: 80%;
position: fixed;
left: 86px;
top: 5;
height: 600px;
overflow: scroll;
}
#mw-content-text .mw-parser-output hr {
clear:none;
}
#mw-content-text .mw-parser-output #toc .toclevel-3 ul { display:none; }