MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
} | } | ||
} | |||
:root { | |||
--mtx-tabs-bk-2d: #a022b5a8; | |||
--mtx-tabs-bk-3d: #a0a8b522; | |||
} | } | ||
Revision as of 16:15, 9 July 2026
/* CSS placed here will be applied to all skins */
.noautonum .tocnumber { display: none; }
/* Edits by ST090726 to improve dark mode */
@media screen {
html.skin-theme-clientpref-night {
}
html.skin-theme-clientpref-night .mw-parser-output > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-night section .mw-heading ~ div > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-night section > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-night dd > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-night p > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-night .mw-parser-output > figure[typeof^='mw:File']:not(.skin-invert-image) img,html.skin-theme-clientpref-night section .mw-heading ~ div > figure[typeof^='mw:File']:not(.skin-invert-image) img,html.skin-theme-clientpref-night section > figure[typeof^='mw:File']:not(.skin-invert-image) img,html.skin-theme-clientpref-night dd > figure[typeof^='mw:File']:not(.skin-invert-image) img,html.skin-theme-clientpref-night p > figure[typeof^='mw:File']:not(.skin-invert-image) img {
background-color: transparent;
color: var(--color-base-fixed,#202122);
filter: brightness(0.8)
}
.tabs-label {
cursor: pointer;
padding: 1px 6px;
background-color: transparent;
border: 1px solid #AAA;
}
.tabs-tabbox > .tabs-input:checked + .tabs-label, .tabs-input-0:checked + .tabs-input-1 + .tabs-label {
z-index: 2;
background-color: #a022b5a8;
}
}
:root {
--mtx-tabs-bk-2d: #a022b5a8;
--mtx-tabs-bk-3d: #a0a8b522;
}