Skip to content

Commit 23d6224

Browse files
Merge branch 'main' into fix/mobile-performance-core-web-vitals
2 parents 7b434ce + 92489f7 commit 23d6224

35 files changed

Lines changed: 2080 additions & 13 deletions

src/css/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,11 +1465,11 @@ article.markdown p {
14651465
/* Heading hierarchy - clear visual distinction */
14661466
article.markdown h1 {
14671467
margin-top: 0;
1468-
margin-bottom: 1rem;
1468+
margin-bottom: 0.9rem;
14691469
font-size: 2.5rem;
14701470
font-weight: 800;
14711471
letter-spacing: -0.03em;
1472-
line-height: 1.2;
1472+
line-height: 1.4;
14731473
color: #111827;
14741474
}
14751475

src/theme/Heading/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ the browser does not scroll that anchor behind the navbar
44
See https://twitter.com/JoshWComeau/status/1332015868725891076
55
*/
66
.anchorWithStickyNavbar {
7-
scroll-margin-top: calc(var(--ifm-navbar-height) + 0.5rem);
7+
scroll-margin-top: calc(var(--ifm-navbar-height) + 0.2rem);
88
}
99

1010
.anchorWithHideOnScrollNavbar {

static/img/custom-function.png

88.6 KB
Loading

static/img/global-functions.png

83.5 KB
Loading

static/img/global-vars.png

158 KB
Loading

static/img/multi-assertion.png

75.1 KB
Loading

static/img/schema-assertion.png

114 KB
Loading

static/img/var-extraction.png

66.3 KB
Loading

static/img/var-injection.png

93.4 KB
Loading

tailwind.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module.exports = {
2828
color: "var(--ifm-color)",
2929
h1: {
3030
color: "var(--ifm-color)",
31+
lineHeight: "1.5",
3132
},
3233
h2: {
3334
color: "var(--ifm-color)",
@@ -98,6 +99,13 @@ module.exports = {
9899
},
99100
},
100101
},
102+
lg: {
103+
css: {
104+
h1: {
105+
lineHeight: "1.2",
106+
},
107+
},
108+
},
101109
},
102110
transitionDelay: {
103111
3000: "3000ms",

0 commit comments

Comments
 (0)