Skip to content

Commit

Permalink
attempt to keep text visible during initial load
Browse files Browse the repository at this point in the history
  • Loading branch information
jedschneider committed Feb 18, 2020
1 parent 161a334 commit a5fac97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@

{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
<link href='https://fonts.googleapis.com/css?family=Playfair+Display:700' rel='stylesheet' type='text/css'>
<link
href='https://fonts.googleapis.com/css?family=Playfair+Display:700&display=swap' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" media="screen" href="{{ .Site.BaseURL }}css/normalize.css" />
<link rel="stylesheet" type="text/css" media="screen" href="{{ .Site.BaseURL }}css/main.css" />
{{- if isset .Site.Params "customcss" }}
Expand Down
6 changes: 3 additions & 3 deletions themes/hugo-ink/static/css/main.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
@font-face {
font-family: 'Inter';
font-display: auto;
font-display: swap;
font-style: normal;
font-weight: 400;
src: url("https://rsms.me/inter/font-files/Inter-Regular.woff2") format("woff2"),
url("https://rsms.me/inter/font-files/Inter-Regular.woff") format("woff");
}

@font-face {
font-family: 'Inter';
font-display: auto;
font-display: swap;
font-style: normal;
font-weight: 500;
src: url("https://rsms.me/inter/font-files/Inter-Medium.woff2") format("woff2"),
Expand Down

0 comments on commit a5fac97

Please sign in to comment.