Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (30 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
top: 0; | top: 0; | ||
z-index: 1000; | z-index: 1000; | ||
} | |||
#mw-content-text .mw-parser-output > * { | |||
width: 100%; | |||
} | } | ||
#toc { | /* Adjust width for other content if TOC is present */ | ||
float: | #mw-content-text .mw-parser-output > #toc ~ * { | ||
width: | float: right; | ||
width: 77%; /* Adjust width as needed */ | |||
} | } | ||
#mw-content-text .mw-parser-output | #mw-content-text .mw-parser-output #toc { | ||
float: left; | |||
width: 20%; | |||
font-size: 60%; | |||
position: fixed; | |||
left: 86px; | |||
top: 1; | |||
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; } | |||
h1 { | |||
font-size: 185%; } | |||
h2 { | |||
font-size: 165%; } | |||
h3 { | |||
font-size: 145%; } | |||
h4 { | |||
font-size: 125%; } | |||
Latest revision as of 09:34, 23 April 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: 77%; /* Adjust width as needed */
}
#mw-content-text .mw-parser-output #toc {
float: left;
width: 20%;
font-size: 60%;
position: fixed;
left: 86px;
top: 1;
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; }
h1 {
font-size: 185%; }
h2 {
font-size: 165%; }
h3 {
font-size: 145%; }
h4 {
font-size: 125%; }