Template:Cargo.css: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
(Created page with "→‎* Workaround until Mobile.css works. Load this into necessary templates via TemplateStyles *: →‎* CARGO TABLES *: .cargoTable td ul, .cargoTable td ol, .cargoTable td dl...")
 
(MusikAnimal changed the content model of the page Template:Cargo.css from "wikitext" to "Sanitized CSS")
 
(No difference)

Latest revision as of 18:02, 6 October 2021

/** Workaround until Mobile.css works. Load this into necessary templates via TemplateStyles **/

/** CARGO TABLES **/
.cargoTable td ul,
.cargoTable td ol,
.cargoTable td dl {
	/* @noflip */
	text-align: left;
}
.cargoTable.hlist td ul,
.cargoTable.hlist td ol,
.cargoTable.hlist td dl {
	text-align: inherit;
}
.cargoTable {
	background-color: #f8f9fa;
	color: #222;
	margin: 1em 0;
	border-collapse: collapse;
}
.cargoTable > tr > th,
.cargoTable > * > tr > th {
	background-color: #eaecf0;
	text-align: center;
}
.cargoTable > tr > th,
.cargoTable > tr > td,
.cargoTable > * > tr > th,
.cargoTable > * > tr > td {
	border: 1px solid #a2a9b1;
	padding: 0.2em 0.4em;
}
table.cargoTable.noMerge tr {
	background: inherit !important;
}
/** Prevent word wrapping of dates **/
.cargoTable .field_First_date,
.cargoTable .field_Last_date {
	white-space: nowrap;
}