Jump to content

MediaWiki:Common.css: Difference between revisions

From Joint Security Area
Tag: Replaced
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* 1. base font */
.mw-body-content,
.mw-parser-output,
.mw-parser-output p {
    font-size: 16px !important;
    line-height: 1.6em !important;
    font-family: sans-serif !important;
}
/* 2. headings */
h1.firstHeading {
    font-size: 1.8em !important;
    margin-bottom: 0.25em !important;
    padding-bottom: 0 !important;
}
h2 {
    font-size: 1.45em !important;
    border-bottom: 1px solid #a2a9b1 !important;
    margin-top: 1em !important;
    margin-bottom: 0.25em !important;
}
h3 {
    font-size: 1.2em !important;
}
/* 3. bullet points */
.mw-parser-output ul,
.mw-parser-output ol,
.mw-parser-output li {
    font-size: 16px !important;
    line-height: 1.5em !important;
}
/* 4. infobox */
.infobox {
    font-size: 13.5px !important;
    line-height: 1.4em !important;
}

Revision as of 09:42, 7 November 2026

/* CSS placed here will be applied to all skins */

/* 1. base font */
.mw-body-content, 
.mw-parser-output, 
.mw-parser-output p {
    font-size: 16px !important;
    line-height: 1.6em !important;
    font-family: sans-serif !important;
}

/* 2. headings */
h1.firstHeading { 
    font-size: 1.8em !important; 
    margin-bottom: 0.25em !important;
    padding-bottom: 0 !important;
}

h2 { 
    font-size: 1.45em !important; 
    border-bottom: 1px solid #a2a9b1 !important; 
    margin-top: 1em !important;
    margin-bottom: 0.25em !important;
}

h3 { 
    font-size: 1.2em !important; 
}

/* 3. bullet points */
.mw-parser-output ul, 
.mw-parser-output ol, 
.mw-parser-output li {
    font-size: 16px !important;
    line-height: 1.5em !important;
}

/* 4. infobox */
.infobox {
    font-size: 13.5px !important;
    line-height: 1.4em !important;
}