From 7e823484b0f67fc433170b21e7f1cf5510691373 Mon Sep 17 00:00:00 2001 From: Akbar Rahman Date: Thu, 29 Feb 2024 12:15:04 +0000 Subject: [PATCH] add comic mono font --- .gitmodules | 3 +++ fonts/comic-mono-font | 1 + fonts/comic-mono-font.css | 13 +++++++++++++ gohookr.sh | 2 ++ 4 files changed, 19 insertions(+) create mode 100644 .gitmodules create mode 160000 fonts/comic-mono-font create mode 100644 fonts/comic-mono-font.css diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..36e72fe --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "fonts/comic-mono-font"] + path = fonts/comic-mono-font + url = https://git.alv.cx/alvierahman90/comic-mono-font.git diff --git a/fonts/comic-mono-font b/fonts/comic-mono-font new file mode 160000 index 0000000..9a96d04 --- /dev/null +++ b/fonts/comic-mono-font @@ -0,0 +1 @@ +Subproject commit 9a96d04cdd2919964169192e7d9de5012ef66de4 diff --git a/fonts/comic-mono-font.css b/fonts/comic-mono-font.css new file mode 100644 index 0000000..3402ec5 --- /dev/null +++ b/fonts/comic-mono-font.css @@ -0,0 +1,13 @@ +@font-face { + font-family: 'Comic Mono'; + font-style: normal; + font-weight: 400; + src: url('/fonts/comic-mono-font/ComicMono.ttf') format('ttf'); +} + +@font-face { + font-family: 'Comic Mono'; + font-style: normal; + font-weight: bold; + src: url('/fonts/comic-mono-font/ComicMono-Bold.ttf') format('ttf'); +} diff --git a/gohookr.sh b/gohookr.sh index 4014f60..b7be35b 100755 --- a/gohookr.sh +++ b/gohookr.sh @@ -1,3 +1,5 @@ #!/usr/bin/env bash cd `dirname $0` git pull +git submodule init +git submodule update