MediaWiki:Common.css

From Videogame Interface Wiki
Revision as of 20:53, 23 February 2023 by Rjt (talk | contribs) (Horizontal infobox testing)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
div#infobox {
  display:grid;
  grid-gap:1em;
  grid-template-columns:repeat(4,1fr);
}

div.infobox-section {
  
}

div#infobox .infobox-section {
  border:grey 1px dashed;
}

div#infobox img {
  width:100%;
  height:auto;
}

div#infobox table th,
div#infobox table td {
  border:1px solid lightgrey;
  padding:1em;
  vertical-align:top;
}

div#infobox table th {
  text-align:right;
}

.mw-htmlform-field-HTMLInfoField.mw-ui-vform-field > label {
 background:yellow;
 display:block;
 margin-bottom:1em
}