fixed target directory for post compiling

This commit is contained in:
Medium Fries 2018-12-22 21:51:12 -08:00
parent bb247b4ebe
commit 099bffaf5a
2 changed files with 10 additions and 9 deletions

View File

@ -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"

View File

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