From 60b436532e5857d3e1ff79a9ba64942085906d79 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 9 Dec 2011 17:10:44 +0100 Subject: [PATCH] Style/whitespace changes --- static/css/login.css | 2 +- static/css/main.css | 178 +++++++++++++++++++++---------------------- templates/base.html | 7 +- 3 files changed, 93 insertions(+), 94 deletions(-) diff --git a/static/css/login.css b/static/css/login.css index a9ab3ed..4b4dd1d 100644 --- a/static/css/login.css +++ b/static/css/login.css @@ -5,7 +5,7 @@ p.errornote { margin: 0; - color: #CC0000; + color: #CC0000; } .errorlist { diff --git a/static/css/main.css b/static/css/main.css index cb37520..8ca8ab3 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1,26 +1,26 @@ * { - border : 0; - margin : 0; - padding : 0; + border: 0; + margin: 0; + padding: 0; } a { - color : #FFC000; - text-decoration : none; + color: #FFC000; + text-decoration: none; } a:hover { - text-decoration : underline; + text-decoration: underline; } a:visited { - color : #FF8A00; + color: #FF8A00; } body { - background-color : #000000; - color : #000000; - font-family : "DejaVu Sans", sans, sans-serif; + background-color: #000000; + color: #000000; + font-family: "DejaVu Sans", sans, sans-serif; } dd { @@ -28,175 +28,175 @@ dd { } p { - margin : 1em 0px; + margin: 1em 0px; } ul { - margin : 1em 0; - padding-left : 40px; + margin: 1em 0; + padding-left: 40px; } #body { - background-color : #777; + background-color: #777; } #container { - margin : 0 auto 0 auto; - width : 700px; + margin: 0 auto 0 auto; + width: 700px; } #container #footer { - background-color : #0C191C; - color : #EEEEEC; - font-size : 10px; - padding : 5px; - border-bottom-left-radius: 5px; + background-color: #0C191C; + color: #EEEEEC; + font-size: 10px; + padding: 5px; + border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } #content { - margin-left : 100px; - padding: 5px 20px 1px 20px; + margin-left: 100px; + padding: 5px 20px 1px 20px; } #content .container { - color : #EEEEEC; + color: #EEEEEC; } #content .container .header { - background-color : transparent; - padding-bottom : 5px; - padding-left : 0; - padding-top : 5px; + background-color: transparent; + padding-bottom: 5px; + padding-left: 0; + padding-top: 5px; } #content .container .header a { - color : inherit; - text-decoration : none; + color: inherit; + text-decoration: none; } #content .container .header span.tagline { - color: #EEEEEC; + color: #EEEEEC; font-size: 12px; } #content .container .header span.title { - background-color : #2E3436; - left : -5px; - padding : 5px; - position : relative; - top : -5px; + background-color: #2E3436; + left: -5px; + padding: 5px; + position: relative; + top: -5px; } #header { - background-color : #252A2B; + background-color: #252A2B; } #subheader { background-color: #0c181b; - color: #fff; - text-align: right; - font-size: 12px; - padding: 5px; + color: #fff; + text-align: right; + font-size: 12px; + padding: 5px; } #logo { - float : left; - height : 100px; - margin : 0 20px 23px 0; - width : 100px; + float: left; + height: 100px; + margin: 0 20px 23px 0; + width: 100px; } #ryu { - color : #F57900; + color: #F57900; position: relative; - top: -3px; + top: -3px; } #slash { - position: relative; - top: 3px; + position: relative; + top: 3px; } #menu { - margin-left : -5px; - float : left; - width : 100px; - clear: left; + margin-left: -5px; + float: left; + width: 100px; + clear: left; } #menu a { - color : #FFC000; - text-decoration : none; + color: #FFC000; + text-decoration: none; } #title { - color : #EEEEEC; - height : 50px; - line-height : 50px; + color: #EEEEEC; + height: 50px; + line-height: 50px; } #title sup { - font-size : 11px; - position : relative; - top : 5px; + font-size: 11px; + position: relative; + top: 5px; } .activity_even { - background-color : #2E3436; + background-color: #2E3436; } .activity_even, .activity_uneven { - border-bottom : 1px solid #444444; - color : #EEEEEC; - font-size : 12px; - margin: 0 20px; - padding : 2px 0 2px 5px; + border-bottom: 1px solid #444444; + color: #EEEEEC; + font-size: 12px; + margin: 0 20px; + padding: 2px 0 2px 5px; } .activity_last { - border-bottom : none; + border-bottom: none; } .activity_uneven { - background-color : #0C191C; + background-color: #0C191C; } .container { - background-color : #0C191C; - border : 1px solid #2E3436; - margin-bottom : 20px; - padding : 2px 5px; - padding-left : 10px; + background-color: #0C191C; + border: 1px solid #2E3436; + margin-bottom: 20px; + padding: 2px 5px; + padding-left: 10px; } .clear { - clear : both; + clear: both; } .clearleft { - clear : left; + clear: left; } .container .header { - background-color : #2E3436; - color : #F57900; - font-weight : bold; - margin : -2px -5px 0 -10px; - padding-left : 5px; + background-color: #2E3436; + color: #F57900; + font-weight: bold; + margin: -2px -5px 0 -10px; + padding-left: 5px; } .container .footer { - background-color : #2E3436; - color : #0C191C; - font-size : 10px; - margin : 0 -5px -2px -10px; - padding-left : 5px; + background-color: #2E3436; + color: #0C191C; + font-size: 10px; + margin: 0 -5px -2px -10px; + padding-left: 5px; } .emblems { text-align: right; - float: right; + float: right; margin-top: -2px; } @@ -205,9 +205,9 @@ ul { } .navigation a { - color : #FFC000; + color: #FFC000; } .navigation a.next { - float : right; + float: right; } diff --git a/templates/base.html b/templates/base.html index c90a588..c6d6c26 100644 --- a/templates/base.html +++ b/templates/base.html @@ -10,6 +10,7 @@