💄 Change typography again...
This commit is contained in:
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
@@ -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
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user