Template:Color/styles.css: Difference between revisions
Jump to navigation
Jump to search
Dat Hack3r (talk | contribs) (Created CSS.) |
Dat Hack3r (talk | contribs) (Let's see if this works.) |
||
Line 12: | Line 12: | ||
} | } | ||
.color-text { | |||
color: black; | color: black; | ||
background-color: white; | background-color: white; | ||
Line 19: | Line 19: | ||
} | } | ||
.color-fill { | |||
width: 1.75em; | width: 1.75em; | ||
border-radius: 0 4px 4px 0; | border-radius: 0 4px 4px 0; | ||
} | } |
Revision as of 12:25, 21 November 2024
.color-box {
display: inline-flex;
border-radius: 4px;
border: 1px solid black;
margin: 0;
padding: 2px;
background: #eee;
}
.color-box > span {
margin: 0;
}
.color-text {
color: black;
background-color: white;
border-radius: 4px 0 0 4px;
font-family: monospace;
}
.color-fill {
width: 1.75em;
border-radius: 0 4px 4px 0;
}