Commit a14b5f6abcae3989259ec8ecea2e186053168740
- Diff rendering mode:
- inline
- side by side
static/css/style.css
(0 / 2)
  | |||
6 | 6 | ||
7 | 7 | .page { margin: 2em auto; width: 35em; border: 5px solid #ccc; | |
8 | 8 | padding: 0.8em; background: white; } | |
9 | .entries { list-style: none; margin: 0; padding: 0; } | ||
10 | 9 | .entries li { margin: 0.8em 1.2em; word-wrap: break-word; } | |
11 | .entries li h2 { margin-left: -1em; } | ||
12 | 10 | .add-entry { font-size: 0.9em; border-bottom: 1px solid #ccc; } | |
13 | 11 | .add-entry dl { font-weight: bold; } | |
14 | 12 | .metanav { text-align: right; font-size: 0.8em; padding: 0.3em; |
templates/show_entries.html
(2 / 2)
  | |||
1 | 1 | {% extends "layout.html" %} | |
2 | 2 | {% block body %} | |
3 | <ul class="entries"> | ||
3 | <ul class="entries unstyled"> | ||
4 | 4 | {% if entries|len > 0 %} | |
5 | 5 | {% for entry in entries %} | |
6 | 6 | {% if entry.who %} | |
… | … | ||
8 | 8 | @<b>{{ entry.who }}</b> | |
9 | 9 | <b>#{{ entry.what }}</b> /{{ entry.where }} {{ entry.how|safe }} | |
10 | 10 | {% if entry.created|len > 0 %} | |
11 | <span><small>created: {{entry.created }}</small></span> | ||
11 | <small>created: {{entry.created }} UTC</small> | ||
12 | 12 | {% endif %} | |
13 | 13 | <a class="pull-right" href={{ "/posts/" + entry.id }}> | |
14 | 14 | <i class="icon-share-alt"></i> |