Permalink
Browse files

More planet css fixes

  • Loading branch information...
elpaso committed Oct 30, 2012
1 parent 6b3cc97 commit 47cda3e2fd2ed717ba3d67e03cdc9d5e3d0fda65
Showing with 11 additions and 8 deletions.
  1. +7 −2 qgis-app/static/style/planet.css
  2. +4 −6 qgis-app/templates/feedjack/default/post_list.html
@@ -183,18 +183,23 @@ a:hover {
padding-left: 1em;
}
-div.date {
+div.post-meta span.date {
font-weight: bold;
}
+div.post-meta span.name {
+ font-style: italic;
+}
+
div.post {
margin-bottom: 2em;
clear: both;
}
div.post-title {
font-size: 200%;
- margin: 0.5em;
+ margin: 0.5em 0;
+ line-height: 1.4em;
}
div.avatar {
@@ -107,26 +107,24 @@ <h4>Tags</h4>
{% for item in object_list %}
- {% ifchanged %}
- <div class="date">{{ item.date_modified|date:"F j, Y" }}</div>
- {% endifchanged %}
-
<div class="post">
{% ifchanged %}
<!-- {{ item.date_modified|date:"F j, Y" }} -->
<div class="avatar">
<img
src="{{ media_url }}/img/faces/{{ item.subscriber.shortname}}.png" alt="">
<br/>
- </div>
- <span class="name">{{ item.subscriber.name }}</span><br/>
+ </div>
{% endifchanged %}
{% if item.title %}
<div class="post-title"><a href="{{ item.link }}">{{ item.title }}</a></div>
{% else %}
<div class="post-title"> {{ item.subscriber.name }}</div>
{% endif %}
+ {% ifchanged %}
+ <div class="post-meta"> <span class="date">{{ item.date_modified|date:"F j, Y" }}</span> <span class="name">{{ item.subscriber.name }}</span><br/></div>
+ {% endifchanged %}
<div class="post-content">
<p>{{ item.content|safe }}</p>
<div class="post-meta">

0 comments on commit 47cda3e

Please sign in to comment.