diff --git a/theme/static/css/main.css b/theme/static/css/main.css index ebd9388..5d9c6a8 100644 --- a/theme/static/css/main.css +++ b/theme/static/css/main.css @@ -45,6 +45,8 @@ h3, h4, h5, h6 { margin-top: .8em; } hr { border: 2px solid #EEEEEE; } +img { border: 10px black solid; display: block; margin: 20px auto;} + /* Anchors */ a {outline: 0;} a img {border: 0px; text-decoration: none;} @@ -65,7 +67,7 @@ h1 a:hover { } /* Paragraphs */ -p {margin-bottom: 1.143em;} +p {margin-bottom: 1.143em; text-align: justify} strong, b {font-weight: bold;} em, i {font-style: italic;} diff --git a/theme/static/css/wide.css b/theme/static/css/wide.css index 8db407c..b07a869 100644 --- a/theme/static/css/wide.css +++ b/theme/static/css/wide.css @@ -5,7 +5,8 @@ body { } .published{ - float: right; + display: block; + font-style: italic; margin-bottom: 10px; } diff --git a/theme/templates/article.html b/theme/templates/article.html index 4c57df3..88a446b 100644 --- a/theme/templates/article.html +++ b/theme/templates/article.html @@ -4,11 +4,8 @@
- - {{ article.locale_date }} - -

- {{ article.title }}

+

{{ article.title }}

+ {{ article.locale_date }} {% include 'twitter.html' %}
diff --git a/theme/templates/index.html b/theme/templates/index.html index f7a9c5d..45f50c1 100644 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -2,28 +2,17 @@ {% block content_title %}{% endblock %} {% block content %} {% if articles %} +
+
    {% for article in articles_page.object_list %} - - {% if loop.first and articles_page.has_previous %} -
    -
      - {% endif %}
+

+ {{ article.title }} +

{{ article.locale_date }}, in {{ article.category }}.
- - {% if loop.last and (articles_page.has_previous() - or not articles_page.has_previous() and loop.length > 1) %} - {% include 'pagination.html' %} - {% endif %} - {% if loop.last %} - -
- {% endif %} {% endfor %} + + {% else %}

Pages