mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
chore: modify font
This commit is contained in:
parent
969a5a2a9c
commit
4f1e53d696
@ -54,7 +54,7 @@
|
||||
}
|
||||
|
||||
.article-title {
|
||||
font-family: var(--article-font-family);
|
||||
font-family: "EB Garamond", "Noto Serif SC";
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
color: var(--card-text-color-main);
|
||||
@ -257,7 +257,6 @@
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
z-index: 2;
|
||||
padding: 15px;
|
||||
|
||||
@include respond(sm) {
|
||||
padding: 20px;
|
||||
|
@ -190,10 +190,11 @@
|
||||
height: 80px;
|
||||
|
||||
.article-title {
|
||||
font-family: "EB Garamond", "Noto Serif SC";
|
||||
width: 220px;
|
||||
height: 80px;
|
||||
font-size: 1.8rem;
|
||||
font-weight: 500;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@ -211,7 +212,7 @@
|
||||
font-size: var(--article-font-size);
|
||||
padding: 0 var(--card-padding);
|
||||
line-height: var(--article-line-height);
|
||||
font-weight: 500;
|
||||
font-weight: 400;
|
||||
|
||||
& > p {
|
||||
margin: 1.5em 0;
|
||||
@ -223,6 +224,7 @@
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: "EB Garamond", "Noto Serif SC";
|
||||
margin-inline-start: calc((var(--card-padding)) * -1);
|
||||
padding-inline-start: calc(var(--card-padding) - var(--heading-border-size));
|
||||
border-inline-start: var(--heading-border-size) solid var(--accent-color);
|
||||
|
@ -64,6 +64,7 @@
|
||||
font-size: 1.8rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
--sys-font-family: "EB Garamond";
|
||||
--zh-font-family: "LXGW WenKai Screen R";
|
||||
--base-font-family: "EB Garamond", "LXGW WenKai Screen R";
|
||||
--article-font-family: "EB Garamond", "Noto Serif SC";
|
||||
--article-font-family: "EB Garamond", "LXGW WenKai Screen R";
|
||||
}
|
||||
</style>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user