MediaWiki:Common.css: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
No edit summary
(forgot flag spacing)
Line 18: Line 18:
font-weight: bold;
font-weight: bold;
text-align: center;
text-align: center;
}
.infobox .flags > div:not(:first-child) {
margin-top: 1em;
}
}



Revision as of 06:29, 2 July 2020

/* 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;
}

.infobox .flags > div:not(:first-child) {
	margin-top: 1em;
}

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

.infobox.cybernations {

}

.infobox.nationstates {

}

/* Template documentation */

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

.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%;
}