aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-11-08 16:27:22 +0100
committerTeddy Wing2018-11-08 16:27:22 +0100
commit6e061780be4a5c0f2543d314f37cb25601d4b286 (patch)
treeebc98eac836aba18085d7f9e3baf069c79a8f113
parentdddf70e6e2168a72ea6401045ee29967befc915c (diff)
downloaddome-key-web-6e061780be4a5c0f2543d314f37cb25601d4b286.tar.bz2
Makefile: Remove empty lines from 'styles.css'
There were a bunch of useless empty lines in the Hasp output. Would rather have had a single newline between each CSS rule, but this is close enough. At least it looks better.
-rw-r--r--Makefile2
-rw-r--r--assets/styles.css29
2 files changed, 2 insertions, 29 deletions
diff --git a/Makefile b/Makefile
index f2d7497..75f55f2 100644
--- a/Makefile
+++ b/Makefile
@@ -5,3 +5,5 @@ assets/styles.css: assets/stylesheets/main.hcss \
assets/stylesheets/*.hcss \
assets/stylesheets/*.css
hasp $< > $@
+ sed -i .bak '/^$$/d' $@
+ rm "$@.bak"
diff --git a/assets/styles.css b/assets/styles.css
index 864750f..9bc41ac 100644
--- a/assets/styles.css
+++ b/assets/styles.css
@@ -1,58 +1,29 @@
-
-
-
-
-
-
-
-
-
-
-
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
-
-
-
.color-murky-pond {
color: #91947f;
}
-
body {
background-color: #e3ce88;
color: #222;
-
font: 19px "Georgia", serif;
}
-
header h1 { display: none; }
-
.code-block {
padding: 12px 16px;
-
border: solid 2px #8c6e6e;
border-radius: 6px;
box-shadow: inset 1px 1px 10px #402929;
-
background-color: #483f3d;
color: #c9ccb4;
text-shadow: 1px 3px 5px #230f0f;
}
-
h1, h2, h3, h4, h5, h6 {
font-family: "Lucida Grande", "Lucida Sans Unicode", Geneva, sans-serif;
}
-
h2 {
font-weight: bold;
font-size: 1.5em;
}
-
.code {
font-family: "Monaco", monospace;
}
-
-
-
-
-
-