fix: css style
This commit is contained in:
parent
5aff50b95e
commit
cc0247a06e
@ -40,3 +40,9 @@ site:
|
||||
cdn_image: upyun.png
|
||||
# cdn_link cdn厂商链接地址
|
||||
cdn_link: https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral
|
||||
# deploy 部署配置
|
||||
deploy:
|
||||
# 部署端 upyun git
|
||||
type: upyun
|
||||
# 又拍云配置
|
||||
upyun_auth:
|
@ -11,6 +11,7 @@
|
||||
<link rel="stylesheet" href="/{{.Config.SourceVersion}}/css/prism.css">
|
||||
<link rel="stylesheet" href="/{{.Config.SourceVersion}}/css/indust.css">
|
||||
<link href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/hack-font/3.003/web/hack.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/firacode/6.2.0/fira_code.min.css">
|
||||
<link rel="shortcut icon" href="/{{.Config.SourceVersion}}/images/favicon.ico">
|
||||
<meta name="generator" content="mder 0.0.1">
|
||||
<meta name="keywords" content="{{.Config.Seo.Keywords}}">
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 6.8 KiB |
@ -24,7 +24,7 @@
|
||||
<a class="icon" target="_blank" rel="noopener" href="http://github.com/{{.Config.Person.GithubName}}">
|
||||
<i class="fab fa-github"></i>
|
||||
</a>,
|
||||
<a class="icon" target="_blank" rel="noopener" href="./images/{{.Config.Person.WechatQrcode}}">
|
||||
<a class="icon" target="_blank" rel="noopener" href="./{{.Config.SourceVersion}}/images/{{.Config.Person.WechatQrcode}}">
|
||||
<i class="fa-brands fa-weixin"></i>
|
||||
</a>and
|
||||
<a class="icon" target="_blank" rel="noopener" href="mailto:{{.Config.Person.Email}}">
|
||||
|
@ -49,6 +49,11 @@
|
||||
<time datetime={{.Post.UpdatedAtFormat}} itemprop="dateModified">{{.Post.UpdatedAtFormat}}</time>)
|
||||
</div>
|
||||
|
||||
<div class="article-category">
|
||||
<i class="fas fa-archive"></i>
|
||||
<a class="category-link" href="/category/{{.Post.Category}}.html">{{.Post.Category}}</a>
|
||||
</div>
|
||||
|
||||
<div class="article-tag">
|
||||
<i class="fas fa-tag"></i>
|
||||
{{range .Post.Tags}}
|
||||
|
Loading…
Reference in New Issue
Block a user