Jump to content

MediaWiki:Common.css: Difference between revisions

From Legends of Kern
No edit summary
No edit summary
Line 34: Line 34:
.dnd-statblock .spell-indent {
.dnd-statblock .spell-indent {
     display: flex;
     display: flex;
     margin: 2px 0;
     margin: 2px 0 2px 1.5em;
}
}



Revision as of 20:55, 29 July 2026

/* CSS placed here will be applied to all skins */
.dnd-statblock {
    background-color: #f8f9fa;
    font-family: sans-serif;
    border: 1px solid #a2a9b1;
    padding: 15px;
    max-width: 1080px;
    margin: 1em 0;
}

.dnd-statblock p {
    margin: 0.3em 0;
}

.dnd-statblock h2, .dnd-statblock .fake-h2 {
    color: #000000;
    font-size: 1.5em;
    font-weight: normal;
    margin-top: 1.25em;
    margin-bottom: 5px;
    font-family: Georgia, serif;
}

.dnd-statblock hr {
    border: 1px solid #eaecf0;
    margin: 5px 0;
}

.dnd-statblock .red-text {
    color: #000000;
    font-weight: bold;
}

.dnd-statblock .spell-indent {
    display: flex;
    margin: 2px 0 2px 1.5em;
}

.dnd-statblock .spell-indent b,
.dnd-statblock .spell-indent strong {
    min-width: 10.5em;
    flex-shrink: 0;
}