|
@@ -36,8 +36,9 @@
|
|
|
|
|
|
/*字体渲染*/
|
|
|
@font-face{
|
|
|
- font-family: 'PT Code';
|
|
|
- src: url('https://raw.githubusercontent.com/liangjingkanji/PTCode/master/font/PTCode-Regular.ttf') format('truetype');
|
|
|
+ font-family: 'JetBrains Mono';
|
|
|
+ src: url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/webfonts/JetBrainsMono-Regular.woff2') format('woff2'),
|
|
|
+ url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/ttf/JetBrainsMono-Regular.ttf') format('truetype');
|
|
|
font-weight: normal;
|
|
|
font-style: normal;
|
|
|
}
|
|
@@ -46,7 +47,7 @@
|
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
|
text-rendering: optimizeLegibility;
|
|
|
text-shadow: #00000020 0px 0px 1px !important;
|
|
|
- font-family: 'PT Code' !important;
|
|
|
+ font-family: 'JetBrains Mono' !important;
|
|
|
}
|
|
|
|
|
|
/*布局*/
|