MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
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: | 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 | 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 | 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 | padding: 2px 0 2px 10px; | ||
border-left: 1px dotted var(--wiz-content-border, #ff942d); | border-left: 1px dotted var(--wiz-content-border, #ff942d); | ||
} | } | ||