Skip to content

字体显示优化 by aziz-pang

Details

Authoraziz-pang

LicenseNo License

CategoryChrome

Created

Updated

Size1.8 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

全局替换字体,英文采用Mac自带的Avenir Next,中文采用OPPOSans-R(需另外下载)

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         字体显示优化
@version      20220528.05.15
@namespace    userstyles.world/user/aziz-pang
@description  全局替换字体,英文采用Mac自带的Avenir Next,中文采用OPPOSans-R(需另外下载)
@author       aziz-pang
@license      No License
==/UserStyle== */

body {
    font-family: Avenir Next,OPPOSans-R;
    color: #212137;
    /* -webkit-font-smoothing:antialiased; */
}
.a0, .eq, .vi, .hf, .h1, .h2, .h3, .h4, .h5, .h6, a, abbr, body, cite, dd, dl, dt, h1, h2, h3, h4, h5, h6, iframe, input, li, object, ol, p, pre, span, ul, em, th, td, div,.MBeuO{
    font-family: Avenir Next,OPPOSans-R;
   /*  font-weight:normal ; */
}
.code ,code{
    font-family: Fira Code;
}
/* none */
#content_right,.cr-offset,.bottom_row,.Pc-card.Card {
	display:none;
}

@-moz-document url-prefix("https://www.google.com") {
a:hover  h3.LC20lb {
    text-decoration: none;
    color:#428bca;
}
}
.minidiv .sfbg{
    background: transparent;
    background-image: radial-gradient(transparent 1px,white 1px);
    background-size: 4px 4px;
    backdrop-filter: saturate(50%) blur(4px);
    -webkit-backdrop-filter: saturate(50%) blur(4px);
}
@-moz-document domain("https://www.zhihu.com/") {
.Search-container .ContentItem-title {
    font-size: 18px;
}

H2.ContentItem-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    color: #212137;
    margin-top: -4px;
    margin-bottom: -4px;
}

}

@-moz-document domain("https://www.zcool.com.cn/") {
h1 {
    color: #212137;
    font-size: 2em;
    font-weight: Bold;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

#body {
    color: #212137;
    box-sizing: border-box;
}

.txt-con, .article-content-wraper p {
    color: rgba(33, 33, 55, .6);
}
}

Reviews

No reviews yet.