Jump to content

MediaWiki:Common.css

From Legends of Kern

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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;
}