swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit cb0c4a0f642d5c443c01d8323b84411e5d07c011
parent c29b110e53662136d885b3d1634e1c7d2250db55
Author: garbeam@gmail.com <unknown>
Date:   Sat,  4 Feb 2012 18:43:20 +0100

final tweaks
Diffstat:
Mlib/default_master.tpl | 7+++++++
Mpub/style.css | 22++++++++++++++++++++--
2 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/lib/default_master.tpl b/lib/default_master.tpl @@ -1,3 +1,10 @@ + <div id="menu"> + <a href="http://garbe.us">home</a> | + <a href="http://dl.garbe.us">download</a> | + <a href="http://suckless.org">suckless.org</a> | + <a href="http://hg.suckless.org">code</a> | + <a href="http://dl.suckless.org">software</a> + </div> <div id="header"> <a href="/">%($"siteTitle%) <span id="headerSubTitle">%($"siteSubTitle%)</span></a> </div> diff --git a/pub/style.css b/pub/style.css @@ -16,12 +16,30 @@ a:hover { color: #666; } +#menu { + clear: both; + color: #fff; + background-color: #36c; + padding: 0.7ex; + font-size: 84%; +} + +#menu a { + padding: 0.5ex 1ex 0.5ex 1ex; + color: #fff; +} + +#menu a:hover { + color: #eee; +} + #header { clear: both; color: #666; text-shadow: 1px 1px #fff; font-size: 1.7em; padding: 0.7ex; + border-top: 1px solid #ccc; } #header a { @@ -62,7 +80,7 @@ h4 { background-color: #fff; float: left; margin: 0 1px 0 0; - padding: 0; + padding: 1em 0; border-right: 1px solid #ccc; width: 200px; } @@ -101,7 +119,7 @@ h4 { #main { margin: 0 0 0 200px; - padding: 1.5em 1em 1.5em 2em; + padding: 1.5em; max-width: 50em; border-left: 1px solid #ccc; }