diff options
| author | Shulhan <ms@kilabit.info> | 2023-06-01 13:32:45 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-06-04 16:20:05 +0700 |
| commit | 4f032bce740743903755662a45a1398105811da2 (patch) | |
| tree | 1235fcbe7b312ddfaf5bb29fcedbe6ed6768dec6 /_content/index.css | |
| parent | 32b4f26f2962d28b2905af62a6398be1d72abae8 (diff) | |
| download | kilabit.info-4f032bce740743903755662a45a1398105811da2.tar.xz | |
_content: add and use Go fonts
Diffstat (limited to '_content/index.css')
| -rw-r--r-- | _content/index.css | 127 |
1 files changed, 124 insertions, 3 deletions
diff --git a/_content/index.css b/_content/index.css index 8a7fd74..ef36aed 100644 --- a/_content/index.css +++ b/_content/index.css @@ -1,13 +1,133 @@ +@font-face { + font-family: 'Go'; + src: local('Go Regular'), local('GoRegular'), + url('/assets/fonts/go/GoRegular.woff2') format('woff2'), + url('/assets/fonts/go/GoRegular.woff') format('woff'), + url('/assets/fonts/go/GoRegular.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Go'; + src: local('Go Bold'), local('Go-Bold'), + url('/assets/fonts/go/Go-Bold.woff2') format('woff2'), + url('/assets/fonts/go/Go-Bold.woff') format('woff'), + url('/assets/fonts/go/Go-Bold.ttf') format('truetype'); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: 'Go'; + src: local('Go Italic'), local('Go-Italic'), + url('/assets/fonts/go/Go-Italic.woff2') format('woff2'), + url('/assets/fonts/go/Go-Italic.woff') format('woff'), + url('/assets/fonts/go/Go-Italic.ttf') format('truetype'); + font-weight: normal; + font-style: italic; +} + +@font-face { + font-family: 'Go'; + src: local('Go Bold Italic'), local('Go-BoldItalic'), + url('/assets/fonts/go/Go-BoldItalic.woff2') format('woff2'), + url('/assets/fonts/go/Go-BoldItalic.woff') format('woff'), + url('/assets/fonts/go/Go-BoldItalic.ttf') format('truetype'); + font-weight: bold; + font-style: italic; +} + +@font-face { + font-family: 'Go'; + src: local('Go Medium'), local('GoMedium'), + url('/assets/fonts/go/GoMedium.woff2') format('woff2'), + url('/assets/fonts/go/GoMedium.woff') format('woff'), + url('/assets/fonts/go/GoMedium.ttf') format('truetype'); + font-weight: 500; + font-style: normal; +} + +@font-face { + font-family: 'Go'; + src: local('Go Medium Italic'), local('GoMedium-Italic'), + url('/assets/fonts/go/GoMedium-Italic.woff2') format('woff2'), + url('/assets/fonts/go/GoMedium-Italic.woff') format('woff'), + url('/assets/fonts/go/GoMedium-Italic.ttf') format('truetype'); + font-weight: 500; + font-style: italic; +} + +@font-face { + font-family: 'Go Mono'; + src: local('Go Mono'), local('GoMono'), + url('/assets/fonts/go/GoMono.woff2') format('woff2'), + url('/assets/fonts/go/GoMono.woff') format('woff'), + url('/assets/fonts/go/GoMono.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Go Mono'; + src: local('Go Mono Bold Italic'), local('GoMono-BoldItalic'), + url('/assets/fonts/go/GoMono-BoldItalic.woff2') format('woff2'), + url('/assets/fonts/go/GoMono-BoldItalic.woff') format('woff'), + url('/assets/fonts/go/GoMono-BoldItalic.ttf') format('truetype'); + font-weight: bold; + font-style: italic; +} + +@font-face { + font-family: 'Go Mono'; + src: local('Go Mono Italic'), local('GoMono-Italic'), + url('/assets/fonts/go/GoMono-Italic.woff2') format('woff2'), + url('/assets/fonts/go/GoMono-Italic.woff') format('woff'), + url('/assets/fonts/go/GoMono-Italic.ttf') format('truetype'); + font-weight: normal; + font-style: italic; +} + +@font-face { + font-family: 'Go Mono'; + src: local('Go Mono Bold'), local('GoMono-Bold'), + url('/assets/fonts/go/GoMono-Bold.woff2') format('woff2'), + url('/assets/fonts/go/GoMono-Bold.woff') format('woff'), + url('/assets/fonts/go/GoMono-Bold.ttf') format('truetype'); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: 'Go Smallcaps'; + src: local('Go Smallcaps Italic'), local('GoSmallcaps-Italic'), + url('/assets/fonts/go/GoSmallcaps-Italic.woff2') format('woff2'), + url('/assets/fonts/go/GoSmallcaps-Italic.woff') format('woff'), + url('/assets/fonts/go/GoSmallcaps-Italic.ttf') format('truetype'); + font-weight: normal; + font-style: italic; +} + +@font-face { + font-family: 'Go Smallcaps'; + src: local('Go Smallcaps'), local('GoSmallcaps'), + url('/assets/fonts/go/GoSmallcaps.woff2') format('woff2'), + url('/assets/fonts/go/GoSmallcaps.woff') format('woff'), + url('/assets/fonts/go/GoSmallcaps.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + body { color: black; - font-family: monospace, sans-serif; + font-family: Go, sans-serif; margin: 0 auto; width: 800px; font-size: 16px; } code { - font-style: italic; + font-family: 'Go Mono', monospace; } div { @@ -66,6 +186,7 @@ pre { border: 1px solid #ccc; display: block; font-size: 16px; + font-family: 'Go Mono', monospace; margin: 0 0 10px 20px; overflow: auto; padding: 9.5px; @@ -105,7 +226,7 @@ img.background { .topbar-info { font-size: 12px; font-weight: normal; - font-family: Monospace; + font-family: 'Go Mono', monospace; } .topbar-right { |
