font css split

This commit is contained in:
edbrz9 2022-12-31 21:36:13 +01:00
parent 937badae29
commit c5c4de1bbc
2 changed files with 21 additions and 22 deletions

20
assets/css/fonts.css Normal file
View File

@ -0,0 +1,20 @@
@font-face{
font-family: inter;
src: url("../fonts/inter/Inter-Regular.woff");
font-style: normal;
font-weight: normal;
}
@font-face{
font-family: inter;
src: url("../fonts/inter/Inter-Medium.woff");
font-style: normal;
font-weight: 600;
}
@font-face{
font-family: inter;
src: url("../fonts/inter/Inter-Bold.woff");
font-style: normal;
font-weight: 800;
}

View File

@ -1,5 +1,5 @@
@import url("./copyme.css");
@import url("./fonts.css");
html {
min-height: 100vh;
@ -13,27 +13,6 @@ body {
linear-gradient(to bottom right, #2e3551, #0d747d);
}
@font-face{
font-family: inter;
src: url("../fonts/inter/Inter-Regular.woff");
font-style: normal;
font-weight: normal;
}
@font-face{
font-family: inter;
src: url("../fonts/inter/Inter-Medium.woff");
font-style: normal;
font-weight: 600;
}
@font-face{
font-family: inter;
src: url("../fonts/inter/Inter-Bold.woff");
font-style: normal;
font-weight: 800;
}
body {