summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron <byroncorrales@gmail.com>2011-10-21 00:40:45 -0600
committerByron <byroncorrales@gmail.com>2011-10-21 00:40:45 -0600
commit4a603309cda6461a1b2f9aeae9a9c10e45681056 (patch)
treeeea26b7bca971a6864be336e7f660648be0d4e6e
parentd469ca3a84989bd6a1bf7f0a7b05fcb65a90602d (diff)
downloadaskbot-4a603309cda6461a1b2f9aeae9a9c10e45681056.tar.gz
askbot-4a603309cda6461a1b2f9aeae9a9c10e45681056.tar.bz2
askbot-4a603309cda6461a1b2f9aeae9a9c10e45681056.zip
starting style changes on Question template
-rw-r--r--askbot/skins/default/media/style/style.css110
-rw-r--r--askbot/skins/default/templates/question/question_card.html2
-rw-r--r--askbot/skins/default/templates/question/sidebar.html8
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 @@
<h1><a href="{{ question.get_absolute_url() }}">{{ question.get_question_title() }}</a></h1>
+{% include "question/question_tags.html" %}
<table id="question-table" {% if question.deleted %}class="deleted"{%endif%}>
<tr>
<td>
@@ -11,7 +12,6 @@
<div class="question-body">
{{question.html}}
</div>
- {% include "question/question_tags.html" %}
<div id="question-controls" class="post-controls">
{% include "question/question_controls.html" %}
</div>
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 }}
-<div class="boxC vote-buttons">
+<div class="box vote-buttons">
<h2 id="questionTools">{% trans %}Question tools{% endtrans %}</h2>
{% if favorited %}
<a class="button followed"
@@ -39,7 +39,7 @@
</div>
{% cache 0 "questions_tags" questions_tags question.id language_code %}
{% if settings.SIDEBAR_QUESTION_SHOW_TAGS %}
- <div class="boxC">
+ <div class="box">
<div class="clearfix"></div>
<h2>
{% trans %}Question tags{% endtrans %}:
@@ -62,7 +62,7 @@
{% endif %}
{% if settings.SIDEBAR_QUESTION_SHOW_META %}
-<div class="boxC">
+<div class="box">
<div class="clearfix"></div>
<h2>{% trans %}Stats:{% endtrans %}</h2>
<p>
@@ -80,7 +80,7 @@
{% if similar_questions.data and settings.SIDEBAR_QUESTION_SHOW_RELATED %}
{#% cache 1800 "related_questions" related_questions question.id language_code %#}
- <div class="boxC">
+ <div class="box">
<h2>{% trans %}Related questions{% endtrans %}</h2>
<div class="questions-related">
{% for question in similar_questions.data() %}