diff options
author | vgatextmode <[email protected]> | 2024-10-26 19:53:08 +0300 |
---|---|---|
committer | vgatextmode <[email protected]> | 2024-10-26 19:53:08 +0300 |
commit | bbcb8adfd621d5f0e549d338430207198112c733 (patch) | |
tree | 23391bb28aee5bdc048dd0fb8849fc643983c073 | |
parent | 3014f62cd08676757918b42f18c4d049a8c5bb5f (diff) |
[feat] Cousine font
-rw-r--r-- | fontface.css | 8 | ||||
-rw-r--r-- | fonts/cousine-v27-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2 | bin | 0 -> 122524 bytes | |||
-rw-r--r-- | index.html | 1 | ||||
-rw-r--r-- | style.css | 5 |
4 files changed, 13 insertions, 1 deletions
diff --git a/fontface.css b/fontface.css new file mode 100644 index 0000000..67194ec --- /dev/null +++ b/fontface.css @@ -0,0 +1,8 @@ +/* cousine-regular - cyrillic_cyrillic-ext_latin_latin-ext */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Cousine'; + font-style: normal; + font-weight: 400; + src: url('../fonts/cousine-v27-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} diff --git a/fonts/cousine-v27-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2 b/fonts/cousine-v27-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2 Binary files differnew file mode 100644 index 0000000..5eea46a --- /dev/null +++ b/fonts/cousine-v27-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2 @@ -4,6 +4,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="icon" type="image/x-icon" href="favicon.ico"> <link rel="stylesheet" href="style.css"></link> + <link rel="stylesheet" href="fontface.css"></link> </head> <body> @@ -1,7 +1,10 @@ body { background-color: black; - font-size: 20; + font-size: 20px; + font-family: "Cousine", monospace; + font-weight: 400; + font-style: normal; } .mainflex { |