fix: css style

This commit is contained in:
2023-01-07 14:54:10 +08:00
parent 5aff50b95e
commit cc0247a06e
7 changed files with 19 additions and 27 deletions

View File

@@ -573,7 +573,7 @@ body {
font-display: swap;
font-weight: 400;
font-size: 14px;
font-family: "Fira Code", 'Noto Sans SC', sans-serif, monospace;
font-family: "Hack", 'LXGW WenKai Screen', sans-serif, monospace;
line-height: 1.725;
text-rendering: geometricPrecision;
flex: 1;
@@ -1674,7 +1674,7 @@ article .content .caption {
font-display: swap;
font-weight: 400;
font-size: 11.200000000000001px;
font-family: "Fira Code", 'Noto Sans SC', sans-serif, monospace;
font-family: "Hack", 'LXGW WenKai Screen', sans-serif, monospace;
line-height: 1.725;
text-rendering: geometricPrecision;
text-align: center;
@@ -1871,7 +1871,7 @@ pre {
border: 1px dotted #666;
border-radius: 4px;
font-size: 13px;
font-family: "Fira Code", 'Noto Sans SC', sans-serif, monospace;
font-family: "Hack", 'LXGW WenKai Screen', sans-serif, monospace;
line-height: 22px;
-webkit-border-radius: 4px;
}
@@ -1895,7 +1895,7 @@ code {
padding: 10px 15px;
border-radius: 4px;
background: #fafafa;
font-family: "Fira Code", 'Noto Sans SC', sans-serif, monospace;
font-family: "Hack", 'LXGW WenKai Screen', sans-serif, monospace;
-webkit-border-radius: 4px;
}

View File

@@ -1,23 +1,3 @@
/* noto-sans-sc-regular */
@font-face {
font-family: 'Noto Sans SC';
font-style: normal;
font-weight: regular;
src: url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.eot');
/* IE9 Compat Modes */
src: local('Noto Sans SC'), local('NotoSans SC-Normal'),
url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.eot?#iefix') format('embedded-opentype'),
/* IE6-IE8 */
url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.woff2') format('woff2'),
/* Super Modern Browsers */
url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.woff') format('woff'),
/* Modern Browsers */
url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.ttf') format('truetype'),
/* Safari, Android, iOS */
url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.svg#NotoSans SC') format('svg');
/* Legacy iOS */
}
body {
font-weight: 400;
font-size: 16px;
@@ -95,7 +75,7 @@ body {
}
.markdown-body {
font-family: Hack,'Noto Sans SC', sans-serif, monospace !important;
font-family: Hack,'LXGW WenKai Screen', sans-serif, monospace !important;
}
body h2,
@@ -112,7 +92,7 @@ body .h2 {
}
pre, pre code {
font-family: Hack, 'Noto Sans SC', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace !important;
font-family: 'Fira Code', Hack, Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace !important;
}
#header #nav,