Commit 9ab7e398 authored by Cool Fire's avatar Cool Fire

Working css purge & minify

parent cf2efde5
Pipeline #1173 passed with stages
in 4 minutes and 39 seconds
This diff is collapsed.
#!/bin/bash
purifycss css/bootstrap.css css/fonts.googleapis.com.css views/*.erb -o public/css/combined.css -i -m
purgecss --css css/*.css --content views/*.erb --out css/purged/
cat css/purged/*.css > css/combined/combined.css
cleancss -o public/css/combined.min.css css/combined/combined.css
This diff is collapsed.
This diff is collapsed.
......@@ -7,7 +7,7 @@
<meta name="Description" content="Sign-up form for Insomnia 24/7's linux shell service.">
<meta name="theme-color" content="#2b3e50">
<link rel="stylesheet" href="./css/combined.css">
<link rel="stylesheet" href="./css/combined.min.css">
<style>.progress{margin: 0;}</style>
<title><%= settings.title %></title>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment