aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorm-r-r <raybaudroigm@gmail.com>2012-08-28 15:16:43 +0200
committerm-r-r <raybaudroigm@gmail.com>2012-08-28 15:16:43 +0200
commit958bcd6cb5e8215033d5505282e2e61b2b5ea778 (patch)
tree43e33f8c0776c2c7df2cbafd62974c5a55efc8df
parent2d472973248aaf307809248a30bac7d27b04411f (diff)
downloadpelican-themes-958bcd6cb5e8215033d5505282e2e61b2b5ea778.tar.gz
[dev-random2] Added CSS for tables
-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 %}