Jump to content

MediaWiki:Common.css: Difference between revisions

From IMVGDb
No edit summary
Tag: Manual revert
No edit summary
Line 20: Line 20:
   .infobox-body {
   .infobox-body {
     display: flex;
     display: flex;
     flex-direction: row;
     flex-direction: column;
   }
   }
}
}

Revision as of 23:39, 23 February 2026

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

@media (prefers-color-scheme: dark) {
  :root {
    --right-box-bg: #555;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --right-box-bg: #ddd;
  }
}

.infobox {
  float: right;
  display: inline;
  background: #ddd;

  .infobox-body {
    display: flex;
    flex-direction: column;
  }
}