Typography adjustments

This commit is contained in:
Sodbileg Gansukh
2023-09-01 11:34:30 +08:00
parent 0bc087ef5b
commit 414ce4dcf0
4 changed files with 15 additions and 10 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+12 -7
View File
@@ -1552,9 +1552,9 @@ Search LOGO Login Subscribe
display: none; display: none;
grid-column: 1 / -1; grid-column: 1 / -1;
margin-top: 48px; margin-top: 48px;
font-size: calc(2.4rem * var(--factor, 1)); font-size: calc(1.9rem * var(--factor, 1));
font-weight: 725; font-weight: 725;
letter-spacing: -0.019em; letter-spacing: -0.014em;
} }
.gh-container.has-sidebar .gh-more { .gh-container.has-sidebar .gh-more {
@@ -1572,8 +1572,13 @@ Search LOGO Login Subscribe
} }
.gh-more svg { .gh-more svg {
width: 24px; margin-top: -1px;
height: 24px; width: 18px;
height: 18px;
}
.has-serif-title .gh-more svg {
margin-top: 0;
} }
/* 11.1. With sidebar */ /* 11.1. With sidebar */
@@ -1936,7 +1941,7 @@ created within the Ghost editor. The main content handles
headings, text, images and lists. We deal with cards lower down. */ headings, text, images and lists. We deal with cards lower down. */
.gh-content { .gh-content {
font-size: calc(var(--content-font-size, 1.7rem) * var(--factor, 1)); font-size: var(--content-font-size, 1.7rem);
letter-spacing: -0.01em; letter-spacing: -0.01em;
} }
@@ -1997,7 +2002,7 @@ unless a heading is the very first element in the post content */
.has-serif-body .gh-content .kg-toggle-content > ol, .has-serif-body .gh-content .kg-toggle-content > ol,
.has-serif-body .gh-content .kg-toggle-content > ul, .has-serif-body .gh-content .kg-toggle-content > ul,
.has-serif-body .gh-content .kg-toggle-content > p { .has-serif-body .gh-content .kg-toggle-content > p {
font-family: var(--font-serif); font-family: var(--font-serif-alt);
} }
.gh-content :is(ul, ol) { .gh-content :is(ul, ol) {
@@ -2485,7 +2490,7 @@ figcaption a {
} }
.has-serif-body { .has-serif-body {
--content-font-size: 1.8rem; --content-font-size: 1.9rem;
} }
.has-serif-body .gh-card-excerpt { .has-serif-body .gh-card-excerpt {
+1 -1
View File
@@ -61,7 +61,7 @@
"defaults" "defaults"
], ],
"config": { "config": {
"posts_per_page": 24, "posts_per_page": 16,
"image_sizes": { "image_sizes": {
"xxs": { "xxs": {
"width": 30 "width": 30