User:76561199218134152/common.css: Difference between revisions

From Workers & Resources: Soviet Republic Official Wiki
No edit summary
No edit summary
Line 17: Line 17:
}
}


.portable-infobox .mw-parser-output h1::after, .portable-infobox .mw-parser-output h2::after {
.portable-infobox .mw-body .mw-parser-output h1::after, .portable-infobox .mw-body .mw-parser-output h2::after {
border-bottom: 3px solid var(--tan);
border-bottom: 3px solid var(--tan);
}
}

Revision as of 01:46, 10 October 2024

/* infobox styling */
:root {
	--dark-red: #72070a;
	--tan: #c49645;
}

.portable-infobox {
	border: 1px solid var(--dark-red);
	background-color: transparent;
}

.portable-infobox .pi-title {
	font-size: 1.375rem;
	border-bottom: 0;
	line-height: 2;
	font-weight: 700;
}

.portable-infobox .mw-body .mw-parser-output h1::after, .portable-infobox .mw-body .mw-parser-output h2::after {
	border-bottom: 3px solid var(--tan);
}

.portable-infobox .pi-title, 
.portable-infobox .pi-secondary-background {
	background-color: var(--dark-red);
	color: white;
	text-align: center;
}

.portable-infobox .pi-secondary-background {
	font-size: 1rem;
}