Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Commit c607cf1

Browse files
committed
Fix blog title positioning on home page
- Reduce top padding for better alignment - Adjust margins and line-height for monospace font - Clean up spacing to position title properly at top
1 parent af536b8 commit c607cf1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

_layouts/home.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{% include lang.html %}
77

88
<!-- Home Page Header -->
9-
<div class="home-header text-center mb-5">
9+
<div class="home-header text-center mb-4">
1010
<h1 class="home-title">𝙸𝚋𝚛𝚊𝚑𝚎𝚎𝚖's Blog</h1>
1111
</div>
1212

@@ -127,12 +127,15 @@ <h1 class="card-title my-2 mt-md-0">{{ post.title }}</h1>
127127

128128
<style>
129129
.home-header {
130-
padding: 2rem 0 1rem 0;
130+
padding: 0.5rem 0 1rem 0;
131+
margin-top: 0;
131132
}
132133
.home-title {
133134
font-size: 2.5rem;
134135
font-weight: normal;
135136
color: var(--heading-color, inherit);
137+
margin: 0;
138+
line-height: 1.2;
136139
}
137140
@media (max-width: 768px) {
138141
.home-title {

0 commit comments

Comments
 (0)