MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ------------------
--- General Style ---
------------------ */
:root {
  color-scheme: light !important;
}
:root, .skin-invert, .no-theme {
}
/* -----------------
/* -----------------
--- Infoboxes ---
--- Infoboxes ---
Line 4: Line 16:


.infobox {
.infobox {
  background-color: #f8f9fa;
   border: 1px solid #a2a9b1;
   border: 1px solid #a2a9b1;
   color: black;
   color: #000;
   padding: .2em;
   padding: .2em;
   font-size: .9em;
   font-size: .9em;
Line 52: Line 63:
@media (max-width: 640px) {
@media (max-width: 640px) {
   .infobox {
   .infobox {
    width: 100%;
     float: none;
     float: none;
     clear: both;
     clear: both;
    width: 100% !important;
     margin: 0 0 1em 0;
     margin: 0 0 1em 0;
     table-layout: fixed;
     table-layout: fixed;
   }
   }
 
    
   .infobox th.infobox-above,
  .infobox th.infobox-title,
  .infobox th.infobox-header, {
    width: 100% !important;
  }
 
  .infobox th.infobox-label {
    width: 25% !important;
  }
   
   .infobox .nowrap {
   .infobox .nowrap {
     white-space: normal;
     white-space: normal;