diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-09-27 17:37:06 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2011-09-27 17:37:22 +0200 |
commit | 82435d047377b2e47d7fcd677bd911950e45e2c0 (patch) | |
tree | 8e51fee1e969a87c0a1e3e1a460a6de2fcd4e6e0 | |
parent | ab812a4d03d9f6bd5bfbca33c879537bb09fbc31 (diff) | |
download | sites-82435d047377b2e47d7fcd677bd911950e45e2c0.tar.gz sites-82435d047377b2e47d7fcd677bd911950e45e2c0.tar.bz2 sites-82435d047377b2e47d7fcd677bd911950e45e2c0.zip |
modified layout/css
-rw-r--r-- | static/css/main.css | 26 | ||||
-rw-r--r-- | templates/index.html | 2 | ||||
-rw-r--r-- | templates/layout.html | 6 | ||||
-rw-r--r-- | templates/new.html | 10 |
4 files changed, 18 insertions, 26 deletions
diff --git a/static/css/main.css b/static/css/main.css index 1fb5688..3c8b658 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -5,6 +5,10 @@ body { min-width: 800px; } +ul { + margin: 1em 0; +} + p.headline { font-size: 2.4em; margin: 0.3em 0; @@ -21,7 +25,7 @@ span.spline { color: red; } -#header { +.center { text-align: center; } @@ -34,7 +38,6 @@ div#title { font-size: 1.8em; font-weight: blod; padding: 5px 0; - text-align: center; } .small { @@ -43,7 +46,6 @@ div#title { #footer { font-size: 0.9em; - text-align: center; } div.info, div.create { @@ -61,22 +63,19 @@ div.create { div.header { background: #fff0d0; padding: 0.2em; + margin-bottom: 1em; } div#status .ok { color: green; } -div#status { - text-align: center; -} - div#status span { font-size: 2em; } div.create li, div.info ol li { - margin: 1em 0; + margin-bottom: 1em; } div.create li li { @@ -100,7 +99,7 @@ form th { width: 40%; } -form .wrong { +.wrong { display: block; font-weight: normal; color: red; @@ -118,12 +117,3 @@ input.submit { display: block; font-weight: bold; } - -div#info.create { - text-align: center; -} - -div#info.create .header { - text-align: left; - margin-bottom: 1em; -} diff --git a/templates/index.html b/templates/index.html index 99bf8b9..4322153 100644 --- a/templates/index.html +++ b/templates/index.html @@ -66,7 +66,7 @@ $var headline: <hr> -<div id="status"> +<div id="status" class="center"> system status:<br /> <span class="ok"> <b>+++ RUNNING +++</b> diff --git a/templates/layout.html b/templates/layout.html index 6e24a22..09d5f18 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -7,7 +7,7 @@ $def with (content) </head> <body> - <div id="header"> + <div id="header" class="center"> <table cellspacing="10" cellpadding="5"> <tr> <td> @@ -29,7 +29,7 @@ $def with (content) </table> </div> - <div id="title"> + <div id="title" class="center"> $:content.headline </div> @@ -37,7 +37,7 @@ $def with (content) $:content </div> - <div id="footer"> + <div id="footer" class="center"> <hr> Any questions? Write us an e-mail to: diff --git a/templates/new.html b/templates/new.html index 1bea143..d0897a3 100644 --- a/templates/new.html +++ b/templates/new.html @@ -60,8 +60,10 @@ $var headline: <b>Information</b> </div> - The following information will be logged:<br /> - <br /> - Your internet address: <b>$user['ip']</b><br /> - Your hostname: <b>$user['host']</b><br /> + <div class="center"> + The following information will be logged:<br /> + <br /> + Your internet address: <b>$user['ip']</b><br /> + Your hostname: <b>$user['host']</b><br /> + </div> </div> |