summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoretienne2008-12-05 16:06:47 +0000
committeretienne2008-12-05 16:06:47 +0000
commit23de64513f703edc914a77787a804d322fc86b05 (patch)
tree79fc59f580bd17d0d6a8f8bbb5c81cfe1a2f1b5d
parente14d2f0f7d9d985d61ede02813abf04dff8e35ff (diff)
Update of the CSS
-rw-r--r--static/styles.css46
-rw-r--r--templates/category.html5
-rw-r--r--templates/main.html7
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 %}<h2>{%trans "Polls"%}</h2>{%endif%}
{% for poll in polls %}
-<p><a href='/papillon/poll/{{poll.base_url}}'>{{poll.name}}</a> {{poll.description}}</p>
+<div class='poll-description'>
+ <p><a href='/papillon/poll/{{poll.base_url}}'>{{poll.name}}</a></p>
+ <p>{{poll.description}}</p>
+</div>
{% 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 %}<p class='error'>{{error}}</p>{%endif%}
<h2><a href='edit/0'>{%trans "Create a poll"%}</a></h2>
-<p>{% trans "Create a new sondage for take a decision, find a date for a meeting, etc." %}</p>
+<p>{% trans "Create a new sondage for take a decision, find a date for a meeting, etc." %} <a href='edit/0'>{% trans "Create it!" %}</a></p>
{% if polls %}<h2>{%trans "Polls"%}</h2>{%endif%}
{% for poll in polls %}
-<p><a href='poll/{{poll.base_url}}'>{{poll.name}}</a> {{poll.description}}</p>
+<div class='poll-description'>
+ <p><a href='/papillon/poll/{{poll.base_url}}'>{{poll.name}}</a></p>
+ <p>{{poll.description}}</p>
+</div>
{% endfor %}
{% if categories %}<h2>{%trans "Categories"%}</h2>{% endif %}