Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,12 @@
}
}

/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
/* Fonts. Inter is loaded in head.html. Without this rule, text that has no
inter-* class, such as paragraphs written in Markdown, uses Bootstrap's
system font stack. */
body {
font-family: "Inter", sans-serif !important;
}

/* Variables */
:root {
Expand Down
5 changes: 5 additions & 0 deletions layouts/partials/essentials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@

<!-- Custom CSS fixes -->
<link rel="stylesheet" href="/css/list-alignment-fix.css">

{{/* Inter, the typeface that the font-family rules in style.css name */}}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap">
2 changes: 1 addition & 1 deletion layouts/partials/shared/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
<div class="navbar-right ms-lg-3">
<a
href="{{ site.Params.cta.link | relURL }}"
class="btn btn-primary bg-second scale border-second animate">
class="btn btn-primary bg-second scale border-second animate text-nowrap">
{{ site.Params.cta.text }}
</a>
</div>
Expand Down
Loading