Template:Color/styles.css: Difference between revisions
Appearance
Dat Hack3r (talk | contribs) m I give up. |
Dat Hack3r (talk | contribs) Trying to center the text. |
||
(26 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; | |||
height: 1em; | |||
margin: 0; | |||
padding: 2px; | |||
} | } | ||
.color-text { | .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 { | .color-fill { | ||
border-radius: 0 4px 4px 0; | |||
margin: 0; | |||
width: 1em; | |||
} | } |