Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
float: left; | float: left; | ||
width: 30%; | width: 30%; | ||
font-size: 80%; | |||
} | } | ||
#mw-content-text .mw-parser-output > | #mw-content-text .mw-parser-output > * { | ||
width: 100%; /* Full width by default */ | |||
width: | |||
} | } | ||
#mw-content-text .mw-parser-output > * { | /* Adjust width for other content if TOC is present */ | ||
#mw-content-text .mw-parser-output > #toc + * { | |||
float: right; | float: right; | ||
width: 67%; | width: 67%; /* Adjust width as needed */ | ||
} | } | ||
#mw-content-text .mw-parser-output hr { | #mw-content-text .mw-parser-output hr { | ||
clear:none; | clear:none; | ||
} | } | ||
Revision as of 08:27, 14 March 2024
#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 hr {
clear:none;
}