aboutsummaryrefslogtreecommitdiffstats
path: root/dev-random2
diff options
context:
space:
mode:
Diffstat (limited to 'dev-random2')
-rw-r--r--dev-random2/static/css/theme.css11
-rw-r--r--dev-random2/templates/includes/article_meta.html4
2 files changed, 9 insertions, 6 deletions
diff --git a/dev-random2/static/css/theme.css b/dev-random2/static/css/theme.css
index 050109a..e8c84f0 100644
--- a/dev-random2/static/css/theme.css
+++ b/dev-random2/static/css/theme.css
@@ -1,4 +1,4 @@
-/* vim: ts=4 sw=4 et: */
+/* vim: set ts=4 sw=4 et: */
@import url(normalize.css);
@@ -174,18 +174,21 @@ a.goto {
}
pre, img, figure, table {
- display: block;
margin: 1em auto;
- overflow: auto;
+ overflow-x: auto;
border: 3px solid silver;
}
+table td, table th {
+ border: 1px solid silver;
+ padding: .15em .3em;
+}
+
pre {
font-family: monospace;
font-size: 0.95em;
line-height: 1.15em;
background-color: #F5F5F5;
- overflow: auto;
padding: 0.5em;
max-width: 100%;
}
diff --git a/dev-random2/templates/includes/article_meta.html b/dev-random2/templates/includes/article_meta.html
index 21f4c7a..38b337b 100644
--- a/dev-random2/templates/includes/article_meta.html
+++ b/dev-random2/templates/includes/article_meta.html
@@ -1,11 +1,11 @@
<!-- includes/article_meta.html -->
- Le <time datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.locale_date }}</time>
+ Le <time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>
dans «<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>»
par <a href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
{%- if article.tags %}
<br />Mots-clés:
{%- for tag in article.tags %}
- <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %}, {% endif %}
+ <a rel="tag" href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %}, {% endif %}
{% endfor -%}
{% endif -%}
{%- if article.translations %}