Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 336: Line 336:
   background-color: transparent !important;
   background-color: transparent !important;
   color: inherit !important;
   color: inherit !important;
}
/* --- Remove lingering box shadows and inverted color effects --- */
/* Applies to both themes */
.color-inverted,
.color-inverted-fixed,
.box-shadow-color-inverted {
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
}
/* Ensure that in dark mode, no bright shadows sneak in */
html.skin-theme-clientpref-night .color-inverted,
html.skin-theme-clientpref-night .color-inverted-fixed,
html.skin-theme-clientpref-night .box-shadow-color-inverted {
  background-color: #101418 !important;
  box-shadow: none !important;
}
/* Ensure that in light mode, shadows blend cleanly with cream background */
html.skin-theme-clientpref-day .color-inverted,
html.skin-theme-clientpref-day .color-inverted-fixed,
html.skin-theme-clientpref-day .box-shadow-color-inverted {
  background-color: #f8f8f2 !important;
  box-shadow: none !important;
}
}