diff --git a/assets/css/custom.css b/assets/css/custom.css index dd5a168..185fdd5 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -1,7 +1,45 @@ +/* kanit-regular - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Kanit'; + font-style: normal; + font-weight: 400; + src: url('../fonts/kanit-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ + } + + /* kanit-italic - latin */ + @font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Kanit'; + font-style: italic; + font-weight: 400; + src: url('../fonts/kanit-v13-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ + } + + /* kanit-700 - latin */ + @font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Kanit'; + font-style: normal; + font-weight: 700; + src: url('../fonts/kanit-v13-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ + } + + body { + font-family: Kanit; background: #eee; } +.navigation a, +.navigation span{ + font-family: Kanit; +} + +.navigation-link{ + text-transform: uppercase; +} + .projects-list { text-align: left; } diff --git a/static/fonts/kanit-v13-latin-700.woff2 b/static/fonts/kanit-v13-latin-700.woff2 new file mode 100644 index 0000000..9ab9d4f Binary files /dev/null and b/static/fonts/kanit-v13-latin-700.woff2 differ diff --git a/static/fonts/kanit-v13-latin-italic.woff2 b/static/fonts/kanit-v13-latin-italic.woff2 new file mode 100644 index 0000000..f8d8baa Binary files /dev/null and b/static/fonts/kanit-v13-latin-italic.woff2 differ diff --git a/static/fonts/kanit-v13-latin-regular.woff2 b/static/fonts/kanit-v13-latin-regular.woff2 new file mode 100644 index 0000000..ffbc8e1 Binary files /dev/null and b/static/fonts/kanit-v13-latin-regular.woff2 differ