Jump to content

MediaWiki:Common.css: Difference between revisions

From The Apparatus
No edit summary
No edit summary
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS here affects all skins */
/* CSS here affects all skins */


/* Indent subsection headers */
/* Header styling for clearer separations */


.mw-parser-output h4 {
.mw-heading1, .mw-heading2 {
    margin-left: 20px;
  margin-top: 15px !important;
  padding-left: 15px;
}
}


/* Indent content following the fourth-level headers until the next header */
.mw-heading1 {
  background-color: #777;
  padding-bottom: 10px;
}


.mw-parser-output h4 + * {
.mw-heading2 {
    margin-left: 20px;
  border: 1px solid gray;
  padding-bottom: 5px;
}
}


.mw-parser-output h4 ~ *:not(h1, h2, h3, h4, h5, h6) {
.mw-heading3 {
    margin-left: 20px;
  border-bottom: 1px solid gray;
}
}

Latest revision as of 21:14, 25 December 2025

/* CSS here affects all skins */

/* Header styling for clearer separations */

.mw-heading1, .mw-heading2 {
  margin-top: 15px !important;
  padding-left: 15px;
}

.mw-heading1 {
  background-color: #777;
  padding-bottom: 10px;
}

.mw-heading2 {
  border: 1px solid gray;
  padding-bottom: 5px;
}

.mw-heading3 {
  border-bottom: 1px solid gray;
}