Skip to content

Commit d28364c

Browse files
Reduce text size
1 parent fc69155 commit d28364c

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

src/css/custom.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,24 +229,30 @@ table {
229229

230230
.markdown h1,
231231
.markdown h2,
232-
.markdown h3 {
232+
.markdown h3,
233+
.markdown h4 {
233234
letter-spacing: -0.035em;
234235
text-wrap: balance;
235236
}
236237

237238
.markdown h1 {
238239
margin-bottom: 1.1rem;
239-
font-size: 3.5rem;
240-
line-height: 0.94;
240+
font-size: 2.5rem;
241+
line-height: 1.1;
241242
}
242243

243244
.markdown h2 {
244245
margin-top: 2.2rem;
246+
font-size: 1.75rem;
245247
}
246248

247249
.markdown h3 {
248250
color: var(--ifm-color-primary-darkest);
249-
font-size: clamp(1.45rem, 2.6vw, 2rem);
251+
font-size: 1.35rem;
252+
}
253+
254+
.markdown h4 {
255+
font-size: 1.1rem;
250256
}
251257

252258
[data-theme='dark'] .markdown h3 {

0 commit comments

Comments
 (0)