Add Cantarell fonts

This commit is contained in:
Late Night Defender 2023-08-19 01:36:50 +07:00
parent 84dee0de88
commit f75843c0c4
4 changed files with 18 additions and 0 deletions

Binary file not shown.

Binary file not shown.

15
src/fonts/cantarell.css Normal file
View file

@ -0,0 +1,15 @@
/* cantarell-regular */
@font-face {
font-family: Cantarell;
font-style: normal;
font-weight: 400;
src: local("Cantarell Regular"), local("Cantarell-Regular"), url(cantarell-regular.woff2) format("woff2");
}
/* cantarell-bold */
@font-face {
font-family: Cantarell;
font-style: normal;
font-weight: 700;
src: local("Cantarell Bold"), local("Cantarell-Bold"), url(cantarell-bold.woff2) format("woff2");
}

View file

@ -1,3 +1,5 @@
@import url("fonts/cantarell.css");
/* for mobile user */ /* for mobile user */
body{ body{
margin: auto auto auto auto; margin: auto auto auto auto;
@ -7,6 +9,7 @@ body{
} }
:root{ :root{
background-color: rgb(131, 131, 131); background-color: rgb(131, 131, 131);
font-family: Cantarell, sans-serif;
} }
/* disable desktop & tablet for now due to unfinalized design */ /* disable desktop & tablet for now due to unfinalized design */
@media only screen and (min-width: 700px) { @media only screen and (min-width: 700px) {