diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | build | 1 | ||||
-rw-r--r-- | src/style.css | 30 |
3 files changed, 31 insertions, 1 deletions
@@ -1,2 +1,3 @@ +fonts/ out/ server @@ -10,6 +10,7 @@ PATH="$PATH:scripts" rm -rf out/* mkdir -p out cp -r src/* out +[ -d fonts ] && cp -r fonts out compile_for_lang() { sd=src/$1 diff --git a/src/style.css b/src/style.css index d271c3b..0bc6172 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,31 @@ +@font-face { + font-family: 'Ysabeau'; + src: url('/fonts/Ysabeau-Medium.otf') format('opentype'); + font-weight: 500; + font-style: normal; +} + +@font-face { + font-family: 'Ysabeau'; + src: url('/fonts/Ysabeau-MediumItalic.otf') format('opentype'); + font-weight: 500; + font-style: italic; +} + +@font-face { + font-family: 'Ysabeau'; + src: url('/fonts/Ysabeau-Bold.otf') format('opentype'); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: 'Ysabeau'; + src: url('/fonts/Ysabeau-BoldItalic.otf') format('opentype'); + font-weight: bold; + font-style: italic; +} + :root { --background-color: #121212; --secondary-darker-color: #1B1B1B; @@ -398,7 +426,7 @@ main section { } .coin-table th { - font-style: bold; + font-weight: bold; width: 12.5%; } |