Skip to content

Commit 7154fe0

Browse files
committed
style: adjust heading sizes and fix breadcrumb icon display in docs theme
1 parent 5f78f23 commit 7154fe0

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/css/custom.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@
207207
.breadcrumbs__item--active {
208208
@apply text-sm font-medium text-muted-foreground hover:text-foreground;
209209
}
210+
[class^="breadcrumbHomeIcon_node_modules-@docusaurus-theme-classic-lib-theme-DocBreadcrumbs-Items-Home-styles-module"] {
211+
display: inline-block !important;
212+
}
210213

211214
.table-of-contents {
212215
@apply bg-card/60 backdrop-blur-sm border border-border/70 rounded-2xl px-4 py-4 text-sm shadow-sm;
@@ -245,6 +248,30 @@
245248
}
246249
}
247250

251+
.theme-doc-markdown h1 {
252+
@apply text-5xl;
253+
}
254+
255+
.theme-doc-markdown h2 {
256+
@apply text-3xl;
257+
}
258+
259+
.theme-doc-markdown h3 {
260+
@apply text-2xl;
261+
}
262+
263+
.theme-doc-markdown h4 {
264+
@apply text-xl;
265+
}
266+
267+
.theme-doc-markdown h5 {
268+
@apply text-base;
269+
}
270+
271+
.theme-doc-markdown h6 {
272+
@apply text-sm;
273+
}
274+
248275

249276
.tabs-container > div {
250277
/* rounded bottom corners */

0 commit comments

Comments
 (0)