diff --git a/assets/styles/fonts.css b/assets/styles/fonts.css deleted file mode 100644 index 2fc42bc..0000000 --- a/assets/styles/fonts.css +++ /dev/null @@ -1,25 +0,0 @@ -@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"); -} \ No newline at end of file diff --git a/assets/styles/global.css b/assets/styles/global.css index e70be1e..0d2c5fc 100644 --- a/assets/styles/global.css +++ b/assets/styles/global.css @@ -1,3 +1,29 @@ +@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; diff --git a/index.html b/index.html index d2816fd..25bde01 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,6 @@ -