chore: modify font

This commit is contained in:
aka 2023-11-04 16:03:44 +08:00
parent 969a5a2a9c
commit 4f1e53d696
4 changed files with 7 additions and 5 deletions

View File

@ -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;

View File

@ -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);

View File

@ -64,6 +64,7 @@
font-size: 1.8rem;
font-weight: 600;
}
}
}
}

View File

@ -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>