Template:Mbox/styles.css: Difference between revisions
Template page
More actions
Created page with "→Based on https://starcitizen.tools/Module:Mbox/styles.css: .mbox { position: relative; display: flex; flex-direction: column; margin-block: var(--space-md); background-color: var(--color-surface-1); border: var(--border-base); border-radius: var(--border-radius-medium); font-size: var(--font-size-small); line-height: var(--line-height-xx-small); } .mbox.mbox-high { background-color: var(--background-color-destructive-subtle); } .mbox.mbox-med { backgro..." |
No edit summary |
||
| Line 41: | Line 41: | ||
.mbox-text { | .mbox-text { | ||
border-top: var(--border-base); | |||
border- | |||
} | } | ||
Revision as of 15:10, 30 October 2025
/* Based on https://starcitizen.tools/Module:Mbox/styles.css */
.mbox {
position: relative;
display: flex;
flex-direction: column;
margin-block: var(--space-md);
background-color: var(--color-surface-1);
border: var(--border-base);
border-radius: var(--border-radius-medium);
font-size: var(--font-size-small);
line-height: var(--line-height-xx-small);
}
.mbox.mbox-high {
background-color: var(--background-color-destructive-subtle);
}
.mbox.mbox-med {
background-color: var(--background-color-warning-subtle);
}
.mbox-title,
.mbox-text {
padding: var(--space-sm) var(--space-md);
}
.mbox-title {
display: flex;
align-items: center;
}
.mbox-icon img {
display: block;
width: var(--font-size-small);
height: auto;
margin-right: var(--space-xs);
opacity: var(--opacity-icon-base);
filter: var(--filter-invert);
}
.mbox-text {
border-top: var(--border-base);
}