From 23de64513f703edc914a77787a804d322fc86b05 Mon Sep 17 00:00:00 2001 From: etienne Date: Fri, 5 Dec 2008 16:06:47 +0000 Subject: Update of the CSS --- static/styles.css | 46 ++++++++++++++++++++++++++++++++++++---------- templates/category.html | 5 ++++- templates/main.html | 7 +++++-- 3 files changed, 45 insertions(+), 13 deletions(-) diff --git a/static/styles.css b/static/styles.css index 8a83a8a..0d44f63 100644 --- a/static/styles.css +++ b/static/styles.css @@ -20,7 +20,7 @@ See the file COPYING for details. body{ margin:0; font-size:12px; -font-family:arial; +font-family: Arial, Verdana, Geneva, "Bitstream Vera Sans", Helvetica, sans-serif; background-color:#ced3e1; } @@ -28,9 +28,14 @@ a{ color:#6f819d; } +h1, h2, h3, h4, h5 { +font-family: Georgia, "Bitstream Vera Serif", "New York", Palatino, serif; +font-weight:normal; +} + h1, h1 a{ margin:0; -margin-top:2px;; +margin-top:2px; border:1px solid black; border-right:None; border-left:None; @@ -41,25 +46,33 @@ font-size:32px; text-decoration:None; } -h2, h2 a{ -color:black; +h2{ +font-style:italic; border-bottom:1px dashed black; -text-decoration:None; -margin:10px; +margin-left:10px; +padding:0; font-size:24px; } +h2 a{ +color:black; +text-decoration:None; +} + h2 a:hover{ color:grey; } -h3, h3 a{ -color:black; -text-decoration:None; +h3{ margin:10px; font-size:20px; } +h3 a{ +color:black; +text-decoration:None; +} + h3 a:hover{ color:grey; } @@ -81,7 +94,9 @@ text-align:left; } label{ -font-weight:bold; +font-family: Georgia, "Bitstream Vera Serif", "New York", Palatino, serif; +font-weight:normal; +font-style:italic; } hr.spacer{ @@ -216,4 +231,15 @@ color:white; #syndication{ padding:10px; +} + +.poll-description{ +margin:4px; +padding:4px; +border:1px solid lightgrey; +} + +.poll-description p{ +margin:0; +padding:2px; } \ No newline at end of file diff --git a/templates/category.html b/templates/category.html index 4a2189c..f649565 100644 --- a/templates/category.html +++ b/templates/category.html @@ -7,7 +7,10 @@ {% if polls %}

{%trans "Polls"%}

{%endif%} {% for poll in polls %} -

{{poll.name}} {{poll.description}}

+
+

{{poll.name}}

+

{{poll.description}}

+
{% endfor %} {% endblock %} diff --git a/templates/main.html b/templates/main.html index 59adba7..6c1e09d 100644 --- a/templates/main.html +++ b/templates/main.html @@ -4,11 +4,14 @@ {% block content %} {% if error %}

{{error}}

{%endif%}

{%trans "Create a poll"%}

-

{% trans "Create a new sondage for take a decision, find a date for a meeting, etc." %}

+

{% trans "Create a new sondage for take a decision, find a date for a meeting, etc." %} {% trans "Create it!" %}

{% if polls %}

{%trans "Polls"%}

{%endif%} {% for poll in polls %} -

{{poll.name}} {{poll.description}}

+
+

{{poll.name}}

+

{{poll.description}}

+
{% endfor %} {% if categories %}

{%trans "Categories"%}

{% endif %} -- cgit v1.2.3