Skip to content

Commit 687a96e

Browse files
committed
chore: change font sie
1 parent 812374c commit 687a96e

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

docs/extra.css

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,53 @@ pre code {
7171
.md-typeset strong {
7272
color: #2e3b4e;
7373
}
74+
75+
/* ===== Custom Font & Size Adjustments ===== */
76+
77+
/* Base text */
78+
.md-typeset {
79+
font-size: 0.875rem; /* ~14px */
80+
line-height: 1.6;
81+
font-weight: 400;
82+
}
83+
84+
/* Headings */
85+
.md-typeset h1 {
86+
font-size: 1.6rem; /* ~25px */
87+
font-weight: 600;
88+
}
89+
.md-typeset h2 {
90+
font-size: 1.25rem; /* ~20px */
91+
font-weight: 600;
92+
}
93+
.md-typeset h3 {
94+
font-size: 1.1rem; /* ~18px */
95+
font-weight: 500;
96+
}
97+
.md-typeset h4 {
98+
font-size: 1rem; /* ~16px */
99+
font-weight: 500;
100+
}
101+
102+
/* Code blocks */
103+
.md-typeset code,
104+
.md-typeset pre code {
105+
font-size: 0.8rem; /* ~13px */
106+
font-family: "JetBrains Mono", monospace;
107+
}
108+
109+
/* Sidebar */
110+
.md-nav {
111+
font-size: 0.85rem;
112+
}
113+
114+
/* Table of Contents */
115+
.md-nav__title,
116+
.md-nav__item {
117+
font-size: 0.85rem;
118+
}
119+
120+
/* Reduce padding between sections slightly */
121+
.md-content {
122+
padding: 1rem 2rem;
123+
}

0 commit comments

Comments
 (0)