Skip to content

Commit f04fd9c

Browse files
add proper bottom spacing to h1 to prevent divider overlap
Signed-off-by: DARSHAN-R-DARSHAN <darshanramanji07@gmail.com>
1 parent 82ab1ec commit f04fd9c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/css/custom.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1465,13 +1465,16 @@ article.markdown p {
14651465
/* Heading hierarchy - clear visual distinction */
14661466
article.markdown h1 {
14671467
margin-top: 0;
1468-
margin-bottom: 1rem;
14691468
font-size: 2.5rem;
14701469
font-weight: 800;
14711470
letter-spacing: -0.03em;
14721471
line-height: 1.2;
14731472
color: #111827;
14741473
}
1474+
h1 {
1475+
margin-bottom: 1.5rem; /* increased spacing */
1476+
padding-bottom: 0.75rem; /* add space before divider */
1477+
}
14751478

14761479
html[data-theme="dark"] article.markdown h1 {
14771480
color: #f9fafb;

0 commit comments

Comments
 (0)