From 92db7e2b31deb5101eb1c46cc7f7388488bf7ec0 Mon Sep 17 00:00:00 2001 From: yomguy Date: Sun, 6 Jan 2013 23:47:42 +0100 Subject: [PATCH] fix some ul styles --- teleforma/static/teleforma/css/teleforma.css | 76 ++++++++++++++----- .../templates/teleforma/answer_form.html | 2 +- 2 files changed, 56 insertions(+), 22 deletions(-) diff --git a/teleforma/static/teleforma/css/teleforma.css b/teleforma/static/teleforma/css/teleforma.css index ad07293e..0ab89f2f 100644 --- a/teleforma/static/teleforma/css/teleforma.css +++ b/teleforma/static/teleforma/css/teleforma.css @@ -15,6 +15,29 @@ body { background-repeat:repeat } +/* LAYOUT (sticking footer) */ + +* { +margin: 0; +} + +html, body { +height: 100%; +} + +#layout { +min-height: 100%; +height: auto !important; +height: 100%; +margin: 0 auto -58px; +} + +#footer { +height: 30px; +} + + + /*a:link, a:visited { color: #BB0000; text-decoration:none; @@ -66,28 +89,34 @@ a img { border: none; } #content ul, #content ul ul, #content ol { list-style: square; - padding: .7em; + padding: .5em; padding-left: 2em; font-size: 0.8em; clear: both; } + #content ul ul { - font-size: 1.1em; - padding-left: 0; + font-size: 0.9em; + padding-left: 0em; + list-style: circle; } + #content li { padding: .2em; - padding-left: 0; + padding-left: 0em; } + #content li a { - padding: .1em 0; + padding: .1em 0em; } + #content h1 { color: #000000; font-weight: bold; display: inline; font-size: 1.2em; } + #content h3 { color: #000000; font-weight: bold; @@ -1797,6 +1826,7 @@ form .exceed{ font: 1em Verdana, sans-serif; line-height: 1.3em; color: #333; + width: 100%; } @@ -1856,28 +1886,32 @@ form .exceed{ } -#_Form p { - font-weight: bold; +#index ul, #index ul ul, #index ol { + list-style: square; + padding: .3em; + padding-left: 2em; + font-size: 1em; + clear: both; } - -/* LAYOUT (sticking footer) */ - -* { -margin: 0; +#index ul ul { + font-size: 0.9em; + padding-left: 0em; + list-style: circle; } -html, body { -height: 100%; +#index li { + padding: .2em; + padding-left: 0em; } -#layout { -min-height: 100%; -height: auto !important; -height: 100%; -margin: 0 auto -58px; +#index li a { + padding: .1em 0em; } -#footer { -height: 30px; + + +#_Form p { + font-weight: bold; } + diff --git a/teleforma/templates/teleforma/answer_form.html b/teleforma/templates/teleforma/answer_form.html index ced6a01c..a0ff1835 100644 --- a/teleforma/templates/teleforma/answer_form.html +++ b/teleforma/templates/teleforma/answer_form.html @@ -45,7 +45,7 @@ $(document).ready(function(){

{% trans "Step" %} 4 : {% trans "answer to this question" %} ({{question.min_nchar}} {% trans "characters" %} {% trans "minimum" %})

-
+
{{ question.question|safe }}
-- 2.39.5