518
edits
KimPegasus (talk | contribs) (Add initial ambox styles.) |
KimPegasus (talk | contribs) (Ambox style tweaks.) |
||
Line 7: | Line 7: | ||
display: block; | display: block; | ||
padding: 1em; | padding: 1em; | ||
− | |||
border: 1px solid hsl(0, 0%, 89%); | border: 1px solid hsl(0, 0%, 89%); | ||
background-color: hsl(0, 0%, 100%); | background-color: hsl(0, 0%, 100%); | ||
+ | clear: both; | ||
+ | overflow: hidden; | ||
} | } | ||
Line 91: | Line 92: | ||
} | } | ||
.box.ambox + .box.ambox { margin-top: -1px; } | .box.ambox + .box.ambox { margin-top: -1px; } | ||
+ | .box.ambox .ambox__icon { padding-right: 1em; } | ||
.box.ambox.section { /* Smaller, section-specific variant */ | .box.ambox.section { /* Smaller, section-specific variant */ | ||
max-width: 20em; | max-width: 20em; | ||
Line 97: | Line 99: | ||
font-size: smaller; | font-size: smaller; | ||
} | } | ||
+ | .box.ambox.section .ambox__icon { padding-right: .5em; } |