summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2020-12-23 18:38:59 +0100
committerVolpeon <git@volpeon.ink>2020-12-23 18:38:59 +0100
commit5fdaeece8d450b92a076d1d907c7bf525055a62c (patch)
tree3851051d4df6a558ce68a056345b015167be6ac8
parentAdded favicon, also watch templates folder (diff)
downloadvolpeon.ink-5fdaeece8d450b92a076d1d907c7bf525055a62c.tar.gz
volpeon.ink-5fdaeece8d450b92a076d1d907c7bf525055a62c.tar.bz2
volpeon.ink-5fdaeece8d450b92a076d1d907c7bf525055a62c.zip
Fixed SASS compilation, added font fallbacks
-rw-r--r--Makefile2
-rw-r--r--assets/style.scss3
-rwxr-xr-xscripts/build_sass.sh4
3 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ced1bda..c9d0cf8 100644
--- a/Makefile
+++ b/Makefile
@@ -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
19build_sass: clean 19build_sass: clean
20 @sassc assets/style.scss | node_modules/.bin/csso > output/style.css 20 @scripts/build_sass.sh
21 21
22build_content: clean 22build_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;
73html, 73html,
74pre, 74pre,
75code { 75code {
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
3echo "[COMPILE] assets/style.scss -> output/style.css"
4sassc assets/style.scss | node_modules/.bin/csso > output/style.css