Skip to content

Commit

Permalink
♻️ refactor: simplify sans-serif-font declarations
Browse files Browse the repository at this point in the history
🐛 fix: use sans-serif in article
  • Loading branch information
welpo committed Apr 29, 2023
1 parent 6a5670d commit 87a5c9a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
6 changes: 5 additions & 1 deletion sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ body {
article {
max-width: calc(var(--max-layout-width) - 17rem);
margin: 0 auto;

p,
li {
font-family: var(--serif-font);
}
}

.section-title {
Expand Down Expand Up @@ -185,7 +190,6 @@ h5 {
}

p {
font-family: var(--serif-font);
margin-top: 0.4rem;
margin-bottom: max(2.3vmin, 24px);
line-height: 2rem;
Expand Down
1 change: 0 additions & 1 deletion sass/parts/_home-banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
}

#banner-home-subtitle p {
font-family: var(--sans-serif-font);
font-size: 1rem;
}

Expand Down
1 change: 0 additions & 1 deletion sass/parts/_misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ table {
overflow: hidden;
border-style: hidden !important;
margin: 2rem 0;
font-family: sans-serif;
min-width: 400px;
border: none;
margin-left: auto;
Expand Down
1 change: 0 additions & 1 deletion sass/parts/_posts_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
.description p {
margin: 0.5rem 0 1rem;
color: var(--text-color);
font-family: var(--sans-serif-font);
font-size: 0.9rem;
font-weight: 250;
line-height: 1.5rem;
Expand Down

0 comments on commit 87a5c9a

Please sign in to comment.