MediaWiki:Minerva.less/fonts.less

From Old School Near-Reality Wiki
< MediaWiki:Minerva.less
Revision as of 21:49, 4 October 2022 by Jacmob (talk | contribs) (Created page with "// <pre> →‎================== variables ==================: @system-font-stack: system-ui, -apple-system, Roboto, Helvetica, sans-serif; →‎================== body ==================: // use system font instead of IBM Plex Sans for faster load times body { font-family: @system-font-stack; // default is too small @media all and (max-width: 320px) { font-size: .9em; } } #mw-content-text { line-height: 1.7em...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

//

/* ==================
        variables
   ================== */

@system-font-stack: system-ui, -apple-system, Roboto, Helvetica, sans-serif;

/* ==================
          body
   ================== */

// use system font instead of IBM Plex Sans for faster load times
body {
    font-family: @system-font-stack;
    
    // default is too small
    @media all and (max-width: 320px) {
        font-size: .9em;
    }

}

#mw-content-text {
    line-height: 1.7em;
}

/* ==================
        headers
   ================== */

.pre-content h1, // page title
.content h1,
.content h2 {
    font-weight: bold;
}