[dev-random2] Added CSS for tables

This commit is contained in:
m-r-r
2012-08-28 15:16:43 +02:00
parent 2d47297324
commit 958bcd6cb5
2 changed files with 9 additions and 6 deletions

View File

@@ -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%;
}

View File

@@ -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 %}