MediaWiki:Common.css
Appearance
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 here affects all skins */
/* Indent subsection headers */
.mw-parser-output h4 {
margin-left: 20px;
}
/* Indent content following the fourth-level headers until the next header */
.mw-parser-output h4 + * {
margin-left: 20px;
}
.mw-parser-output h4 ~ *:not(h1, h2, h3, h4, h5, h6) {
margin-left: 20px;
}
/* Reset the margin when going to a less indented section */
.mw-parser-output h4 ~ h1,
.mw-parser-output h4 ~ h2,
.mw-parser-output h4 ~ h3,
.mw-parser-output h4 ~ h4 {
margin-left: 0px;
}