monochromatic

monochromatic blog: http://blog.z3bra.org
git clone git://z3bra.org/monochromatic
Log | Files | Refs

commit 2a039c60bf8aa5b7774895e7a95f6056fd5a6744
parent 370abc6214d8728b261fc073f495eec120325500
Author: Willy Goiffon <w.goiffon@gmail.com>
Date:   Fri,  9 Aug 2013 00:12:16 +0200

changed footer to be less visible (and removed div spacer)

Diffstat:
2013/08/test-your-css.html | 3++-
about.html | 3++-
css/monochrome.css | 8+++++++-
foot.template | 5++---
index.html | 3++-
update.sh | 4++--
6 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/2013/08/test-your-css.html b/2013/08/test-your-css.html @@ -106,8 +106,9 @@ main (<span class="Type">int</span> argc, <span class="Type">char</span> **argv) </div> <div id='blank'></div> <!-- Footer {{{ --> + <!-- footer {{{ --> <footer> - &copy; 2013 WTFPL &mdash; <a href='http://www.wtfpl.net/about/'>Do What the Fuck You Want to Public License</a> + &copy; 2013 wtfpl &mdash; <a href='http://www.wtfpl.net/about/'>do what the fuck you want to public license</a> &mdash; contact : &lt;<a href='mailto:willy@mailoo.org'>willy at mailoo dot org</a>&gt; </footer> <!-- }}} --> diff --git a/about.html b/about.html @@ -62,8 +62,9 @@ </div> <div id='blank'></div> <!-- Footer {{{ --> + <!-- footer {{{ --> <footer> - &copy; 2013 WTFPL &mdash; <a href='http://www.wtfpl.net/about/'>Do What the Fuck You Want to Public License</a> + &copy; 2013 wtfpl &mdash; <a href='http://www.wtfpl.net/about/'>do what the fuck you want to public license</a> &mdash; contact : &lt;<a href='mailto:willy@mailoo.org'>willy at mailoo dot org</a>&gt; </footer> <!-- }}} --> diff --git a/css/monochrome.css b/css/monochrome.css @@ -35,13 +35,19 @@ hr { box-shadow: 0px 1px 1px #000; } -header, footer { +header { background-color: #111; padding: 10px; } footer { + font-size:60%; text-align: center; + margin: auto; + width: 70%; + max-width: 700px; + border-top:1px solid #333; + padding: 10px; } article { diff --git a/foot.template b/foot.template @@ -1,7 +1,6 @@ - <div id='blank'></div> - <!-- Footer {{{ --> + <!-- footer {{{ --> <footer> - &copy; 2013 WTFPL &mdash; <a href='http://www.wtfpl.net/about/'>Do What the Fuck You Want to Public License</a> + &copy; 2013 wtfpl &mdash; <a href='http://www.wtfpl.net/about/'>do what the fuck you want to public license</a> &mdash; contact : &lt;<a href='mailto:willy@mailoo.org'>willy at mailoo dot org</a>&gt; </footer> <!-- }}} --> diff --git a/index.html b/index.html @@ -31,8 +31,9 @@ </div> <div id='blank'></div> <!-- Footer {{{ --> + <!-- footer {{{ --> <footer> - &copy; 2013 WTFPL &mdash; <a href='http://www.wtfpl.net/about/'>Do What the Fuck You Want to Public License</a> + &copy; 2013 wtfpl &mdash; <a href='http://www.wtfpl.net/about/'>do what the fuck you want to public license</a> &mdash; contact : &lt;<a href='mailto:willy@mailoo.org'>willy at mailoo dot org</a>&gt; </footer> <!-- }}} --> diff --git a/update.sh b/update.sh @@ -1,9 +1,9 @@ #!/bin/bash for file in $(find . -name '*.html'); do - if [[ -n "$(cat $file|tr -d '\n' |grep -E '</header>.*<footer')" ]]; then + if [[ -n "$(cat $file|tr -d '\n' |grep -E '</header>.*<footer>')" ]]; then cat head.template > buffer.html - sed '1,/<\/header>/d;/<div id=.blank.>/,$d' $file >> buffer.html + sed '1,/<\/header>/d;/<footer>/,$d' $file >> buffer.html cat foot.template >> buffer.html mv buffer.html $file