From 351147a64ef22a3086e172422107cda56d255026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Zaj=C4=85c?= Date: Thu, 19 Jul 2018 18:03:41 +0200 Subject: [PATCH] news date and author moved below the teaser --- static/main.css | 20 ++++++++++++++++++-- templates/main.html | 7 ++++--- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/static/main.css b/static/main.css index 9450021..26a55ea 100644 --- a/static/main.css +++ b/static/main.css @@ -3,8 +3,24 @@ a.news-title { color: #222 } -#hs_content .news h3 { - padding-left: 90px; +p.news-footer { + font-size: 12px !important; + color: #999; + text-align: right !important; +} + +.news-rectangle { + background-color: #21a; + border-radius: 5px; + color: #fff; + display: inline-block; + font-size: 14px; + font-weight: bold; + margin: 8px 5px 5px 5px; + padding: 0 0 2px 0; + text-align: center; + vertical-align: middle; + width: 80px; } .news .date:before { diff --git a/templates/main.html b/templates/main.html index 1376abe..139b711 100644 --- a/templates/main.html +++ b/templates/main.html @@ -24,13 +24,14 @@ {% for e in entries %}
  • - {{e.updated_display}} -

    {{e.title|safe}}

    - by {{e.author_detail.name or 'Anonymous'}} +

    blog{{e.title|safe}}

    {{e.summary|safe}}

    +
  • {% endfor %}