Template:Color/styles.css: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(Undo revision 7430 by Dat Hack3r (talk) Nope its not.)
Tag: Undo
m (Now it looks slightly better.)
Line 12: Line 12:
background-color: white;
background-color: white;
margin: 0;
margin: 0;
padding: 0 1px 0 1px;
border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
font-family: monospace;
font-family: monospace;
Line 17: Line 18:


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

Revision as of 11:44, 17 December 2024

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

.color-text {
	color: black;
	background-color: white;
	margin: 0;
	padding: 0 1px 0 1px;
	border-radius: 4px 0 0 4px;
	font-family: monospace;
}

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