moved @font-face to fonts.css
This commit is contained in:
parent
4aa2eea146
commit
ad2b62cfc8
3 changed files with 26 additions and 26 deletions
25
assets/styles/fonts.css
Normal file
25
assets/styles/fonts.css
Normal file
|
@ -0,0 +1,25 @@
|
|||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: Roboto;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url("../fonts/roboto/roboto-400.eot");
|
||||
src: url("../fonts/roboto/roboto-400.eot?#iefix") format("embedded-opentype"),
|
||||
url("../fonts/roboto/roboto-400.woff2") format("woff2"),
|
||||
url("../fonts/roboto/roboto-400.woff") format("woff"),
|
||||
url("../fonts/roboto/roboto-400.ttf") format("truetype"),
|
||||
url("../fonts/roboto/roboto-400.svg#Roboto") format("svg");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: "Roboto Slab";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url("../fonts/roboto-slab/roboto-slab-500");
|
||||
src: url("../fonts/roboto-slab/roboto-slab-500?#iefix") format("embedded-opentype"),
|
||||
url("../fonts/roboto-slab/roboto-slab-500.woff2") format("woff2"),
|
||||
url("../fonts/roboto-slab/roboto-slab-500.woff") format("woff"),
|
||||
url("../fonts/roboto-slab/roboto-slab-500.ttf") format("truetype"),
|
||||
url("../fonts/roboto-slab/roboto-slab-500.svg#RobotoSlab") format("svg");
|
||||
}
|
|
@ -1,29 +1,3 @@
|
|||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: Roboto;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url("../fonts/roboto/roboto-400.eot");
|
||||
src: url("../fonts/roboto/roboto-400.eot?#iefix") format("embedded-opentype"),
|
||||
url("../fonts/roboto/roboto-400.woff2") format("woff2"),
|
||||
url("../fonts/roboto/roboto-400.woff") format("woff"),
|
||||
url("../fonts/roboto/roboto-400.ttf") format("truetype"),
|
||||
url("../fonts/roboto/roboto-400.svg#Roboto") format("svg");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: "Roboto Slab";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url("../fonts/roboto-slab/roboto-slab-500");
|
||||
src: url("../fonts/roboto-slab/roboto-slab-500?#iefix") format("embedded-opentype"),
|
||||
url("../fonts/roboto-slab/roboto-slab-500.woff2") format("woff2"),
|
||||
url("../fonts/roboto-slab/roboto-slab-500.woff") format("woff"),
|
||||
url("../fonts/roboto-slab/roboto-slab-500.ttf") format("truetype"),
|
||||
url("../fonts/roboto-slab/roboto-slab-500.svg#RobotoSlab") format("svg");
|
||||
}
|
||||
|
||||
:root {
|
||||
/* Fonts */
|
||||
--font-roboto: Roboto, sans-serif;
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
<meta name="msapplication-TileImage" content="./assets/images/favicons/mstile-144x144.png" />
|
||||
|
||||
<link rel="manifest" href="./manifest.webmanifest" />
|
||||
<link rel="stylesheet" type="text/css" href="./assets/styles/fonts.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./assets/styles/global.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./assets/styles/settings.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./assets/styles/simple-note.css" />
|
||||
|
|
Loading…
Reference in a new issue