MediaWiki:Common.css: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
No edit summary
(fix priority, less conflicted name)
Line 12: Line 12:
float: right;
float: right;
margin-left: 1em;
margin-left: 1em;
text-align: left;
width: 20%;
width: 20%;
}
}
Line 18: Line 19:
.infobox td {
.infobox td {
border: 1px solid lightgray;
border: 1px solid lightgray;
text-align: left;
}
}


Line 30: Line 30:
}
}


/* Needs the extra specificity */
.infobox-header {
th.infobox-header {
font-size: 150%;
font-size: 150%;
text-align: center;
text-align: center;
}
}


tr.center th,
tr.center-row th,
tr.center td {
tr.center-row td {
text-align: center;
text-align: center;
}
}

Revision as of 12:22, 2 July 2020

/* CSS placed here will be applied to all skins */

/* Hide page title on Main Page */
.rootpage-Main_Page #firstHeading {
	display:none;
}

/* Infoboxes */

.infobox {
	border-collapse: collapse;
	float: right;
	margin-left: 1em;
	text-align: left;
	width: 20%;
}

.infobox th,
.infobox td {
	border: 1px solid lightgray;
}

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

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

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

tr.center-row th,
tr.center-row td {
	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%;
}