💄 Change typography again...

This commit is contained in:
2025-08-30 18:39:59 -04:00
parent eef297d4a1
commit 26d9288aa4
5 changed files with 12 additions and 18 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
+5 -1
View File
@@ -18,7 +18,7 @@ const { title, date, slug } = Astro.props;
</h2> </h2>
<div> <div>
<CalendarIcon class="calendar-icon" width={24} height={24} /> <CalendarIcon class="calendar-icon" width={24} height={24} />
{format(add(new Date(date), { hours: 6 }), 'MMM do, y')} <strong>{format(add(new Date(date), { hours: 6 }), 'MMM do, y')}</strong>
</div> </div>
</div> </div>
@@ -26,4 +26,8 @@ const { title, date, slug } = Astro.props;
.calendar-icon { .calendar-icon {
transform: translateY(0.3rem); transform: translateY(0.3rem);
} }
strong {
font-weight: bold;
}
</style> </style>
+7 -17
View File
@@ -1,23 +1,13 @@
@font-face { @font-face {
font-family: Maple Mono; font-family: Noto Sans;
src: url(./assets/fonts/MapleMono-Regular.ttf) format('truetype'); src: url(./assets/fonts/NotoSans-VariableFont_wdth,wght.ttf)
font-weight: normal; format('truetype');
font-style: normal;
}
@font-face {
font-family: Maple Mono;
src: url(./assets/fonts/MapleMono-Bold.ttf) format('truetype');
font-weight: bold;
font-style: normal;
} }
@font-face { @font-face {
font-family: JetBrainsMono; font-family: JetBrainsMono;
src: url(./assets/fonts/JetBrainsMono-VariableFont_wght.ttf) src: url(./assets/fonts/JetBrainsMono-VariableFont_wght.ttf)
format('truetype'); format('truetype');
font-style: normal;
font-display: block;
} }
:root { :root {
@@ -48,8 +38,8 @@
html { html {
color: var(--text); color: var(--text);
background-color: var(--background); background-color: var(--background);
font-family: 'Maple Mono', monospace; font-family: 'Noto Sans', sansserif;
font-size: 1.05rem; font-size: 1.1rem;
} }
body { body {
@@ -74,8 +64,8 @@ a:hover {
} }
main p { main p {
text-align: justify; /* text-align: justify; */
line-height: 1.4; line-height: 1.5;
} }
article img { article img {