Separate font styles
This commit is contained in:
25
sass/_fonts.scss
Normal file
25
sass/_fonts.scss
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: spectral;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url("/fonts/spectral-regular.woff2") format("woff2"),
|
||||||
|
url("/fonts/spectral-regular.woff") format("woff"),
|
||||||
|
url("/fonts/spectral-regular.ttf") format("truetype");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: spectral;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: url("/fonts/spectral-bold.woff2") format("woff2"),
|
||||||
|
url("/fonts/spectral-bold.woff") format("woff"),
|
||||||
|
url("/fonts/spectral-bold.ttf") format("truetype");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: spectral;
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url("/fonts/spectral-italic.woff2") format("woff2"),
|
||||||
|
url("/fonts/spectral-italic.woff") format("woff"),
|
||||||
|
url("/fonts/spectral-italic.ttf") format("truetype");
|
||||||
|
}
|
@@ -1,27 +1,4 @@
|
|||||||
@font-face {
|
@use "_fonts";
|
||||||
font-family: spectral;
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: url("/fonts/spectral-regular.woff2") format("woff2"),
|
|
||||||
url("/fonts/spectral-regular.woff") format("woff"),
|
|
||||||
url("/fonts/spectral-regular.ttf") format("truetype");
|
|
||||||
}
|
|
||||||
@font-face {
|
|
||||||
font-family: spectral;
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 700;
|
|
||||||
src: url("/fonts/spectral-bold.woff2") format("woff2"),
|
|
||||||
url("/fonts/spectral-bold.woff") format("woff"),
|
|
||||||
url("/fonts/spectral-bold.ttf") format("truetype");
|
|
||||||
}
|
|
||||||
@font-face {
|
|
||||||
font-family: spectral;
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: 400;
|
|
||||||
src: url("/fonts/spectral-italic.woff2") format("woff2"),
|
|
||||||
url("/fonts/spectral-italic.woff") format("woff"),
|
|
||||||
url("/fonts/spectral-italic.ttf") format("truetype");
|
|
||||||
}
|
|
||||||
|
|
||||||
::selection{
|
::selection{
|
||||||
background-color: #ffffb2;
|
background-color: #ffffb2;
|
||||||
|
Reference in New Issue
Block a user