diff options
Diffstat (limited to 'src/styles')
-rw-r--r-- | src/styles/cgit.css | 34 | ||||
-rw-r--r-- | src/styles/main.css | 2 |
2 files changed, 35 insertions, 1 deletions
diff --git a/src/styles/cgit.css b/src/styles/cgit.css index 7156ca4..720cefa 100644 --- a/src/styles/cgit.css +++ b/src/styles/cgit.css @@ -1,5 +1,37 @@ +/* fontface */ + +@font-face { + font-family: "IBM Plex Mono"; + src: url("https://rgoncalves.se/static/fonts/ibm-plex-mono-medium-normal.woff2") format("woff2"); + font-style: normal; + font-weight: 400; +} + +@font-face { + font-family: "IBM Plex Mono"; + src: url("https://rgoncalves.se/static/fonts/ibm-plex-mono-medium-italic.woff2") format("woff2"); + font-style: italic; + font-weight: 400; +} + +@font-face { + font-family: "IBM Plex Mono"; + src: url("https://rgoncalves.se/static/fonts/ibm-plex-mono-bold-normal.woff2") format("woff2"); + font-style: normal; + font-weight: 600; +} + +@font-face { + font-family: "IBM Plex Mono"; + src: url("https://rgoncalves.se/static/fonts/ibm-plex-mono-bold-italic.woff2") format("woff2"); + font-style: italic; + font-weight: 600; +} + +/* page */ + * { - font-family: monospace, monospace; + font-family: "IBM Plex Mono", monospace; } div#cgit { diff --git a/src/styles/main.css b/src/styles/main.css index ae9a561..bd03168 100644 --- a/src/styles/main.css +++ b/src/styles/main.css @@ -1,3 +1,5 @@ +/* fontface */ + @font-face { font-family: "IBM Plex Mono"; src: url("/static/fonts/ibm-plex-mono-medium-normal.woff2") format("woff2"); |