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 .pi-title .mw-h2 {
.mw-body .mw-parser-output h1::after, .mw-body .mw-parser-output h2::after {
border-bottom: 3px solid var(--tan);
border-bottom: 3px solid var(--tan);
}
}

Revision as of 01:44, 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;
}

.mw-body .mw-parser-output h1::after, .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;
}