Jump to content

MediaWiki:Common.css: Difference between revisions

From IMVGDb
No edit summary
No edit summary
Tag: Reverted
Line 17: Line 17:
   display: inline;
   display: inline;
   background: #ddd;
   background: #ddd;
  &::after {
    content: ' ';
  }


   .infobox-body {
   .infobox-body {
Line 22: Line 26:
     flex-direction: row;
     flex-direction: row;
   }
   }
}
}

Revision as of 23:37, 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;

  &::after {
    content: ' ';
  }

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


}