SXL 自己的 字体设置
SXL'sOwnFontconfig by songxingling1
Details
Authorsongxingling1
LicenseMIT
Categorymyownfont
Created
Updated
Code size1.2 kB
Code checksumfaaf695d
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Font
@namespace github.com/openstyles/stylus
@version 2.0.2
@description Font
@author sxl
@preprocessor less
==/UserStyle== */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+SC:wght@100..900&display=swap');
@-moz-document regexp('^https?://.*?\.?(?<!fonts)google\.com(/.*)?|https?://doodles\.google.*$') {
* {
font-family: 'Inter', 'Noto Sans SC';
}
}
@-moz-document regexp('^https?://.*?\.?github\.com(/.*)?$') {
*:not(textarea,[class^="Box-sc-"] *,pre *,pre) {
font-family: 'Inter', 'Noto Sans SC';
}
}
@-moz-document regexp('^https?://.*?\.?bing\.com(/.*)?$') {
* {
font-family: 'Inter', 'Noto Sans SC';
}
}
@-moz-document regexp('^https?://.*?\.?zhihu\.com(/.*)?$') {
*:not(pre,pre *) {
font-family: 'Inter', 'Noto Sans SC';
}
}
@-moz-document regexp('^https?://.*?\.?atcoder\.jp(/.*)?$') {
*:not(pre,pre *,.monaco-editor,.monaco-editor *,code,code *,.katex,.katex *) {
font-family: 'Inter', 'Noto Sans SC';
}
.glyphicon {
font-family: 'Glyphicons Halflings';
}
}