Toggle 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
 
(5 intermediate revisions by the same user not shown)
Line 59: Line 59:
.mw-highlight pre, .hljs, pre code {
.mw-highlight pre, .hljs, pre code {
     padding-left: 13px !important;
     padding-left: 13px !important;
     padding-top: 11px !important;
     padding-top: 10px !important;


}
table.ambox {
    background-color: var(--color-surface-2, #f8f9fa) !important;
    color: var(--color-base, #202122) !important;
    border: 1px solid var(--border-color-base, #a2a9b1);
}
.ambox-notice {
    border-left-color: var(--color-primary, #36c) !important;
}
.ambox a {
    color: var(--color-primary, #36c) !important;
}
html.skin-theme-clientpref-night .ambox .mbox-image img,
html.skin-theme-clientpref-night .ambox .mbox-imageright img {
    filter: invert(1) hue-rotate(180deg);
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .ambox .mbox-image img,
    html.skin-theme-clientpref-os .ambox .mbox-imageright img {
        filter: invert(1) hue-rotate(180deg);
    }
}
.infobox-track .infobox-image img {
  width: 350px;
  height: auto;
}
}

Latest revision as of 22:34, 31 January 2026

.citizen-overflow-wrapper:has(.citizen-overflow-content .wikitable) {
  float:right;
  clear:right;
  margin-left:5px
}
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox {
  color:#9a9a9a !important;
  background:#000 !important
}
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox tr:has(> td.navbox-list.navbox-odd),
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox td.navbox-list.navbox-odd,
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox th.navbox-group:has(+ td.navbox-list.navbox-odd) {
  background-color:#000 
}
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox tr:has(> td.navbox-list.navbox-even),
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox td.navbox-list.navbox-even,
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox th.navbox-group:has(+ td.navbox-list.navbox-even) {
  background-color:#111 
}
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox .navbox-title {
  background:#1b1b1b !important;
  color:#e6e6e6 !important;
  border-color:#2a2a2a !important
}
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox,
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox td,
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox th {
  border-color:#2a2a2a !important
}
.navbox a {
  color:none
}
.thumb-custom img {
  width: var(--thumb-width, auto) !important;
  height: auto !important;
}
.mw-highlight pre, .hljs, pre code {
    padding-left: 13px !important;
    padding-top: 10px !important;

}
table.ambox {
    background-color: var(--color-surface-2, #f8f9fa) !important;
    color: var(--color-base, #202122) !important;
    border: 1px solid var(--border-color-base, #a2a9b1);
}

.ambox-notice {
    border-left-color: var(--color-primary, #36c) !important;
}

.ambox a {
    color: var(--color-primary, #36c) !important;
}

html.skin-theme-clientpref-night .ambox .mbox-image img,
html.skin-theme-clientpref-night .ambox .mbox-imageright img {
    filter: invert(1) hue-rotate(180deg);
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .ambox .mbox-image img,
    html.skin-theme-clientpref-os .ambox .mbox-imageright img {
        filter: invert(1) hue-rotate(180deg);
    }
}
.infobox-track .infobox-image img {
  width: 350px;
  height: auto;
}