From 099bffaf5adb4c33f4a189a507aea7d81698bfaf Mon Sep 17 00:00:00 2001 From: Medium Fries Date: Sat, 22 Dec 2018 21:51:12 -0800 Subject: [PATCH] fixed target directory for post compiling --- make.sh | 2 +- post/bstyle.css | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/make.sh b/make.sh index bf0e052..d4821f3 100755 --- a/make.sh +++ b/make.sh @@ -5,7 +5,7 @@ post() { if [ -f markdown/post/$1 ] then # CSS file is always relative to the target html location - pandoc markdown/post/$1 --css style.css -s -o post/${1%.*}.html + pandoc markdown/post/$1 --css style.css -s -o $rootDir/post/${1%.*}.html else # error message incase file was not found echo "File \"$1\" not found in markdown/post" diff --git a/post/bstyle.css b/post/bstyle.css index 2519246..75a3c4d 100644 --- a/post/bstyle.css +++ b/post/bstyle.css @@ -7,11 +7,11 @@ html { @font-face { font-family: 'Fixedsys'; - src: url(./fonts/FSEX300.ttf); + src: url(../fonts/FSEX300.ttf); } @font-face { font-family: 'Freemono'; - src: url(./fonts/FreeMono.otf); + src: url(../fonts/FreeMono.otf); } /* sick nav bar */ .topnav { @@ -49,10 +49,12 @@ body { padding: 1em; margin: auto; max-width: 42em; + /*background-image: url("./img/backt.png");*/ + background-repeat: repeat; } /* Link stuff */ -/* default link color */ + /* default link color */ a { color: #7bb3ff; text-decoration: none; @@ -96,7 +98,6 @@ a::selection { p { margin: 1em 0; - color: #F1C6A7; } img { @@ -157,10 +158,10 @@ hr { } pre, code, kbd, samp { - background-color: #000; - /*border-radius: 8px; */ - padding: 4px; - color: #EECA3E; + background-color: lightblue; + border-radius: 8px; + padding: 8px; + color: #000; font-family: Freemono, monospace, monospace; _font-family: 'courier new', monospace; font-size: 0.98em;