MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
/* Heading styles*/ | /* Heading styles*/ | ||
h2 { | h2 { | ||
overflow: auto; | overflow: auto; | ||
} | } | ||
.mw-body-content h2 { | .mw-body-content h2 { | ||
line-height:1. | line-height:1.85; | ||
} | } | ||
h3 { | h3 { | ||
padding-left: 0.5em; | padding-left: 0.5em; | ||
overflow: auto; | overflow: auto; | ||
| Line 29: | Line 25: | ||
.vector-body h2 { | .vector-body h2 { | ||
padding-left: 0.5em; | padding-left: 0.5em; | ||
} | } | ||
| Line 53: | Line 46: | ||
} | } | ||
h2 { | |||
border-bottom: 5px solid #66D09A; | |||
} | |||
h3 { | |||
border-bottom: 4px solid #D5E6B1; | |||
} | |||
h4 { | h4 { | ||
border-bottom: 3px solid #F8A97A; | border-bottom: 3px solid #F8A97A; | ||
| Line 66: | Line 65: | ||
.vector-body h3, .vector-body h4, .vector-body h5, .vector-body h6 { | .vector-body h3, .vector-body h4, .vector-body h5, .vector-body h6 { | ||
margin-top: | margin-top: 0.3em; | ||
margin-bottom: 0; | margin-bottom: 0; | ||
line-height | line-height: 1.25; | ||
} | } | ||
Revision as of 14:54, 11 January 2023
/*Paragraph style*/
* {
font-family: Tahoma, System sans-serif;
}
/*Body styling*/
html {
font-size: 125%;
}
/* Heading styles*/
h2 {
overflow: auto;
}
.mw-body-content h2 {
line-height:1.85;
}
h3 {
padding-left: 0.5em;
overflow: auto;
}
.vector-body h2 {
padding-left: 0.5em;
}
.vector-body h3 {
margin-top: 5px;
font-weight:normal;
font-size: 1.15em;
padding-bottom: .5em;
}
.vector-body h4 {
margin-top: 1em;
font-weight:normal;
}
h4, h5, h6 {
font-family: System sans-serif;
font-weight: normal;
padding-left: 0.5em;
overflow: auto;
}
h2 {
border-bottom: 5px solid #66D09A;
}
h3 {
border-bottom: 4px solid #D5E6B1;
}
h4 {
border-bottom: 3px solid #F8A97A;
}
h5 {
border-bottom: 2px solid #F8A97A;
}
h6 {
border-bottom: 1px solid #F8A97A;
}
.vector-body h3, .vector-body h4, .vector-body h5, .vector-body h6 {
margin-top: 0.3em;
margin-bottom: 0;
line-height: 1.25;
}
/* Horizontal line style */
hr {
border-top: 1px solid rgb(200,216,228);
}
/*TOC Styling*/
#toc {
float: right;
border-style: solid;
border-color: #75A9D5;
border-width: 1px;
padding: .5em;
margin-left: 2em;
font-size: .75em;
}
.tocnumber {
display: none;
}
#toc ul {
list-style-image: none;
list-style-type: none;
}
#toc ul ul ul {
list-style-image: none;
list-style-type: none;
}
.toclevel-2 {
margin-left:-10px;
}
.toclevel-3 {
margin-left:-10px;
}
.toclevel-3 {
display: none;
}
.toctitle h2 {
visibility: hidden;
}
.toctitle h2:before {
visibility: visible;
color: #000;
content: 'Table of Contents';
background-color: #FFF;
font-weight: bold;
border-bottom: 1px solid #D1E2F1;
}
.vector-body #toc ul {
line-height: 1.10em;
}