Merge pull request #19 from VictorWesterlund/feature/fonts

Optimized webfonts
This commit is contained in:
Victor Westerlund 2021-10-26 21:23:22 +02:00 committed by GitHub
commit 5f9be25aca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 10 deletions

View file

@ -9,20 +9,22 @@
@font-face { @font-face {
font-family: "Roboto Mono"; font-family: "Roboto Mono";
font-weight: 400; font-weight: normal;
src: local("Roboto Mono Regular"), font-style: normal;
local("RobotoMono-Regular"), src: local("Roboto Mono Regular"), local("RobotoMono-Regular"),
url("../fonts/RobotoMono-Regular.woff2"), url("../fonts/RobotoMono-Regular.woff2") format("woff2"),
url("../fonts/RobotoMono-Regular.ttf"); url("../fonts/RobotoMono-Regular.woff") format("woff");
font-display: optional;
} }
@font-face { @font-face {
font-family: "Roboto Mono"; font-family: "Roboto Mono";
font-weight: 700; font-weight: bold;
src: local("Roboto Mono Bold"), font-style: normal;
local("RobotoMono-Bold"), src: local("Roboto Mono Bold"), local("RobotoMono-Bold"),
url("../fonts/RobotoMono-Bold.woff2"), url("../fonts/RobotoMono-Bold.woff2") format("woff2"),
url("../fonts/RobotoMono-Bold.ttf"); url("../fonts/RobotoMono-Bold.woff") format("woff");
font-display: optional;
} }
/* -- Cornerstones -- */ /* -- Cornerstones -- */

Binary file not shown.

Binary file not shown.