/* ==UserStyle== @name:en Global Font: Apple-branded @name 全局苹方 @namespace franciszhao @version 2.4.0 @description:en An user stylesheet to replace all fonts on web pages with Apple-branded fonts, brings you a more unified and beautiful visual style. @description 一款使用苹果品牌字体替换网页原有字体的用户样式表,为你呈现更统一美观的页面风格。 @author Francis Zhao @homepageURL https://n2o.io/go?page=userstyles @supportURL https://n2o.io/go?page=userstyles @license MIT @preprocessor default @downloadURL none ==/UserStyle== */ /* 字体设定 */ html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; } body { font-family: 'PingFang SC', 'Source Han Sans SC', 'HanHei SC', system-ui, ui-sans-serif, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji; } pre, code, kbd, samp { font-family: 'SF Mono', 'PingFang SC', ui-monospace, monospace, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji; } button, input, keygen, optgroup, select, textarea { font-family: inherit; } /* 字体替换 */ /* 特定网站适配 */ @-moz-document domain("423down.com") { .excerpt h2 { height: unset; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } } @-moz-document domain("baidu.com"), regexp("https://www\\.baidu\\.com/(s|#)?.*") { * { font-family: 'PingFang SC', 'Source Han Sans SC', 'HanHei SC', system-ui, ui-sans-serif, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji; } } @-moz-document regexp("https://(\\w+\\.)?bing\\.com/(search)?.*") { * { font-family: 'PingFang SC', 'Source Han Sans SC', 'HanHei SC', system-ui, ui-sans-serif, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji; } } @-moz-document domain("github.com") { .text-mono { font-family: 'SF Mono', 'PingFang SC', ui-monospace, monospace, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji !important; } .blob-num, .blob-code-inner { font-family: 'SF Mono', 'PingFang SC', ui-monospace, monospace, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji; } } @-moz-document regexp("https://www\\.google(\\.\\w+){1,2}/(search)?.*") { * { font-family: 'PingFang SC', 'Source Han Sans SC', 'HanHei SC', system-ui, ui-sans-serif, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji; } } @-moz-document domain("greasyfork.org") { #script_version_code, .ace_editor { font-family: 'SF Mono', 'PingFang SC', ui-monospace, monospace, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji !important; } } @-moz-document domain("ithome.com") { .post_comment { font-family: 'PingFang SC', 'Source Han Sans SC', 'HanHei SC', system-ui, ui-sans-serif, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji; } } @-moz-document domain("jiemian.com") { .article-content { font-family: 'PingFang SC', 'Source Han Sans SC', 'HanHei SC', system-ui, ui-sans-serif, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji !important; } #ad_header_top, .cnzz-ads, .jm-app { display: none !important; } } @-moz-document regexp("https://www\\.so\\.com/s?.*") { * { font-family: 'PingFang SC', 'Source Han Sans SC', 'HanHei SC', system-ui, ui-sans-serif, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji; } } @-moz-document regexp("https://(www\\.)?sogou\\.com/(web|sogou)?.*") { * { font-family: 'PingFang SC', 'Source Han Sans SC', 'HanHei SC', system-ui, ui-sans-serif, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji; } } @-moz-document domain("sspai.com") { h1, h2, h3, h4, h5, h6, .title, .content, p, a { font-family: 'PingFang SC', 'Source Han Sans SC', 'HanHei SC', system-ui, ui-sans-serif, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji !important; } } @-moz-document domain("userstyles.org") { .ad, #top_android_button, .android_button_button, .android_button_banner, .walking { display: none !important; } }