User:76561199218134152/common.css: Difference between revisions

From Workers & Resources: Soviet Republic Official Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 16: Line 16:
font-weight: 700;
font-weight: 700;
background-clip: content-box;
background-clip: content-box;
border: 3px solid var(--tan);
padding: 0.25em;
}
}



Revision as of 02:37, 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;
	background-clip: content-box;
	padding: 0.25em;
}

.pi-title::after {
	border-bottom: 3px solid var(--tan) !important;
}

.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;
}