Template:Color/styles.css: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(Trying to center the text.)
(Trying to center the text.)
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:


.color-text {
.color-text {
align-items: center;
color: black;
color: black;
background-color: white;
background-color: white;
border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
display: inline-flex;
font-family: monospace;
font-family: monospace;
margin: 0;
margin: 0;
padding: 0 1px 3px;
padding: 0 1px 0;
}
}



Latest revision as of 11:54, 20 December 2024

.color-box {
	background: #eee;
	border: 1px solid black;
	border-radius: 4px;
	display: inline-flex;
	height: 1em;
	margin: 0;
	padding: 2px;
}

.color-text {
	align-items: center;
	color: black;
	background-color: white;
	border-radius: 4px 0 0 4px;
	display: inline-flex;
	font-family: monospace;
	margin: 0;
	padding: 0 1px 0;
}

.color-fill {
	border-radius: 0 4px 4px 0;
	margin: 0;
	width: 1em;
}