Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Font.css: Difference between revisions

MediaWiki interface page
No edit summary
Moved Vector-specific css
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
/* Custom Font */
@font-face {
@font-face {
     font-family: 'PetitPlanet';
     font-family: 'PetitPlanet';
     font-style: normal;
     font-style: normal;
     font-weight: normal;
     font-weight: normal;
     src: url('https://petitplanet.wiki/images/a/af/Petit_Planet_Font_Light.woff2') format('woff');
     src: url('https://petitplanet.wiki/images/a/af/Petit_Planet_Font_Light.woff2') format('woff2');
     font-display: swap;
     font-display: swap;
}
}


h1, h2, h3 , .mw-page-title-main {
/* Base Body Font */
    font-family: 'PetitPlanet' !important;
}
 
body {
body {
font-family: 'Inter', sans-serif;
    font-family: 'Inter', sans-serif;
     font-optical-sizing: auto;
     font-optical-sizing: auto;
}
}


h1, h2, h3 , .mw-page-title-main {
/* Headings & Page Titles */
     font-weight: 500;
h1, h2, h3, .mw-page-title-main, .vector-sticky-header-context-bar-primary {
}
     font-family: 'PetitPlanet', 'Montserrat', sans-serif !important;
 
     font-weight: 500, 700;
h1 {
    font-size: 48px !important;
}
 
.mw-heading1, h1, .mw-heading2, h2 {
     border-color: #212337 !important;
}
}


.vector-page-titlebar {
*[lang|="vi"], *[lang='zh'], *[lang='zh-Hans'], *[lang='yue'], *[lang='zh-Hant'], *[lang='ko'], *[lang='th'], *[lang='ja'], *[lang='ru'] {
    position: inherit !important;
    h1, h2, h3, .mw-page-title-main, .vector-sticky-header-context-bar-primary {
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 900 !important;
    }
}
}


/* Other Languages */
/* Language-specific fallbacks */
*[lang='zh'], *[lang='zh-Hans'], *[lang='yue'] {
*[lang='zh'], *[lang='zh-Hans'], *[lang='yue'] {
     font-family: 'Noto Sans SC', sans-serif !important;
     font-family: 'Noto Sans SC', sans-serif !important;
Line 54: Line 49:


*[lang='ar'], *[lang='fa'] {
*[lang='ar'], *[lang='fa'] {
     font-family: 'El Messiri', sans-serif!important;
     font-family: 'El Messiri', sans-serif !important;
}
}