swerc

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

commit 88bd26d4e028162748fa3f432d284a44111a2073
parent 01ccfeb40149a94a564ca179ee8f7398c6d1589e
Author: uriel@soma <unknown>
Date:   Thu, 29 Oct 2009 09:47:19 +0000

Style cleanups and polishments.
Diffstat:
Mpub/style/style.css | 52+++++++++-------------------------------------------
1 file changed, 9 insertions(+), 43 deletions(-)

diff --git a/pub/style/style.css b/pub/style/style.css @@ -3,7 +3,7 @@ body { color: black; background-color: white; - font-family: verdana, helvetica, arial, sans-serif; + font-family: Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; font-size: 84%; /* Enables font size scaling in MSIE */ margin: 0; padding: 0; @@ -17,22 +17,18 @@ body { height: 1.6em; } -.superHeader img { - vertical-align: bottom; -} +.superHeader img { vertical-align: bottom; } .superHeader a { color: white; background-color: transparent; - text-decoration: none; font-size: 91%; margin: 0; padding: 0 0.5ex 0 0.25ex; } -.superHeader a:hover { - text-decoration: underline; -} +a { text-decoration: none; } +a:hover { text-decoration: underline; } .superHeader div { position: absolute; @@ -47,7 +43,7 @@ body { background-color: rgb(140,170,230); background-color: #ff6d06; border: solid 0 black; - border-width: 3px 0; + border-width: 2px 0; } .headerTitle { @@ -63,10 +59,8 @@ body { margin-left: 1em; } -.headerTitle a { - color: black; - text-decoration: none; -} +.headerTitle a { color: black; } +.headerTitle a:hover { text-decoration: none; } .subHeader { display: none; @@ -79,16 +73,11 @@ body { .subHeader a { color: white; background-color: transparent; - text-decoration: none; font-weight: bold; margin: 0; padding: 0 0.75ex 0 0.5ex; } -.subHeader a:hover { - text-decoration: underline; -} - .superHeader .highlight, .subHeader .highlight { color: rgb(253,160,91); background-color: transparent; @@ -132,7 +121,6 @@ li ul { #side-bar a { color: rgb(0,102,204); background-color: transparent; - text-decoration: none; margin: 0; padding: 0.25em 1ex 0.25em 2mm; display: block; @@ -174,11 +162,6 @@ li ul { text-decoration: none; } -.lighterBackground { - color: inherit; - background-color: white; -} - /* # Main Copy # */ #main-copy { @@ -205,7 +188,6 @@ li ul { #main-copy a { color: rgb(0,102,204); background-color: transparent; - text-decoration: none; } #main-copy a:hover { @@ -259,17 +241,13 @@ dd { #footer { color: white; background-color: rgb(100,135,220); - font-size: 91%; - margin: 0; - padding: 1em 2.5mm 2.5ex 2.5mm; + padding: 1em; clear: both; - border: solid 0 black; - border-width: 3px 0; } #footer .left { text-align: left; - line-height: 1.45em; + line-height: 1.55em; float: left; clear: left; } @@ -282,11 +260,6 @@ dd { #footer a { color: white; background-color: transparent; - text-decoration: none; -} - -#footer a:hover { - text-decoration: underline; } @@ -355,10 +328,3 @@ h1.dir-list-head, ul.dir-list { ul.sitemap-list a { text-transform: capitalize; } - -/* # Junk: should move elsewhere # */ -/* S-pam */ -.gpam { text-align: center; } -.gpam table, .gpam th, .gpam td { border: none; } - -