fixed target directory for post compiling
This commit is contained in:
parent
bb247b4ebe
commit
099bffaf5a
2
make.sh
2
make.sh
@ -5,7 +5,7 @@ post() {
|
|||||||
if [ -f markdown/post/$1 ]
|
if [ -f markdown/post/$1 ]
|
||||||
then
|
then
|
||||||
# CSS file is always relative to the target html location
|
# 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
|
else
|
||||||
# error message incase file was not found
|
# error message incase file was not found
|
||||||
echo "File \"$1\" not found in markdown/post"
|
echo "File \"$1\" not found in markdown/post"
|
||||||
|
@ -7,11 +7,11 @@ html {
|
|||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Fixedsys';
|
font-family: 'Fixedsys';
|
||||||
src: url(./fonts/FSEX300.ttf);
|
src: url(../fonts/FSEX300.ttf);
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Freemono';
|
font-family: 'Freemono';
|
||||||
src: url(./fonts/FreeMono.otf);
|
src: url(../fonts/FreeMono.otf);
|
||||||
}
|
}
|
||||||
/* sick nav bar */
|
/* sick nav bar */
|
||||||
.topnav {
|
.topnav {
|
||||||
@ -49,6 +49,8 @@ body {
|
|||||||
padding: 1em;
|
padding: 1em;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
max-width: 42em;
|
max-width: 42em;
|
||||||
|
/*background-image: url("./img/backt.png");*/
|
||||||
|
background-repeat: repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Link stuff */
|
/* Link stuff */
|
||||||
@ -96,7 +98,6 @@ a::selection {
|
|||||||
|
|
||||||
p {
|
p {
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
color: #F1C6A7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
@ -157,10 +158,10 @@ hr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre, code, kbd, samp {
|
pre, code, kbd, samp {
|
||||||
background-color: #000;
|
background-color: lightblue;
|
||||||
/*border-radius: 8px; */
|
border-radius: 8px;
|
||||||
padding: 4px;
|
padding: 8px;
|
||||||
color: #EECA3E;
|
color: #000;
|
||||||
font-family: Freemono, monospace, monospace;
|
font-family: Freemono, monospace, monospace;
|
||||||
_font-family: 'courier new', monospace;
|
_font-family: 'courier new', monospace;
|
||||||
font-size: 0.98em;
|
font-size: 0.98em;
|
||||||
|
Loading…
Reference in New Issue
Block a user