Skip to content

Commit e5218da

Browse files
authored
Update documentation.css (#118)
Added a mini-correction to remove `h2` headers without `h3` looking weird
1 parent e87a9ec commit e5218da

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/app/styles/documentation.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
& :is(:where(h3):has(code)) > code {
2020
@apply text-xl font-semibold !important;
2121
}
22+
23+
& :has(h3) {
24+
& :is(h2:not(:has(+ h3))) {
25+
@apply flex whitespace-pre-wrap text-2xl font-bold mb-4 text-[#10172A] dark:text-[#e2e8f0] !important;
26+
}
27+
}
2228
}
2329

2430
#article-main:not(:has(h3)) {

0 commit comments

Comments
 (0)