Template:Color/styles.css: Difference between revisions
Jump to navigation
Jump to search
Dat Hack3r (talk | contribs) m (Undo revision 8029 by Dat Hack3r (talk) This is unnecessary.) Tag: Undo |
Dat Hack3r (talk | contribs) (I think I found the solution.) |
||
Line 3: | Line 3: | ||
border: 1px solid black; | border: 1px solid black; | ||
border-radius: 4px; | border-radius: 4px; | ||
box-sizing: border-box; | |||
display: inline-flex; | display: inline-flex; | ||
margin: 0; | margin: 0; |
Revision as of 12:37, 17 December 2024
.color-box {
background: #eee;
border: 1px solid black;
border-radius: 4px;
box-sizing: border-box;
display: inline-flex;
margin: 0;
padding: 2px;
}
.color-text {
color: black;
background-color: white;
border-radius: 4px 0 0 4px;
font-family: monospace;
margin: 0;
padding: 0 1px 0 1px;
}
.color-fill {
border-radius: 0 4px 4px 0;
margin: 0;
width: calc(1em + 4px);
}