Jump to content

MediaWiki:Common.css: Difference between revisions

From IMVGDb
No edit summary
No edit summary
Line 18: Line 18:
   clear:both;
   clear:both;
   background: #ddd;
   background: #ddd;
  margin: 0 0 0.5rem 0.5rem;


   .infobox-body {
   .infobox-body {

Revision as of 23:44, 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 {

  display: inline-block;
  clear:both;
  background: #ddd;

  margin: 0 0 0.5rem 0.5rem;

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