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::after {
.portable-infobox .pi-title .mw-h2 {
border-bottom: var(--tan);
border-bottom: 3px solid var(--tan);
}
}



Revision as of 01:43, 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 .pi-title .mw-h2 {
	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;
}