swerc

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

commit a657c8b92749842752d333d201ff1bb6ddd81fdd
parent 8fbd8cc5cf3ed1d4349a58bae0de7f72790af2ff
Author: Anselm R Garbe <anselm@garbe.us>
Date:   Mon, 13 Jun 2016 14:16:46 +0200

some adjustments in 2016

Diffstat:
Mpub/style.css | 25+++++++++++++------------
Mtpl/404.tpl | 2+-
Mtpl/master.tpl | 17+++++++++++++++--
3 files changed, 29 insertions(+), 15 deletions(-)

diff --git a/pub/style.css b/pub/style.css @@ -1,13 +1,13 @@ body { background-color: #eee; - color: #111; + color: #222; /*#111;*/ font-family: sans-serif; padding: 0; margin: 0; } a { - color: #058; + color: #005386; /*#058;*/ text-decoration: none; } @@ -37,19 +37,20 @@ a:hover { #menu a.thisSite { font-weight: bold; - font-style: italic; + /*font-style: italic;*/ } #header { clear: both; - color: #666; - text-shadow: 1px 1px #fff; - font-size: 1.7em; + color: #555; /*#666;*/ + /*text-shadow: 1px 1px #fff;*/ + font-size: 1.78em; /*1.7em;*/ padding: 0.7ex 0.7ex 0.7ex 0.7em; } -#header a { - color: #666; +#headerLink { + color: #17a; /*#666;*/ + margin-left: 5px; } h1 { @@ -64,12 +65,12 @@ h2 { h3 { margin: 1em 1ex 0.5ex 0; - font-size: 1.2em; + font-size: 1.0em; } h4 { margin: 1em 1ex 0.5ex 0; - font-size: 1.1em; + font-size: 0.9em; } #headerSubtitle { @@ -117,9 +118,9 @@ h4 { } #nav li a.thisPage { - color: #333; + color: #222; /*#333;*/ font-weight: bold; - font-style: italic; + /*font-style: italic;*/ } #main { diff --git a/tpl/404.tpl b/tpl/404.tpl @@ -1,3 +1,3 @@ <h1>The requested document at '<i>%($base_url$"req_path%)</i>' doesn't exist</h1> -<h4>Or take a look at the <a href="/sitemap">sitemap</a>.</h4> +<p><strong>Or take a look at the <a href="/sitemap">sitemap</a>.</strong></p> diff --git a/tpl/master.tpl b/tpl/master.tpl @@ -7,7 +7,8 @@ </head> <body> <div id="header"> - <a href="/">%($"siteTitle%)</a> <span id="headerSubtitle">%($"siteSubtitle%)</span> + <a href="/"><img src="http://suckless.org/logo.svg" /></a> + <a id="headerLink" href="/">%($"siteTitle%)</a> <span id="headerSubtitle">%($"siteSubtitle%)</span> </div> <div id="menu"> @@ -30,6 +31,12 @@ % if not { <a href="http://st.suckless.org">st</a> % } +% if(~ $site 'core.suckless.org') { + <a class="thisSite" href="http://core.suckless.org">core</a> +% } +% if not { + <a href="http://core.suckless.org">core</a> +% } % if(~ $site 'sta.li') { <a class="thisSite" href="http://sta.li">stali</a> % } @@ -48,6 +55,12 @@ % if not { <a href="http://tools.suckless.org">tools</a> % } +% if(~ $site 'libs.suckless.org') { + <a class="thisSite" href="http://libs.suckless.org">libs</a> +% } +% if not { + <a href="http://libs.suckless.org">libs</a> +% } </span> <span class="right"> <a href="http://dl.suckless.org">download</a> @@ -78,7 +91,7 @@ <div id="footer"> <span class="right"> - &copy; 2006-2015 suckless.org community | <a href="http://garbe.us/Contact">Impressum</a> + &copy; 2006-2016 suckless.org community | <a href="http://garbe.us/Contact">Impressum</a> </span> </div> </body>