Skip to content

Commit 4402092

Browse files
committed
Increase base font size to 16px and scale component sizes
1 parent fb13d70 commit 4402092

4 files changed

Lines changed: 17 additions & 16 deletions

File tree

src/components/ExperienceCard.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@ const { logo, logoAlt, companyUrl, role, dates } = Astro.props;
3737
width: auto;
3838
}
3939
.exp-role {
40-
font-size: 13px;
40+
font-size: 15px;
4141
font-weight: 600;
4242
color: var(--text-primary);
4343
}
4444
.exp-dates {
45-
font-size: 12px;
45+
font-size: 14px;
4646
color: var(--text-muted);
4747
}
4848

4949
@media (max-width: 640px) {
5050
.exp-card { padding: 10px 14px; gap: 2px; }
5151
.exp-logo { height: 20px; }
52-
.exp-role { font-size: 12px; }
53-
.exp-dates { font-size: 11px; }
52+
.exp-role { font-size: 14px; }
53+
.exp-dates { font-size: 13px; }
5454
}
5555
</style>

src/components/Hero.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@
4242
}
4343
.subtitle {
4444
color: var(--accent);
45-
font-size: 13px;
45+
font-size: 15px;
4646
margin-top: 2px;
4747
font-family: var(--font-mono);
4848
}
4949
.bio {
5050
color: var(--text-muted);
51-
font-size: 13px;
51+
font-size: 15px;
5252
line-height: 1.6;
5353
max-width: 560px;
5454
font-family: var(--font-mono);
@@ -58,7 +58,7 @@
5858
.hero { padding: 28px 16px 20px; }
5959
.hero-avatar { display: none; }
6060
h1 { font-size: 22px; }
61-
.subtitle { font-size: 12px; }
62-
.bio { font-size: 12px; margin-top: 12px; }
61+
.subtitle { font-size: 14px; }
62+
.bio { font-size: 14px; margin-top: 12px; }
6363
}
6464
</style>

src/components/PostCard.astro

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,25 @@ const formattedDate = date.toLocaleDateString('en-US', { month: 'short', year: '
5656
align-items: start;
5757
}
5858
.post-title {
59-
font-size: 14px;
59+
font-size: 16px;
6060
font-weight: 600;
6161
margin-bottom: 4px;
6262
color: var(--text-primary);
6363
}
6464
.post-excerpt {
65-
font-size: 12px;
65+
font-size: 14px;
6666
color: var(--text-muted);
6767
line-height: 1.5;
6868
}
6969
.post-date-side {
70-
font-size: 11px;
70+
font-size: 13px;
7171
color: var(--text-subtle);
7272
white-space: nowrap;
7373
margin-left: 16px;
7474
}
7575
.post-date-top {
7676
display: none;
77-
font-size: 11px;
77+
font-size: 13px;
7878
color: var(--text-subtle);
7979
margin-bottom: 6px;
8080
}
@@ -84,7 +84,7 @@ const formattedDate = date.toLocaleDateString('en-US', { month: 'short', year: '
8484
margin-top: 10px;
8585
}
8686
.tag {
87-
font-size: 10px;
87+
font-size: 12px;
8888
border-radius: 3px;
8989
padding: 2px 8px;
9090
}
@@ -101,8 +101,8 @@ const formattedDate = date.toLocaleDateString('en-US', { month: 'short', year: '
101101
.post-row { flex-direction: column; }
102102
.post-date-side { display: none; }
103103
.post-date-top { display: block; }
104-
.post-title { font-size: 13px; }
105-
.post-excerpt { font-size: 11px; }
106-
.tag { font-size: 9px; padding: 2px 6px; }
104+
.post-title { font-size: 15px; }
105+
.post-excerpt { font-size: 13px; }
106+
.tag { font-size: 11px; padding: 2px 6px; }
107107
}
108108
</style>

src/styles/global.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ body {
2626
background: var(--bg-primary);
2727
color: var(--text-primary);
2828
font-family: var(--font-mono);
29+
font-size: 16px;
2930
line-height: 1.5;
3031
-webkit-font-smoothing: antialiased;
3132
}

0 commit comments

Comments
 (0)