Skip to content

Commit 402a259

Browse files
Standardize header and subtitle styling across all pages
- Replace Posts page custom styles with Tailwind classes matching other pages - Use consistent text-4xl md:text-5xl font-light for all h1 headers - Use consistent text-xl text-gray-600 mb-16 font-light leading-relaxed for subtitles - Remove duplicate padding from About, Contact, and Resources pages - All pages now have uniform, elegant light typography Amp-Thread-ID: https://ampcode.com/threads/T-f2ee7636-9f82-4ca0-a96e-321ffd778fb5 Co-authored-by: Amp <amp@ampcode.com>
1 parent 6e649ce commit 402a259

7 files changed

Lines changed: 8 additions & 29 deletions

File tree

src/pages/about.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Layout from '@layouts/Layout.astro';
77
---
88

99
<Layout title="About – Marius Colacioiu">
10-
<div class="max-w-4xl mx-auto px-6 py-16">
10+
<div class="max-w-4xl mx-auto">
1111
<h1 class="text-4xl md:text-5xl font-light mb-4 text-gray-900">
1212
About
1313
</h1>

src/pages/contact.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Layout from '@layouts/Layout.astro';
44
---
55

66
<Layout title="Contact – Marius Colacioiu">
7-
<div class="max-w-4xl mx-auto px-6 py-16">
7+
<div class="max-w-4xl mx-auto">
88
<h1 class="text-4xl md:text-5xl font-light mb-4 text-gray-900">
99
Contact
1010
</h1>

src/pages/posts/index.astro

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const sortedPosts = posts.sort((a, b) => a.data.order - b.data.order);
1515
<Layout title="Posts - Marius Colacioiu">
1616
<div class="posts-container">
1717
<header class="posts-header">
18-
<h1>Posts</h1>
19-
<p class="posts-description">
18+
<h1 class="text-4xl md:text-5xl font-light mb-4 text-gray-900">Posts</h1>
19+
<p class="text-xl text-gray-600 mb-16 font-light leading-relaxed">
2020
Thoughts on coding, AI agents, and software engineering.
2121
</p>
2222
</header>
@@ -58,19 +58,6 @@ const sortedPosts = posts.sort((a, b) => a.data.order - b.data.order);
5858
margin-bottom: 3rem;
5959
}
6060

61-
.posts-header h1 {
62-
font-size: 3rem;
63-
font-weight: 700;
64-
margin-bottom: 1rem;
65-
color: #111827;
66-
}
67-
68-
.posts-description {
69-
font-size: 1.25rem;
70-
color: #6b7280;
71-
line-height: 1.6;
72-
}
73-
7461
.posts-list {
7562
display: flex;
7663
flex-direction: column;
@@ -150,14 +137,6 @@ const sortedPosts = posts.sort((a, b) => a.data.order - b.data.order);
150137
}
151138

152139
@media (max-width: 640px) {
153-
.posts-header h1 {
154-
font-size: 2.5rem;
155-
}
156-
157-
.posts-description {
158-
font-size: 1.125rem;
159-
}
160-
161140
.post-card h2 {
162141
font-size: 1.25rem;
163142
}

src/pages/resources/books.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Layout from '../../layouts/Layout.astro';
55
---
66

77
<Layout title="Marius Colacioiu – Resources – Books">
8-
<div class="max-w-4xl mx-auto px-6 py-16">
8+
<div class="max-w-4xl mx-auto">
99
<ResourcesNav active="books" />
1010

1111
<h1 class="text-3xl md:text-4xl font-light mb-4 text-gray-900">

src/pages/resources/coding-with-agents.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const manifest = entries.map((e) => ({
1616
---
1717

1818
<Layout title="Marius Colacioiu – Resources – Coding with Agents">
19-
<div class="max-w-4xl mx-auto px-6 py-16">
19+
<div class="max-w-4xl mx-auto">
2020
<ResourcesNav active="coding-with-agents" />
2121

2222
<h1 class="text-3xl md:text-4xl font-light mb-4 text-gray-900">

src/pages/resources/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Layout from '../../layouts/Layout.astro';
77
---
88

99
<Layout title="Marius Colacioiu – Resources">
10-
<div class="max-w-5xl mx-auto px-6 py-16">
10+
<div class="max-w-5xl mx-auto">
1111
<h1 class="text-4xl md:text-5xl font-light mb-4 text-gray-900">
1212
Resources
1313
</h1>

src/pages/resources/newsletters.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Layout from '../../layouts/Layout.astro';
55
---
66

77
<Layout title="Marius Colacioiu – Resources – Newsletters">
8-
<div class="max-w-4xl mx-auto px-6 py-16">
8+
<div class="max-w-4xl mx-auto">
99
<ResourcesNav active="newsletters" />
1010

1111
<h1 class="text-3xl md:text-4xl font-light mb-4 text-gray-900">

0 commit comments

Comments
 (0)