Template:Color/styles.css: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(Let's see if this works.)
m (I give up.)
Line 6: Line 6:
     padding: 2px;
     padding: 2px;
     background: #eee;
     background: #eee;
}
.color-box > span {
    margin: 0;
}
}


Line 17: Line 13:
     border-radius: 4px 0 0 4px;
     border-radius: 4px 0 0 4px;
     font-family: monospace;
     font-family: monospace;
    margin: 0;
}
}


Line 22: Line 19:
     width: 1.75em;
     width: 1.75em;
     border-radius: 0 4px 4px 0;
     border-radius: 0 4px 4px 0;
    margin: 0;
}
}

Revision as of 12:34, 21 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;
    border-radius: 4px 0 0 4px;
    font-family: monospace;
    margin: 0;
}

.color-fill {
    width: 1.75em;
    border-radius: 0 4px 4px 0;
    margin: 0;
}