1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 17:46:39 -04:00

switch to Roboto web font (#22)

for now, at least. tired of waiting on Chromium to fix system fonts on Catalina.... https://bugs.chromium.org/p/chromium/issues/detail?id=1005969

Roboto seems closest to San Francisco.
This commit is contained in:
2019-12-16 10:59:52 -05:00
committed by GitHub
parent 599400c51c
commit 87ea2db92f
24 changed files with 79 additions and 20 deletions

View File

@ -72,7 +72,7 @@ footer {
&#copyright,
&#poweredby {
line-height: 1.8;
line-height: 1.9;
width: 50%;
}

View File

@ -7,7 +7,7 @@ body {
margin: 0 auto;
background-color: $color-gray-background; // really just the color of header & footer
color: $color-text;
font-family: $system-fonts;
font-family: $webfont-roboto, $system-fonts-emoji;
line-height: 1.5;
box-sizing: border-box;
}

View File

@ -0,0 +1,5 @@
@charset "UTF-8";
@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);