Jump to content

MediaWiki:Common.css: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 2: Line 2:
.noautonum .tocnumber { display: none; }
.noautonum .tocnumber { display: none; }


/* Edits by ST090726 to improve dark mode */
@media screen {
@media screen {
   html.skin-theme-clientpref-night {
   html.skin-theme-clientpref-night {
Line 11: Line 12:
     filter: brightness(0.8)
     filter: brightness(0.8)
   }
   }
  html.skin-theme-clientpref-night tabs-label {
cursor: pointer;
padding: 1px 6px;
background-color: #ff;
border: 1px solid #AAA;
  }
}
}

Revision as of 15:43, 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)
  }

  html.skin-theme-clientpref-night tabs-label {
	cursor: pointer;
	padding: 1px 6px;
	background-color: #ff;
	border: 1px solid #AAA;
  }

}