Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 34: Line 34:
.toc-page .toc {
.toc-page .toc {
float: right;
float: right;
width: 320px;
width: max-content;
min-width: 220px;
max-width: 320px;
margin: 0 0 16px 24px;
margin: 0 0 16px 24px;
clear: right;
clear: right;
font-size: 0.95em;
font-size: 0.95em;
box-sizing: border-box;
box-sizing: border-box;
padding: 12px 16px;
padding: 16px 24px;
border: 1px solid var(--wiz-content-border, #ff942d);
border: 1px solid var(--wiz-content-border, #ff942d);
background: var(--wiz-panel-solid-background, #0f0f0f);
background: var(--wiz-panel-solid-background, #0f0f0f);
Line 49: Line 51:
width: fit-content;
width: fit-content;
min-width: 0;
min-width: 0;
padding: 12px 16px;
}
}


.toc-page #toc .toctitle,
.toc-page #toc .toctitle,
.toc-page .toc .toctitle {
.toc-page .toc .toctitle {
margin: 0 0 8px;
margin: 0 0 10px;
color: var(--wiz-text, #d2d2d2);
color: var(--wiz-text, #d2d2d2);
text-align: center;
text-align: center;
}
.toc-page #toc:has(.toctogglecheckbox:checked) .toctitle,
.toc-page .toc:has(.toctogglecheckbox:checked) .toctitle {
margin: 0;
line-height: 1.4;
}
}


Line 92: Line 101:
.toc-page .toc li {
.toc-page .toc li {
display: block;
display: block;
margin: 0 0 5px;
margin: 0;
padding: 0;
padding: 0;
list-style: none;
list-style: none;
line-height: 1.35;
line-height: 1.35;
}
.toc-page #toc > ul > li,
.toc-page .toc > ul > li {
padding: 2px 0;
}
}


Line 101: Line 115:
.toc-page .toc li li {
.toc-page .toc li li {
margin-left: 12px;
margin-left: 12px;
padding-left: 10px;
padding: 2px 0 2px 10px;
border-left: 1px dotted var(--wiz-content-border, #ff942d);
border-left: 1px dotted var(--wiz-content-border, #ff942d);
}
}