Jump to content

MediaWiki:Common.css: Difference between revisions

From IMVGDb
No edit summary
No edit summary
Line 14: Line 14:


.infobox {
.infobox {
  float: right;
 
   display: inline-block;
   display: inline-block;
   clear:both;
   clear:both;

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

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