mirror of
https://codeberg.org/vlw/victorwesterlund.com.git
synced 2025-09-14 03:23:41 +02:00
Merge pull request #19 from VictorWesterlund/feature/fonts
Optimized webfonts
This commit is contained in:
commit
5f9be25aca
7 changed files with 12 additions and 10 deletions
|
@ -9,20 +9,22 @@
|
|||
|
||||
@font-face {
|
||||
font-family: "Roboto Mono";
|
||||
font-weight: 400;
|
||||
src: local("Roboto Mono Regular"),
|
||||
local("RobotoMono-Regular"),
|
||||
url("../fonts/RobotoMono-Regular.woff2"),
|
||||
url("../fonts/RobotoMono-Regular.ttf");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
src: local("Roboto Mono Regular"), local("RobotoMono-Regular"),
|
||||
url("../fonts/RobotoMono-Regular.woff2") format("woff2"),
|
||||
url("../fonts/RobotoMono-Regular.woff") format("woff");
|
||||
font-display: optional;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Roboto Mono";
|
||||
font-weight: 700;
|
||||
src: local("Roboto Mono Bold"),
|
||||
local("RobotoMono-Bold"),
|
||||
url("../fonts/RobotoMono-Bold.woff2"),
|
||||
url("../fonts/RobotoMono-Bold.ttf");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
src: local("Roboto Mono Bold"), local("RobotoMono-Bold"),
|
||||
url("../fonts/RobotoMono-Bold.woff2") format("woff2"),
|
||||
url("../fonts/RobotoMono-Bold.woff") format("woff");
|
||||
font-display: optional;
|
||||
}
|
||||
|
||||
/* -- Cornerstones -- */
|
||||
|
|
Binary file not shown.
BIN
public/assets/fonts/RobotoMono-Bold.woff
Normal file
BIN
public/assets/fonts/RobotoMono-Bold.woff
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
public/assets/fonts/RobotoMono-Regular.woff
Normal file
BIN
public/assets/fonts/RobotoMono-Regular.woff
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue