Began adding a thoughts theme that more closely resembles the horror story article theme
This means that some article CSS is duplicated; this will be resolved in the futuremaster
parent
2c4b4f368a
commit
b4244adfe1
15
Makefile
15
Makefile
|
@ -30,6 +30,8 @@ thoughts:
|
|||
-d 'The miscellaneous thoughts and ramblings of a free software hacker' \
|
||||
-c 'Mike Gerwitz' \
|
||||
-l 'Verbatim redistribution of this document in its entirety is permitted so long as this copyright notice is preserved.' \
|
||||
-C '/style.css' \
|
||||
-T "$(PWD)/tpl" \
|
||||
-R40 \
|
||||
'http://mikegerwitz.com/thoughts/' \
|
||||
> index.html
|
||||
|
@ -44,12 +46,13 @@ thoughts:
|
|||
./tools/mgify "$@"
|
||||
|
||||
www-root: $(articles) thoughts
|
||||
mkdir -p www-root/papers \
|
||||
&& cp index.html www-root/ \
|
||||
&& cp papers/*.html www-root/papers/ \
|
||||
&& cp -r [0-9]* www-root/ \
|
||||
&& cp -r images/ www-root/ \
|
||||
&& ln -sf ../images www-root/papers/images
|
||||
mkdir -p www-root/papers
|
||||
cp index.html www-root/
|
||||
cp papers/*.html www-root/papers/
|
||||
cp -r [0-9]* www-root/
|
||||
cp -r images/ www-root/
|
||||
cp style.css www-root/
|
||||
ln -sf ../images www-root/papers/images
|
||||
|
||||
clean:
|
||||
rm -rf [0-9]*/
|
||||
|
|
|
@ -0,0 +1,46 @@
|
|||
body {
|
||||
margin: 1em 5em;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
/* hanging */
|
||||
header, footer {
|
||||
margin: 0em -3em;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
font-family: 'URW Gothic L', 'Avant Garde', sans-serif;
|
||||
}
|
||||
|
||||
h1 { font-size: 1.6em; }
|
||||
h2 { font-size: 1.3em; }
|
||||
|
||||
h2.date {
|
||||
margin-top: -0.5em;
|
||||
}
|
||||
|
||||
p#ref-0 {
|
||||
margin-top: 2em;
|
||||
}
|
||||
p.ref {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
#gnuinside {
|
||||
position: absolute;
|
||||
display: block;
|
||||
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
footer {
|
||||
font-size: 0.9em;
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
footer .commit-id {
|
||||
font-family: monospace;
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Basic template configuration; command-line options will override
|
||||
|
||||
html_external_css=/style.css
|
||||
|
||||
# additional content in the footer before the copyright
|
||||
html_footer=$(cat <<EOM
|
||||
<a href="/about/inside/" id="gnuinside">
|
||||
<img src="/images/gnulinuxinside.png" alt="GNU/Linux Inside!" />
|
||||
</a>
|
||||
EOM
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# invoke the default template
|
||||
resume-default commit
|
Loading…
Reference in New Issue