MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
#navwrapper {
position: sticky;
top: 0;
z-index: 1000;
}
#mw-content-text .mw-parser-output #toc {
float: left;
width: 30%;
font-size: 80%;
}
#mw-content-text .mw-parser-output > * {
width: 100%; /* Full width by default */
}
/* 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: 10;
height: 600px;
overflow: scroll;
}
#mw-content-text .mw-parser-output hr {
clear:none;
}