Skip to content

Notion Chinese Serif Font by foojiayin

Details

Authorfoojiayin

LicenseMIT License

Categorynotion.so

Created

Updated

Size2.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Use Noto Serif for Chinese serif font (Support Traditional and Simplified Chinese)

Notes

Source code

/* ==UserStyle==
@name           8/18/2022, 5:10:26 PM
@namespace      github.com/openstyles/stylus
@version        1.0.1
@description    notion font settings, copied from https://userstyles.world/style/5738/alfon-s-notion-tweak
@author         guest, alfonsusac
@preprocessor   stylus
@var text fontFamilySans "Sans Serif Font" null
@var text fontFamilySerif "Serif Font" null
@var text fontFamilyMono "Mono Font" null
==/UserStyle== */

@-moz-document domain("notion.so")
    @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900')
    @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900')
    div[style*=" serif"]
        font-family Lyon-Text, Georgia, ui-serif, serif, Noto Serif TC, Noto Serif SC !important
            
    if fontFamilySans
        @import url('https://fonts.googleapis.com/css2?family='+fontFamilySans+':ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900')
        div[style*=" sans-serif"]
            font-family fontFamilySans !important
    
    if fontFamilySerif
        @import url('https://fonts.googleapis.com/css2?family='+fontFamilySerif+':ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900')
        div[style*=" serif"]
            font-family fontFamilySerif, Lyon-Text, Georgia, ui-serif, serif, Noto Serif TC, Noto Serif SC !important
            
    if fontFamilyMono
        @import url('https://fonts.googleapis.com/css2?family='+fontFamilyMono+':ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900')
        div[style*=" monospace"]
            font-family fontFamilyMono !important
        span[class*="code-line-numbers"]
            font-family fontFamilyMono !important

Reviews

No reviews yet.