mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-24 18:06:52 +00:00
Add Cantarell fonts
This commit is contained in:
parent
84dee0de88
commit
f75843c0c4
4 changed files with 18 additions and 0 deletions
BIN
src/fonts/cantarell-bold.woff2
Normal file
BIN
src/fonts/cantarell-bold.woff2
Normal file
Binary file not shown.
BIN
src/fonts/cantarell-regular.woff2
Normal file
BIN
src/fonts/cantarell-regular.woff2
Normal file
Binary file not shown.
15
src/fonts/cantarell.css
Normal file
15
src/fonts/cantarell.css
Normal 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");
|
||||||
|
}
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue