Jump to content

MediaWiki:Common.css: Difference between revisions

From Joint Security Area
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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 */
/* 1. base text */
.mw-body-content,  
.mw-body-content,  
.mw-parser-output,  
.mw-parser-output,  
.mw-parser-output p {
.mw-parser-output p {
     font-size: 16px !important;
     font-size: 14px !important;
     line-height: 1.6em !important;
     line-height: 1.6em !important;
     font-family: sans-serif !important;
     font-family: sans-serif !important;
}
}


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


h2 {  
h2 {  
     font-size: 1.45em !important;  
     font-size: 1.5em !important; font-weight: normal !important;
     margin-top: 1em !important;
     margin-top: 1em !important;
     margin-bottom: 0.25em !important;
     margin-bottom: 0.25em !important;
}
}


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


 
/* 3. Keep list items and bullet point indices tracking at matching scales */
/* 3. bullet points */
.mw-parser-output ul,  
.mw-parser-output ul,  
.mw-parser-output ol,  
.mw-parser-output ol,  
.mw-parser-output li {
.mw-parser-output li {
     font-size: 16px !important;
     font-size: 14px !important;
     line-height: 1.5em !important;
     line-height: 1.5em !important;
}
}
Line 39: Line 37:
/* 4. infobox */
/* 4. infobox */
.infobox {
.infobox {
     font-size: 13.5px !important;
     font-size: 12.5px !important;
     line-height: 1.4em !important;
     line-height: 1.4em !important;
}
h3 {
    font-size: 1.15em !important;
}
}

Latest revision as of 09:49, 7 November 2026

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

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

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

h2 { 
    font-size: 1.5em !important; font-weight: normal !important;
    margin-top: 1em !important;
    margin-bottom: 0.25em !important;
}

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

/* 3. Keep list items and bullet point indices tracking at matching scales */
.mw-parser-output ul, 
.mw-parser-output ol, 
.mw-parser-output li {
    font-size: 14px !important;
    line-height: 1.5em !important;
}

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


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