1
Fork 0

Better style code

This commit is contained in:
Jake Howard 2017-10-27 13:36:18 +01:00
parent b1bd57fa82
commit 3a96ec2a3e
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 18 additions and 2 deletions

View file

@ -10,7 +10,7 @@ build: install
rm -rf $(OUTPUT_DIR)
rm -rf $(STATIC_BUILD)
mkdir -p $(STATIC_BUILD)/js $(STATIC_BUILD)/css
hugo gen chromastyles --style=tango > $(STATIC_SRC)/scss/highlight.css
hugo gen chromastyles --style=monokai > $(STATIC_SRC)/scss/highlight.css
$(NODE_BIN)/browserify $(STATIC_SRC)/js/index.js -o $(STATIC_BUILD)/js/app.js
$(NODE_BIN)/node-sass $(STATIC_SRC)/scss/style.scss $(STATIC_BUILD)/css/style.css --source-map-embed
cp -r $(BASEDIR)/node_modules/font-awesome/fonts $(STATIC_BUILD)/fonts

View file

@ -153,3 +153,19 @@ footer {
ul ul, ol ol {
padding-left: $spacer * 1.5;
}
pre.chroma {
padding: $spacer;
margin: $spacer 0;
}
.content {
h1, h2, h3, h4, h5, h6 {
margin-top: $spacer;
}
code {
color: #f8f8f2;
background-color: #272822;
}
}