MediaWiki:Common.css

From PirateCraft
Revision as of 15:26, 2 March 2023 by GodsDead (talk | contribs)

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.
html {
 background: #f6f6f6;
}

body, body #mw-page-base {
  background: url('/images/piratecraft_wiki-background_Light-o.jpg');
  background-repeat: no-repeat;
}


/* Infobox templates */
.infobox {
 border: 1px solid #a2a9b1;
 background: #f8f9fa;
 color: black;
 margin-bottom: 0.5em;
 /* @noflip */
 margin-left: 1em;
 padding: 0.2em;
 /* @noflip */
 float: right;
 /* @noflip */
 clear: right;
}
.infobox td,
.infobox th {
 vertical-align: middle;
}
.infobox caption {
 font-size: larger;
 margin-left: inherit;
}
.infobox.bordered {
 border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
 border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
 border: 0 solid #a2a9b1;
}
.infobox.sisterproject {
 width: 20em;
 font-size: 90%;
}

/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
    font-size: 100%;
}