41,507
edits
mNo edit summary |
mNo edit summary |
||
(43 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
/* Tabs fix */ | /* Tabs fix */ | ||
.tabber { display: inline-block; } | .tabber { display: inline-block; } | ||
.tabbertab | .tabbertab:first-child { padding: 5px; } | ||
.infobox .tabbertab:first-child { padding: 5px 0 0; } | .infobox .tabbertab:first-child { padding: 5px 0 0; } | ||
.tabbertab:first-child { | .client-js .tabbertab:first-child { margin-top: 22px; } | ||
.mw-parser-output > .tabber, section > .tabber { display: | .client-js .tabbertab:not(:first-of-type) { display: none; } | ||
.mw-parser-output > .tabber, section > .tabber { display: block; width: max-content; margin-bottom: 0.5em; } | |||
.mobile ul.tabbernav li a { padding-top: 4px; padding-bottom: 4px; } | .mobile ul.tabbernav li a { padding-top: 4px; padding-bottom: 4px; } | ||
.mobile | .client-js .mobile .tabbertab:first-child { margin-top: 27px; } | ||
. | .client-nojs .tabbertab + .tabbertab { margin-top: 2.5px; } | ||
.tabbertab > p:first-child { margin-top: 0.2em; } | .tabbertab > p:first-child { margin-top: 0.2em; } | ||
.tabbertab > p:last-child { margin-bottom: 0; } | .tabbertab > p:last-child { margin-bottom: 0; } | ||
/* | /* Show/hide toggle */ | ||
.mw-collapsible-toggle { | |||
font-weight: bold; | |||
} | } | ||
.infobox .mw-collapsible-toggle { | |||
min-width: 41px; | |||
text-align: right; | |||
} | |||
.infobox th a.mw-collapsible-text { | |||
color: inherit !important; | |||
} | |||
.infobox .mw-made-collapsible > tbody > tr > th:not([style*="text-align"]) { | |||
padding-left: 45px !important; | |||
} | |||
table:not(.wikitable) .mw-collapsible-toggle { | |||
padding-right: 0.3em; | |||
} | } | ||
/* Infobox templates */ | /* Infobox templates */ | ||
.infobox-wide { | .infobox-wide { | ||
width: 100%; | |||
border-spacing: 0; | |||
} | |||
.infobox, .infobox-wide { | |||
color: #000; | color: #000; | ||
padding: 4px; | |||
border: 1px solid; | border: 1px solid; | ||
} | } | ||
.infobox audio + br { | .infobox th a, .infobox-wide th a { | ||
color: inherit !important; | |||
} | |||
.infobox audio + br, | |||
.infobox .mw-tmh-player.audio + br { | |||
content: ''; | content: ''; | ||
display: block; | display: block; | ||
margin-top: 3px; | margin-top: 3px; | ||
} | } | ||
.infobox td > audio:first-child { | .infobox td > audio:first-child, | ||
.infobox td > .mw-tmh-player.audio:first-child { | |||
margin-top: 2px; | margin-top: 2px; | ||
} | } | ||
.infobox | .infobox div[style*="column"] br + a { | ||
display: inline-block; | |||
} | } | ||
.infobox > tbody > tr > td:first-of-type:not(:last-of-type) { | .infobox > tbody > tr > td:first-of-type:not(:last-of-type) { | ||
Line 114: | Line 126: | ||
.notice-template.maintenance#delete a:not(.new) { | .notice-template.maintenance#delete a:not(.new) { | ||
color: yellow; | color: yellow; | ||
} | } | ||
Line 137: | Line 136: | ||
} | } | ||
/* | /* Donkey Kong tables */ | ||
table. | table.wikitable.dk { color: #000; } | ||
table.wikitable.dk > * > tr > * { border-color: #000; } | |||
table.wikitable.dk > * > tr > th { background-color: #BB8855; } | |||
table.wikitable.dk > * > tr:not([bgcolor]):nth-child(even) { background: wheat; } | |||
table.wikitable.dk > * > tr:not([bgcolor]):nth-child(odd) { background: #FFF8DC; } | |||
} | |||
table. | |||
} | |||
table. | |||
} | |||
table. | |||
} | |||
table. | |||
} | |||
/* Fake headings */ | /* Fake headings */ |