diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-06-04 13:36:05 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-06-04 13:36:05 +0200 |
commit | ffef41df1db4a7e7c00a2cb493b733738a43b28e (patch) | |
tree | 448bdf3e96a50439673820790615ea12dc0e6aac /src | |
parent | c23df38c61c6bf73c14cb4722362e612d4403df2 (diff) | |
download | rgoncalves.se-ffef41df1db4a7e7c00a2cb493b733738a43b28e.tar.gz |
feat(styles): add ibm plex fontface
Diffstat (limited to 'src')
-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"); |