diff --git a/LogBot/stylesheets/float.css b/LogBot/stylesheets/float.css index 11a5fe2..bbe5495 100644 --- a/LogBot/stylesheets/float.css +++ b/LogBot/stylesheets/float.css @@ -9,12 +9,12 @@ body { font-size: 16px; line-height: 1.6; } -.post { +div.post { max-width: 350px; margin: 1.5em 1em; float: left; } -.post p.key { +div.post p.key { margin: 2em 0 1em 5em; font-size: 12px; } diff --git a/LogBot/template.html b/LogBot/template.html index 657ead5..b89fe11 100644 --- a/LogBot/template.html +++ b/LogBot/template.html @@ -15,7 +15,7 @@

{{ num }}

{{ db[num]['date'] }}

{% if 'media' in db[num] %} -

+

{% if 'image' in db[num]['media']['type'] %} {% elif 'application' in db[num]['media']['type'] %} @@ -27,7 +27,7 @@ {% endif %}

{% else %} -

{{ db[num]['post'] }}

+

{{ db[num]['post'] }}

{% endif %} {% endfor %} diff --git a/LogBot/template.rss b/LogBot/template.rss index 919333a..dee4203 100644 --- a/LogBot/template.rss +++ b/LogBot/template.rss @@ -13,7 +13,7 @@ {{ log_path }}#{{ x }} {% if 'media' in post %} -

+

{% if 'image' in post.media.type %} {% elif 'application' in post.media.type %} @@ -27,7 +27,7 @@ {% endif %}

{% else %} -

{{ post.post }}

+

{{ post.post }}

{% endif %}
{% if 'media' in post %}{% endif %}