Jump to content

Template:Color/styles.css: Difference between revisions

Dat Hack3r (talk | contribs)
m Used tabs instead of spaces, maybe that's the issue?
Dat Hack3r (talk | contribs)
Trying to center the text.
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
.color-box {
.color-box {
background: #eee;
border: 1px solid black;
border-radius: 4px;
display: inline-flex;
display: inline-flex;
border-radius: 4px;
height: 1em;
border: 1px solid black;
margin: 0;
margin: 0;
padding: 2px;
padding: 2px;
background: #eee;
}
}


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


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