MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→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: 800px; margin: 1em 0; } .dnd-statblock h2 { color: #000000; font-size: 1.5em; border-bottom: 1px solid #a2a9b1; margin-top: 0; margin-bottom: 5px; } .dnd-statblock hr { border: 1px solid #eaecf0; margin: 5px 0; } .dnd-statblock .red-text { col..." |
No edit summary |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
padding: 15px; | padding: 15px; | ||
max-width: | max-width: 1080px; | ||
margin: 1em 0; | margin: 1em 0; | ||
} | } | ||
.dnd-statblock h2 { | .dnd-statblock p { | ||
margin: 0.3em 0; | |||
} | |||
.dnd-statblock h2, .dnd-statblock .fake-h2 { | |||
color: #000000; | color: #000000; | ||
font-size: 1.5em; | font-size: 1.5em; | ||
font-weight: normal; | |||
margin-top: | margin-top: 1.25em; | ||
margin-bottom: 5px; | margin-bottom: 5px; | ||
font-family: Georgia, serif; | |||
} | } | ||
| Line 25: | Line 30: | ||
color: #000000; | color: #000000; | ||
font-weight: bold; | 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; | |||
} | } | ||
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;
}