diff options
| author | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2008-08-06 10:38:57 +0000 |
|---|---|---|
| committer | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2008-08-06 10:38:57 +0000 |
| commit | feef03bf7fd80e945769597245da3b75b662459b (patch) | |
| tree | c434828f6a7ae966c17a157c535cd88b4ee04913 | |
| parent | b2019ae7c6c13601b0f63d6324484010dc0216c7 (diff) | |
| download | Papillon-feef03bf7fd80e945769597245da3b75b662459b.tar.bz2 Papillon-feef03bf7fd80e945769597245da3b75b662459b.zip | |
Update of styles
| -rw-r--r-- | static/bg.jpg | bin | 0 -> 5124 bytes | |||
| -rw-r--r-- | static/styles.css | 30 | ||||
| -rw-r--r-- | templates/base.html | 2 | ||||
| -rw-r--r-- | templates/vote.html | 4 |
4 files changed, 26 insertions, 10 deletions
diff --git a/static/bg.jpg b/static/bg.jpg Binary files differnew file mode 100644 index 0000000..ae1caf4 --- /dev/null +++ b/static/bg.jpg diff --git a/static/styles.css b/static/styles.css index 4819fcb..7728000 100644 --- a/static/styles.css +++ b/static/styles.css @@ -1,13 +1,22 @@ /* -Copyright (C) 2008 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> +Copyright (C) 2008 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> This program can be distributed under the terms of the GNU GPL. See the file COPYING. */ body{ -background-color:#ced3e1; margin:0; font-size:12px; +background-color:#ced3e1; +} + +#main{ +background-color:white; +border:1px solid; +margin:20px; +background-image: url(bg.jpg); +background-repeat:no-repeat; +background-position:top right; } h1, h1 a{ @@ -30,8 +39,6 @@ font-size:24px; } p{ -background-color:white; -border:1px solid black; padding:6px; margin:6px; width:600px; @@ -61,18 +68,25 @@ font-size:11px; margin:5px; } +#poll_table{ +overflow:auto; +} + table.poll{ text-align:center; } +.poll a{ +color:black; +} + .poll td{ -background-color:white; border:1px solid black; padding:0; } .poll th{ -background-color:white; +background-color:#ced3e1; border:1px solid black; padding:5px; } @@ -90,18 +104,16 @@ background-color:#b9b3bd; } td.simple{ -background-color:#ced3e1; border:None; } .sum th{ -background-color:#ced3e1; +background-color:white; border:None; text-align:center; } .sum td{ -background-color:#ced3e1; border:None; font-weight:bold; } diff --git a/templates/base.html b/templates/base.html index be42e2c..53bc3cf 100644 --- a/templates/base.html +++ b/templates/base.html @@ -7,12 +7,14 @@ </head> <body> +<div id="main"> <div id="top"> <h1><a href='http://{{root_url}}'>Papillon</a></h1> </div> <div id="content"> {% block content %}{% endblock %} </div> +</div> </body> </html> diff --git a/templates/vote.html b/templates/vote.html index 7890db4..19150d2 100644 --- a/templates/vote.html +++ b/templates/vote.html @@ -4,7 +4,8 @@ <h2>{{poll_type_name}} - {{poll_name}}</h2> {% if error %}<p class='error'>{{ error }}</p>{% endif %} <p>{{poll_desc}}</p> - <form method="post" action="{{base_url}}"> + <form method='post' action='{{base_url}}'> + <div id='poll_table'> <table class='poll'> <tr> <td class='simple'></td> @@ -35,6 +36,7 @@ {% endfor %} </tr> </table> + </div> <input type='submit' value='{%if current_voter_id%}Edit{%else%}Participate{%endif%}'/> </form> {% endblock %} |
