Template:Color/styles.css

From Our World of Text Wiki
< Template:Color
Revision as of 14:54, 19 December 2024 by -lime.owotwiki (talk | contribs) (Removed fixed height of box and width of fill: global font size setting boutta ruin your day lmfao)
.color-box {
	background: #eee;
	border: 1px solid black;
	border-radius: 4px;
	display: inline-flex;
	margin: 0;
	padding: 2px;
}

.color-text {
	color: black;
	background-color: white;
	border-radius: 4px 0 0 4px;
	font-family: 'Courier New', monospace;
	margin: 0;
	padding: 3px;
	line-height: 1;
}

.color-fill {
	border-radius: 0 4px 4px 0;
	margin: 0;
	width: calc(1em + 5px);
}