Template:Color/styles.css: Difference between revisions
Jump to navigation
Jump to search
Dat Hack3r (talk | contribs) (Undo revision 8066 by -lime.owotwiki (talk) It was fine as it was; now it's too big.) Tag: Manual revert |
Dat Hack3r (talk | contribs) (Trying to center the text.) |
||
Line 15: | Line 15: | ||
font-family: monospace; | font-family: monospace; | ||
margin: 0; | margin: 0; | ||
padding: 0 1px | padding: 0 1px 3px; | ||
} | } | ||
Revision as of 11:49, 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 {
color: black;
background-color: white;
border-radius: 4px 0 0 4px;
font-family: monospace;
margin: 0;
padding: 0 1px 3px;
}
.color-fill {
border-radius: 0 4px 4px 0;
margin: 0;
width: 1em;
}