diff options
| author | Volpeon <git@volpeon.ink> | 2020-12-23 18:38:59 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2020-12-23 18:38:59 +0100 |
| commit | 5fdaeece8d450b92a076d1d907c7bf525055a62c (patch) | |
| tree | 3851051d4df6a558ce68a056345b015167be6ac8 | |
| parent | Added favicon, also watch templates folder (diff) | |
| download | volpeon.ink-5fdaeece8d450b92a076d1d907c7bf525055a62c.tar.gz volpeon.ink-5fdaeece8d450b92a076d1d907c7bf525055a62c.tar.bz2 volpeon.ink-5fdaeece8d450b92a076d1d907c7bf525055a62c.zip | |
Fixed SASS compilation, added font fallbacks
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | assets/style.scss | 3 | ||||
| -rwxr-xr-x | scripts/build_sass.sh | 4 |
3 files changed, 7 insertions, 2 deletions
| @@ -17,7 +17,7 @@ build_fonts: clean | |||
| 17 | --output-file='output/iosevka-term-ss09-bold.woff2' | 17 | --output-file='output/iosevka-term-ss09-bold.woff2' |
| 18 | 18 | ||
| 19 | build_sass: clean | 19 | build_sass: clean |
| 20 | @sassc assets/style.scss | node_modules/.bin/csso > output/style.css | 20 | @scripts/build_sass.sh |
| 21 | 21 | ||
| 22 | build_content: clean | 22 | build_content: clean |
| 23 | @scripts/build_content.sh | 23 | @scripts/build_content.sh |
diff --git a/assets/style.scss b/assets/style.scss index 8e021d8..a08d4f5 100644 --- a/assets/style.scss +++ b/assets/style.scss | |||
| @@ -73,7 +73,8 @@ $subcontent-indent: 4ch; | |||
| 73 | html, | 73 | html, |
| 74 | pre, | 74 | pre, |
| 75 | code { | 75 | code { |
| 76 | font-family: "Iosevka Term SS09"; | 76 | font-family: "Iosevka Term SS09", "Lucida Console", "Courier New", Courier, |
| 77 | monospace; | ||
| 77 | font-feature-settings: "calt" 0, "dlig" 1; | 78 | font-feature-settings: "calt" 0, "dlig" 1; |
| 78 | } | 79 | } |
| 79 | 80 | ||
diff --git a/scripts/build_sass.sh b/scripts/build_sass.sh new file mode 100755 index 0000000..a6d9c93 --- /dev/null +++ b/scripts/build_sass.sh | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | echo "[COMPILE] assets/style.scss -> output/style.css" | ||
| 4 | sassc assets/style.scss | node_modules/.bin/csso > output/style.css | ||
