Skip to content

Commit

Permalink
[dev-random2] Added CSS for tables
Browse files Browse the repository at this point in the history
  • Loading branch information
m-r-r committed Aug 28, 2012
1 parent 2d47297 commit 958bcd6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions dev-random2/static/css/theme.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* vim: ts=4 sw=4 et: */
/* vim: set ts=4 sw=4 et: */

@import url(normalize.css);

Expand Down Expand Up @@ -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%;
}
Expand Down
4 changes: 2 additions & 2 deletions dev-random2/templates/includes/article_meta.html
Original file line number Diff line number Diff line change
@@ -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 %}
Expand Down

0 comments on commit 958bcd6

Please sign in to comment.