MediaWiki:Minerva.css: Difference between revisions

From The Reed and Rite
mNo edit summary
Tag: Manual revert
mNo edit summary
Line 11: Line 11:
   top: 0 !important;
   top: 0 !important;
   position: relative;
   position: relative;
}
/* Light mode (default) */
.infobox {
  background-color: #f8f9fa; /* Light background */
  color: #000;              /* Dark text */
}
/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
  .infobox {
    background-color: #1e1e1e; /* Dark background */
    color: #f8f9fa;            /* Light text */
  }
}
}

Revision as of 04:04, 26 May 2025

/* All CSS here will be loaded for users of the MinervaNeue skin */

/* Mobile override for infobox */
.infobox-float {
  float: none !important;
  clear: both !important;
  margin: 1em auto !important;
  display: block !important;
  width: auto !important;
  max-width: 90% !important;
  top: 0 !important;
  position: relative;
}

/* Light mode (default) */
.infobox {
  background-color: #f8f9fa; /* Light background */
  color: #000;               /* Dark text */
}

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
  .infobox {
    background-color: #1e1e1e; /* Dark background */
    color: #f8f9fa;            /* Light text */
  }
}