Skip to content
Browse files

More planet css fixes

  • Loading branch information...
1 parent 6b3cc97 commit 47cda3e2fd2ed717ba3d67e03cdc9d5e3d0fda65 @elpaso elpaso committed
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
View
9 qgis-app/static/style/planet.css
@@ -183,10 +183,14 @@ 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;
@@ -194,7 +198,8 @@ div.post {
div.post-title {
font-size: 200%;
- margin: 0.5em;
+ margin: 0.5em 0;
+ line-height: 1.4em;
}
div.avatar {
View
10 qgis-app/templates/feedjack/default/post_list.html
@@ -107,10 +107,6 @@
{% 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" }} -->
@@ -118,8 +114,7 @@
<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 %}
@@ -127,6 +122,9 @@
{% 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.
Something went wrong with that request. Please try again.