Jump to content

MediaWiki:Common.css: Difference between revisions

From Legends of Kern
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 33: Line 33:


.dnd-statblock .spell-indent {
.dnd-statblock .spell-indent {
     padding-left: 3.5em;
     display: flex;
     text-indent: -1.5em;
    margin: 2px 0 2px 1.5em;
     margin: 2px 0;
}
 
.dnd-statblock .spell-indent b,
.dnd-statblock .spell-indent strong {
    min-width: 10.5em;
     flex-shrink: 0;
}
 
@media screen and (max-width: 768px) {
    .dnd-statblock .spell-indent {
        flex-direction: column;
        margin-left: 0;
    }
   
    .dnd-statblock .spell-indent b,
    .dnd-statblock .spell-indent strong {
        min-width: auto;
    }
}
 
.dnd-statblock .fake-h2 {
    clear: both;
}
 
.dnd-statblock ul {
     margin-bottom: 0.5em;
}
}

Latest revision as of 22:44, 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;
}

@media screen and (max-width: 768px) {
    .dnd-statblock .spell-indent {
        flex-direction: column;
        margin-left: 0;
    }
    
    .dnd-statblock .spell-indent b,
    .dnd-statblock .spell-indent strong {
        min-width: auto;
    }
}

.dnd-statblock .fake-h2 {
    clear: both;
}

.dnd-statblock ul {
    margin-bottom: 0.5em;
}