Jump to content

MediaWiki:Common.css: Difference between revisions

From Elysium D&D
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 7: Line 7:
     margin: 1em 0 !important;
     margin: 1em 0 !important;
     box-sizing: border-box;
     box-sizing: border-box;
  }
  .infobox th,
  .infobox td {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }
  .infobox th {
    padding-top: 0.5em;
   }
   }
}
}

Revision as of 09:22, 7 August 2026

/* CSS placed here will be applied to all skins */
@media (max-width: 600px) {
  .infobox {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1em 0 !important;
    box-sizing: border-box;
  }
  .infobox th,
  .infobox td {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }
  .infobox th {
    padding-top: 0.5em;
  }
}