Jump to content

MediaWiki:Common.css: Difference between revisions

From Joepedia
No edit summary
No edit summary
Line 22: Line 22:


/* Fix dark mode making light boxes unreadable. */
/* Fix dark mode making light boxes unreadable. */
html.skin-theme-clientpref-night .mw-parser-output [style*="background"] {
html.skin-theme-clientpref-night .mw-parser-output [style*="background"]
html.skin-theme-clientpref-os .mw-parser-output [style*="background"] {
   color: #202122;
   color: #202122;
}
}

Revision as of 15:10, 21 January 2025

/* CSS placed here will be applied to all skins */

/* Citation icons. */
.oo-ui-icon-ref-cite-joe {
  background-image: url(https://wiki.jads.stream/images/0/0c/Joe-icon.png);
}
.oo-ui-icon-ref-cite-joe-2 {
  background-image: url(https://wiki.jads.stream/images/7/7b/Joe-channel-2.png);
}
.oo-ui-icon-ref-cite-jads {
  background-image: url(https://wiki.jads.stream/images/0/05/Discord.svg);
}

/* General helpers. */
.circular img {
  border-radius: 50%;
}
.inline-img img {
  max-width: 2em;
  max-height: 2em;
}

/* Fix dark mode making light boxes unreadable. */
html.skin-theme-clientpref-night .mw-parser-output [style*="background"]
html.skin-theme-clientpref-os .mw-parser-output [style*="background"] {
  color: #202122;
}