MediaWiki:Common.css: Difference between revisions

Add fonts for Pokémon-specific characters
mNo edit summary
(Add fonts for Pokémon-specific characters)
Line 282: Line 282:
.mw-special-Recentchanges .mw-changeslist-log-newusers {
.mw-special-Recentchanges .mw-changeslist-log-newusers {
     display: none;
     display: none;
}
/* Override default font used for gender symbols for legibility */
@font-face {
    font-family: bp_gender;
    src:
        local('Segoe UI Symbol'),    /* Windows, overriding Arial */
        local('Helvetica'),          /* Mac/iOS */
        local('Noto Emoji Regular'); /* Android */
    unicode-range: U+2640, U+2642;
}
/* Fonts for Pokémon-specific characters */
@font-face {
    font-family: PGLDings;
    src:
        url("/w/fonts/PGLDings.woff2") format("woff2"),
        url("/w/fonts/PGLDings.woff") format("woff"),
        url("/w/fonts/PGLDings.ttf") format("ttf");
}
@font-face {
    font-family: ori_font;
    src:
        url("/w/fonts/ori_font.woff2") format("woff2"),
        url("/w/fonts/ori_font.woff") format("woff"),
        url("/w/fonts/ori_font.ttf") format("ttf");
}
@font-face {
    font-family: PDollar;
    src:
        url("/w/fonts/ori_font.woff2") format("woff2"),
        url("/w/fonts/ori_font.woff") format("woff"),
        url("/w/fonts/ori_font.ttf") format("ttf");
    unicode-range: U+0024, U+E300; /* Pokémon Dollar sign only */
}
.font-dings {
    font-family: PGLDings, bp_gender, sans-serif;
}
.font-ori {
    font-family: ori_font, bp_gender, sans-serif;
}
.pdollar {
    font-family: PDollar, bp_gender, sans-serif;
}
}