Skip to content

Commit

Permalink
Update html font-family to generic web fonts
Browse files Browse the repository at this point in the history
Loading non-generic web fonts come with a higher risk of browser
behavior changing the font behavior if fonts are not kept up to
date.  In this case, we were previously using the defaults set by
the Skeleton CSS library, which admittedly is very out of date.

In a newer version of Chrome, these non-standard fonts were
behaving strangely, displaying italic in places not defined in the
CSS.  Updating to the generic web fonts makes the sections behave
better without sacrificing too much consistency between browsers.
  • Loading branch information
renderorange committed May 5, 2024
1 parent bbf777f commit 4040836
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

body {
color: #333;
font-family: Helvetica, Arial, sans-serif;
}

.container {
Expand Down

0 comments on commit 4040836

Please sign in to comment.