aboutsummaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rwxr-xr-xtheme/static/css/main.css20
-rwxr-xr-xtheme/templates/article.html2
-rwxr-xr-xtheme/templates/menu.html16
-rwxr-xr-xtheme/templates/page.html3
4 files changed, 36 insertions, 5 deletions
diff --git a/theme/static/css/main.css b/theme/static/css/main.css
index 2460f45..31a2d33 100755
--- a/theme/static/css/main.css
+++ b/theme/static/css/main.css
@@ -82,12 +82,32 @@ table {
padding: 0;
margin: 15px 10px;
}
+
+table.docutils {
+ border: none;
+}
+
td, th {
margin: 0;
padding: 2px 5px;
border: 1px dotted grey;
}
+ tr.field td {
+ border: none;
+ }
+
+ tr.field th {
+ border: none;
+ width: 9em;
+ }
+
+ tr.field p {
+ margin: 0;
+ margin-bottom: 0.2em;
+ }
+
+
hr {
height: 0;
width: 60%;
diff --git a/theme/templates/article.html b/theme/templates/article.html
index f66fe72..6c57dbf 100755
--- a/theme/templates/article.html
+++ b/theme/templates/article.html
@@ -4,7 +4,7 @@
{% block content %}
<article class="post">
- <h2 class="page_title"><a href="{{ article.url }}" rel="bookmark" title="{{SITENAME}} - {{ article.title }}">{{ article.title }}</a></h2>
+ <h1 class="page_title"><a href="{{ article.url }}" rel="bookmark" title="{{SITENAME}} - {{ article.title }}">{{ article.title }}</a></h1>
{%include 'meta.html'%}
<section class="post_content">
diff --git a/theme/templates/menu.html b/theme/templates/menu.html
index 5aca0f7..037d85a 100755
--- a/theme/templates/menu.html
+++ b/theme/templates/menu.html
@@ -26,9 +26,19 @@
{{ submenu(categories, 'categories', 'Catégories') }}
- {% if LINKS %}
- {{ submenu(LINKS, 'index', 'Liens') }}
- {% endif %}
+ <li class='has-sub'><a href="{{ SITEURL }}/"><span>À lire</span></a>
+ <ul>
+ {% for page in pages %}
+ <li><a href="{{SITEURL}}/{{page.url}}"><span>{{ page.title }}</span></a></li>
+ {% endfor %}
+ {% if pages and LINKS %}
+ <hr/>
+ {% endif %}
+ {% for link, target in LINKS %}
+ <li><a href="{{target}}"><span>{{ link }}</span></a></li>
+ {% endfor %}
+ </ul>
+ </li>
{#
diff --git a/theme/templates/page.html b/theme/templates/page.html
index 4a2a9b7..1608771 100755
--- a/theme/templates/page.html
+++ b/theme/templates/page.html
@@ -1,10 +1,11 @@
{% extends "base.html" %}
+
{% block title %}{{ page.title }}{% endblock %}
{% block content %}
<h1 class="page_title"><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></h1>
{% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">get
the pdf</a>{% endif %}
- <div style="clear: both;">&nbsp;</div>
+
<section class="page_content">
{{ page.content }}
</section>