[dev-random2] Added CSS for tables
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* vim: ts=4 sw=4 et: */
|
/* vim: set ts=4 sw=4 et: */
|
||||||
|
|
||||||
@import url(normalize.css);
|
@import url(normalize.css);
|
||||||
|
|
||||||
@@ -174,18 +174,21 @@ a.goto {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre, img, figure, table {
|
pre, img, figure, table {
|
||||||
display: block;
|
|
||||||
margin: 1em auto;
|
margin: 1em auto;
|
||||||
overflow: auto;
|
overflow-x: auto;
|
||||||
border: 3px solid silver;
|
border: 3px solid silver;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table td, table th {
|
||||||
|
border: 1px solid silver;
|
||||||
|
padding: .15em .3em;
|
||||||
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
font-size: 0.95em;
|
font-size: 0.95em;
|
||||||
line-height: 1.15em;
|
line-height: 1.15em;
|
||||||
background-color: #F5F5F5;
|
background-color: #F5F5F5;
|
||||||
overflow: auto;
|
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<!-- includes/article_meta.html -->
|
<!-- 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>»
|
dans «<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>»
|
||||||
par <a href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
|
par <a href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
|
||||||
{%- if article.tags %}
|
{%- if article.tags %}
|
||||||
<br />Mots-clés:
|
<br />Mots-clés:
|
||||||
{%- for tag in article.tags %}
|
{%- 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 -%}
|
{% endfor -%}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{%- if article.translations %}
|
{%- if article.translations %}
|
||||||
|
|||||||
Reference in New Issue
Block a user