From 4a603309cda6461a1b2f9aeae9a9c10e45681056 Mon Sep 17 00:00:00 2001 From: Byron Date: Fri, 21 Oct 2011 00:40:45 -0600 Subject: starting style changes on Question template --- askbot/skins/default/media/style/style.css | 110 ++++++++++++--------- .../default/templates/question/question_card.html | 2 +- .../skins/default/templates/question/sidebar.html | 8 +- 3 files changed, 69 insertions(+), 51 deletions(-) diff --git a/askbot/skins/default/media/style/style.css b/askbot/skins/default/media/style/style.css index 54f78880..9847a290 100644 --- a/askbot/skins/default/media/style/style.css +++ b/askbot/skins/default/media/style/style.css @@ -1261,13 +1261,76 @@ span.delete-icon:hover { vertical-align: text-bottom; } - .edit-content-html { border-top: 1px dotted #D8D2A9; border-bottom: 1px dotted #D8D2A9; margin: 5px 0 5px 0; } +/* ----- Question template ----- */ + +.question-page{ + + h1 a{ + color:@question-link; + font-size:30px; + font-weight:normal; + line-height:1; + } + + p.rss { + float:none; + clear:both; + padding: 3px 0 0 1px; + font-size: 14px; + } + + p.rss a { + padding-left: 18px; + vertical-align: top; + } +} + +.question-body, .answer-body { + min-height: 39px; + line-height: 20px; + overflow: auto; + width: 660px; + font-family:@trebuchet; + color:#4b4b4b; +} + +.question-body p, .answer-body p{ + font-size:13px; +} +.question-body IMG, .answer-body IMG { + max-width: 600px; +} + + +#question-table, +.answer-table { + margin: 2px 0 10px 0; + border-spacing: 0px; + width: 100%; +} + +.answer-table { + border-bottom: 1px solid #bbb; + clear: both; +} + +.answer-table td, +#question-table td { + width:30px; + vertical-align:top; +} + +#questionTools { + font-size: 22px; + margin-top: 11px; + text-align: left; +} /* ----- Footer links , check blocks/footer.html----- */ @@ -1318,42 +1381,6 @@ span.delete-icon:hover { } } -.question-page p.rss { - float:none; - clear:both; - padding: 3px 0 0 1px; - font-size: 14px; -} - -.question-page p.rss a { - padding-left: 18px; - vertical-align: top; -} - -#question-table, -.answer-table { - margin: 2px 0 10px 0; - border-spacing: 0px; - width: 100%; -} - -.answer-table { - border-bottom: 1px solid #bbb; - clear: both; -} - -.answer-table td, -#question-table td { - width:30px; - vertical-align:top; -} - -#questionTools { - font-size: 22px; - margin-top: 11px; - text-align: left; -} - /* badges */ a.medal { @@ -1402,15 +1429,6 @@ a:hover.medal { .question-status h3 { font-size: 125%; } -.question-body, .answer-body { - min-height: 39px; - line-height: 20px; - overflow: auto; - width: 660px; -} -.question-body IMG, .answer-body IMG { - max-width: 600px; -} .vote-buttons { float: left; diff --git a/askbot/skins/default/templates/question/question_card.html b/askbot/skins/default/templates/question/question_card.html index a1ea0e93..9364d3fd 100644 --- a/askbot/skins/default/templates/question/question_card.html +++ b/askbot/skins/default/templates/question/question_card.html @@ -1,4 +1,5 @@

{{ question.get_question_title() }}

+{% include "question/question_tags.html" %}
@@ -11,7 +12,6 @@
{{question.html}}
- {% include "question/question_tags.html" %}
{% include "question/question_controls.html" %}
diff --git a/askbot/skins/default/templates/question/sidebar.html b/askbot/skins/default/templates/question/sidebar.html index 3923f06c..ab3a9ace 100644 --- a/askbot/skins/default/templates/question/sidebar.html +++ b/askbot/skins/default/templates/question/sidebar.html @@ -1,6 +1,6 @@ {% import "macros.html" as macros %} {{ settings.SIDEBAR_QUESTION_HEADER }} -