1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-15 22:25:33 -04:00

switch main font to the beautiful Inter – https://rsms.me/inter/

This commit is contained in:
2020-01-21 23:55:51 -05:00
committed by GitHub
parent 3e65bd1f8d
commit 8c3fb6f50b
33 changed files with 61 additions and 49 deletions

View File

@@ -1,6 +1,6 @@
@charset "UTF-8";
/*! Roboto Latin | Apache License 2.0 | https://fonts.google.com/specimen/Roboto */
@include font-face("Roboto", "Roboto", "Roboto-Regular", "./fonts/roboto-latin-regular", normal, 400);
@include font-face("Roboto", "Roboto Medium", "Roboto-Medium", "./fonts/roboto-latin-medium", normal, 500);
@include font-face("Roboto", "Roboto Bold", "Roboto-Bold", "./fonts/roboto-latin-bold", normal, 700);
/*! Inter UI | SIL Open Font License 1.1 | https://rsms.me/inter/ */
@include font-face("Inter", "./fonts/inter-regular", normal, 400);
@include font-face("Inter", "./fonts/inter-medium", normal, 500);
@include font-face("Inter", "./fonts/inter-bold", normal, 700);

View File

@@ -3,6 +3,7 @@
// Global Footer Styles
footer {
width: 100%;
letter-spacing: -0.01em;
line-height: 1.7;
padding: 1.5em 2.5em;
box-sizing: border-box;

View File

@@ -7,7 +7,10 @@ body {
margin: 0 auto;
background-color: $color-gray-background; // really just the color of header & footer
color: $color-text;
font-family: $webfont-roboto, $system-fonts-emoji;
font-family: $webfont-inter;
font-feature-settings: "kern", "liga", "calt", "clig", "ss01";
font-kerning: normal;
font-variant-ligatures: normal;
line-height: 1.5;
box-sizing: border-box;
}

View File

@@ -23,7 +23,7 @@ header {
margin: 0 0 0 0.8em;
font-size: 1.5em;
font-weight: 500;
letter-spacing: 0.01em;
letter-spacing: -0.01em;
}
svg {