From bbcb8adfd621d5f0e549d338430207198112c733 Mon Sep 17 00:00:00 2001 From: vgatextmode Date: Sat, 26 Oct 2024 19:53:08 +0300 Subject: [feat] Cousine font --- fontface.css | 8 ++++++++ ...cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2 | Bin 0 -> 122524 bytes index.html | 1 + style.css | 5 ++++- 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 fontface.css create mode 100644 fonts/cousine-v27-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2 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 new file mode 100644 index 0000000..5eea46a Binary files /dev/null and b/fonts/cousine-v27-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2 differ diff --git a/index.html b/index.html index d470b64..835820e 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ + diff --git a/style.css b/style.css index cff8753..c9d1749 100644 --- a/style.css +++ b/style.css @@ -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 { -- cgit v1.2.3