Jump to content

MediaWiki:Common.css: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 4: Line 4:
.element {
.element {
   --background-color-base-fixed: transparent;
   --background-color-base-fixed: transparent;
}
@media screen and (prefers-color-scheme: dark) {
  html.skin-theme-clientpref-os {
  }
  html.skin-theme-clientpref-os .mw-parser-output > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-os section .mw-heading ~ div > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-os section > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-os dd > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-os p > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-os .mw-parser-output > figure[typeof^='mw:File']:not(.skin-invert-image) img,html.skin-theme-clientpref-os section .mw-heading ~ div > figure[typeof^='mw:File']:not(.skin-invert-image) img,html.skin-theme-clientpref-os section > figure[typeof^='mw:File']:not(.skin-invert-image) img,html.skin-theme-clientpref-os dd > figure[typeof^='mw:File']:not(.skin-invert-image) img,html.skin-theme-clientpref-os p > figure[typeof^='mw:File']:not(.skin-invert-image) img {
    background-color: var(--background-color-base-fixed,#fff);
    color: var(--color-base-fixed,#202122);
    filter: brightness(0.8)
  }
}
}

Revision as of 15:18, 9 July 2026

/* CSS placed here will be applied to all skins */
.noautonum .tocnumber { display: none; }

.element {
  --background-color-base-fixed: transparent;
}

@media screen and (prefers-color-scheme: dark) {
  html.skin-theme-clientpref-os {
  }

  html.skin-theme-clientpref-os .mw-parser-output > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-os section .mw-heading ~ div > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-os section > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-os dd > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-os p > span.mw-default-size:not(.skin-invert-image) img,html.skin-theme-clientpref-os .mw-parser-output > figure[typeof^='mw:File']:not(.skin-invert-image) img,html.skin-theme-clientpref-os section .mw-heading ~ div > figure[typeof^='mw:File']:not(.skin-invert-image) img,html.skin-theme-clientpref-os section > figure[typeof^='mw:File']:not(.skin-invert-image) img,html.skin-theme-clientpref-os dd > figure[typeof^='mw:File']:not(.skin-invert-image) img,html.skin-theme-clientpref-os p > figure[typeof^='mw:File']:not(.skin-invert-image) img {
    background-color: var(--background-color-base-fixed,#fff);
    color: var(--color-base-fixed,#202122);
    filter: brightness(0.8)
  }
}