Skip to content

Commit 0f74f42

Browse files
Fixed post content typography issue
1 parent 1b3d1a6 commit 0f74f42

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

assets/built/screen.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/built/screen.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/screen.css

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1889,12 +1889,12 @@ unless a heading is the very first element in the post content */
18891889

18901890
/* Now the content typography styles */
18911891
.gh-content h2 {
1892-
font-size: calc(1.6em * var(--font-multiplier, 1));
1892+
font-size: calc(1.6em * var(--factor, 1));
18931893
letter-spacing: -0.02em;
18941894
}
18951895

18961896
.gh-content h3 {
1897-
font-size: calc(1.3em * var(--font-multiplier, 1));
1897+
font-size: calc(1.3em * var(--factor, 1));
18981898
letter-spacing: -0.017em;
18991899
}
19001900

@@ -1908,15 +1908,15 @@ unless a heading is the very first element in the post content */
19081908
font-size: 0.95em;
19091909
}
19101910

1911-
.is-font-serif .gh-content > blockquote,
1912-
.is-font-serif .gh-content > ol,
1913-
.is-font-serif .gh-content > ul,
1914-
.is-font-serif .gh-content > dl,
1915-
.is-font-serif .gh-content > p,
1916-
.is-font-serif .gh-content .kg-callout-text,
1917-
.is-font-serif .gh-content .kg-toggle-content > ol,
1918-
.is-font-serif .gh-content .kg-toggle-content > ul,
1919-
.is-font-serif .gh-content .kg-toggle-content > p {
1911+
.has-serif-body .gh-content > blockquote,
1912+
.has-serif-body .gh-content > ol,
1913+
.has-serif-body .gh-content > ul,
1914+
.has-serif-body .gh-content > dl,
1915+
.has-serif-body .gh-content > p,
1916+
.has-serif-body .gh-content .kg-callout-text,
1917+
.has-serif-body .gh-content .kg-toggle-content > ol,
1918+
.has-serif-body .gh-content .kg-toggle-content > ul,
1919+
.has-serif-body .gh-content .kg-toggle-content > p {
19201920
font-family: var(--font-serif);
19211921
}
19221922

@@ -2329,16 +2329,16 @@ figcaption a {
23292329
--factor: 1.1;
23302330
}
23312331

2332-
.has-sans-title .is-title {
2332+
.has-sans-title :is(.is-title, .gh-content :is(h2, h3)) {
23332333
font-family: var(--font-sans);
23342334
}
23352335

2336-
.has-serif-title .is-title {
2336+
.has-serif-title :is(.is-title, .gh-content :is(h2, h3)) {
23372337
font-family: var(--font-serif);
23382338
font-weight: 550;
23392339
}
23402340

2341-
.has-slab-title .is-title {
2341+
.has-slab-title :is(.is-title, .gh-content :is(h2, h3)) {
23422342
font-family: var(--font-slab);
23432343
font-weight: 650;
23442344
}

0 commit comments

Comments
 (0)