MediaWiki:Common.css

From NPOWiki
Revision as of 09:12, 30 June 2020 by Bobogoobo (talk | contribs) (some basic styles to start with for new templates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.
/* CSS placed here will be applied to all skins */

/* Infoboxes */

.infobox {
	border-collapse: collapse;
	float: right;
	width: 325px;
}

.infobox th,
.infobox td {
	border: 1px solid lightgray;
	text-align: left;
}

.infobox .flags {
	font-weight: bold;
	text-align: center;
}

th.infobox-header {
	font-size: 150%;
	text-align: center;
}

.infobox.cybernations {

}

.infobox.nationstates {

}

/* Template documentation */

.template-doc {
	background-color: #EEE;
	border: 1px solid darkgray;
}

.template-doc > div {
	border: solid darkgray;
	border-width: 1px 0;
}

.doc-subpage {
	background-color: #EEE;
	border: 1px solid darkgray;
	margin: auto;
	padding: 0.5em;
	width: 50%;
}