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:
@@ -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);
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user