Template:Color/styles.css: Difference between revisions
Appearance
Dat Hack3r (talk | contribs) m This will (probably) look better. |
Dat Hack3r (talk | contribs) Testing to see if this will fix line height issues. |
||
| Line 1: | Line 1: | ||
.color-box { | .color-box { | ||
background: #eee; | |||
border: 1px solid black; | |||
border-radius: 4px; | |||
display: inline-flex; | display: inline-flex; | ||
height: calc(100% - 12px); | |||
margin: 0; | margin: 0; | ||
padding: 2px; | padding: 2px; | ||
} | } | ||
| Line 11: | Line 12: | ||
color: black; | color: black; | ||
background-color: white; | background-color: white; | ||
border-radius: 4px 0 0 4px; | |||
font-family: monospace; | |||
margin: 0; | margin: 0; | ||
padding: 0 1px 0 1px; | padding: 0 1px 0 1px; | ||
} | } | ||
.color-fill { | .color-fill { | ||
border-radius: 0 4px 4px 0; | border-radius: 0 4px 4px 0; | ||
margin: 0; | margin: 0; | ||
width: calc(1em + 4px); | |||
} | } | ||