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

@ -13,7 +13,7 @@ I'm also one of those _crazy_ people who uses arch on my work machine. Craziness
After running updates this morning, as I normally would, I went to start the project I was working on today locally, and was met with this wonderful message:
```text
django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: /home/jake/Projects/******/env/lib/python3.5/site-packages/psycopg2/.libs/libresolv-2-c4c53def.5.so: symbol __res_maybe_init, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: /home/jake/Projects/******/env/lib/python3.5/site-packages/psycopg2/.libs/libresolv-2-c4c53def.5.so: symbol __res_maybe_init, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
```
As this was a work machine, I didn't have the time to research into the correct solution. I knew this was something to do with updates, because that's all that had changed between the last time it worked and now. But I had a feeling rolling back updates to a given date, especially on arch, would be fairly painful. Much to my surprise, it was super simple!

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;
}
}