Skip to content
Snippets Groups Projects
Commit 7e21801e authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Improved css sizes

parent ea24c3d5
Branches
No related tags found
No related merge requests found
......@@ -41,8 +41,7 @@ html(lang="en")
meta(name="apple-mobile-web-app-status-bar-style" content="#0a70c0")
style
include /assets/css/important.css
include /assets/css/semantic.css
include /assets/css/important.min.css
style
include /assets/css/style.css
style
......
SASS = $(shell pwd)/../../node_modules/node-sass/bin/node-sass --output-style compressed
all: fonts.css style.css important.css semantic.css
all: fonts.css style.css
%.css: %.sass
$(SASS) $< -o .
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.
......@@ -5,6 +5,9 @@
"scripts": {
"pug": "node_modules/pug-cli/index.js --basedir . **/index.pug index.pug",
"sass": "cd assets/css && make -j8",
"css_minify_purifycss": "node_modules/purifycss/bin/purifycss assets/css/important.css index.html privacy-policy/index.html releases/index.html --min --info --out assets/css/important.min1.css",
"css_minify_uncss": "node_modules/uncss/bin/uncss index.html privacy-policy/index.html releases/index.html --htmlroot . --stylesheets assets/css/important.min1.css > assets/css/important.min.css",
"css_minify": "npm run css_minify_purifycss && npm run css_minify_uncss && rm assets/css/important.min1.css",
"images": "assets/images/generate_makefile.sh && cd assets/images && make -j8",
"build": "npm run images && npm run sass && npm run pug"
},
......@@ -13,6 +16,8 @@
"homepage": "https://quasseldroid.info/",
"devDependencies": {
"node-sass": "^4.7.2",
"pug-cli": "^1.0.0-alpha6"
"pug-cli": "^1.0.0-alpha6",
"purifycss": "^1.2.6",
"uncss": "^0.16.2"
}
}
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment