Template:Color/styles.css: Difference between revisions
Jump to navigation
Jump to search
Dat Hack3r (talk | contribs) (Let's see if this works.) |
Dat Hack3r (talk | contribs) (Undo revision 7430 by Dat Hack3r (talk) Nope its not.) Tag: Undo |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.color-box { | .color-box { | ||
display: inline-flex; | |||
border-radius: 4px; | |||
border: 1px solid black; | |||
margin: 0; | |||
padding: 2px; | |||
background: #eee; | |||
} | } | ||
.color-text { | .color-text { | ||
color: black; | |||
background-color: white; | |||
margin: 0; | |||
border-radius: 4px 0 0 4px; | |||
font-family: monospace; | |||
} | } | ||
.color-fill { | .color-fill { | ||
width: 1.75em; | |||
border-radius: 0 4px 4px 0; | |||
margin: 0; | |||
} | } |
Latest revision as of 10:06, 22 November 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;
border-radius: 4px 0 0 4px;
font-family: monospace;
}
.color-fill {
width: 1.75em;
border-radius: 0 4px 4px 0;
margin: 0;
}