Better style code
This commit is contained in:
parent
b1bd57fa82
commit
3a96ec2a3e
3 changed files with 18 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue