feat: Use named font weights when appropriate

This commit is contained in:
daudix
2024-01-31 02:48:51 +03:00
parent 236c82f1b5
commit 095efe1070
3 changed files with 6 additions and 6 deletions

View File

@ -56,7 +56,7 @@ section#comments {
.author { .author {
align-items: center; align-items: center;
display: flex; display: flex;
font-weight: 600; font-weight: bold;
gap: 0.25rem; gap: 0.25rem;
grid-area: name; grid-area: name;

View File

@ -52,7 +52,7 @@ body {
@keyframes highlight-in-out { @keyframes highlight-in-out {
50% { 50% {
color: var(--primary-color); color: var(--primary-color);
font-weight: 800; font-weight: bolder;
} }
} }
} }
@ -71,7 +71,7 @@ h4,
h5, h5,
h6 { h6 {
font-family: Superclarendon, "Bookman Old Style", "URW Bookman", "URW Bookman L", "Georgia Pro", Georgia, serif; font-family: Superclarendon, "Bookman Old Style", "URW Bookman", "URW Bookman L", "Georgia Pro", Georgia, serif;
font-weight: 200; font-weight: lighter;
line-height: 1.25; line-height: 1.25;
margin: 3rem 0 1rem; margin: 3rem 0 1rem;
@ -89,7 +89,7 @@ h6 {
h1 { h1 {
font-size: 3rem; font-size: 3rem;
font-weight: 400; font-weight: normal;
letter-spacing: -0.15rem; letter-spacing: -0.15rem;
} }
@ -120,7 +120,7 @@ h6 {
a { a {
color: var(--primary-color); color: var(--primary-color);
cursor: pointer; cursor: pointer;
font-weight: 600; font-weight: bold;
text-decoration: underline dotted; text-decoration: underline dotted;
&:hover { &:hover {

View File

@ -21,7 +21,7 @@
} }
.nav-arrow { .nav-arrow {
font-weight: 400; font-weight: normal;
color: var(--fg-muted-5); color: var(--fg-muted-5);
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }