summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--themes/dev-urandom/README.md7
-rw-r--r--themes/dev-urandom/screenshot.pngbin95384 -> 0 bytes
-rw-r--r--themes/dev-urandom/static/css/theme.css10
-rw-r--r--themes/dev-urandom/templates/includes/sidebar.html6
-rw-r--r--themes/dev-urandom/templates/page.html2
5 files changed, 15 insertions, 10 deletions
diff --git a/themes/dev-urandom/README.md b/themes/dev-urandom/README.md
deleted file mode 100644
index 3ed05aa..0000000
--- a/themes/dev-urandom/README.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# dev-random2 #
-
-
-
-## Screenshot ##
-
-![screenshot](screenshot.png)
diff --git a/themes/dev-urandom/screenshot.png b/themes/dev-urandom/screenshot.png
deleted file mode 100644
index 0d2bd2f..0000000
--- a/themes/dev-urandom/screenshot.png
+++ /dev/null
Binary files differ
diff --git a/themes/dev-urandom/static/css/theme.css b/themes/dev-urandom/static/css/theme.css
index e8c84f0..1639c64 100644
--- a/themes/dev-urandom/static/css/theme.css
+++ b/themes/dev-urandom/static/css/theme.css
@@ -77,7 +77,7 @@ article:last-of-type:after {
}
#page-head h1 {
- font-size: 4em;
+ font-size: 3em;
}
#page-head h1 a:hover {
@@ -184,6 +184,14 @@ table td, table th {
padding: .15em .3em;
}
+/* Remove margin, padding and borders for field list */
+table.field-list, table th.field-name, table td.field-body {
+ margin: 0;
+ padding: 0;
+ border: none;
+ text-align: left;
+}
+
pre {
font-family: monospace;
font-size: 0.95em;
diff --git a/themes/dev-urandom/templates/includes/sidebar.html b/themes/dev-urandom/templates/includes/sidebar.html
index 0d5d5ef..0910f79 100644
--- a/themes/dev-urandom/templates/includes/sidebar.html
+++ b/themes/dev-urandom/templates/includes/sidebar.html
@@ -3,8 +3,10 @@
<nav>
<h3>Pages</h3>
<ul>
- <li><a href="{{ SITEURL }}">Accueil</a></li>
+ <li><a href="{{ SITEURL }}/index.html">Accueil</a></li>
+ {% if categories %}
<li><a href="{{ SITEURL }}/categories.html">Catégories</a></li>
+ {% endif %}
<li><a href="{{ SITEURL }}/archives.html">Archives</a></li>
<li><a href="{{ SITEURL }}/tags.html">Mots-clés</a></li>
{% if MENUITEMS %}
@@ -31,6 +33,7 @@
</nav>
{% endif %}
+ {% if FEED_ATOM or FEED_RSS or SOCIAL or LINKS %}
<nav>
<h3>Liens</h3>
<ul>
@@ -52,4 +55,5 @@
{% endif %}
</ul>
</nav>
+ {% endif %}
<!-- end includes/sidebar.html -->
diff --git a/themes/dev-urandom/templates/page.html b/themes/dev-urandom/templates/page.html
index b52c807..7a69347 100644
--- a/themes/dev-urandom/templates/page.html
+++ b/themes/dev-urandom/templates/page.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
-{% block title %}{{ super() }} — {{ page.url }}{% endblock title %}
+{% block title %}{{ super() }} — {{ page.title }}{% endblock title %}
{%- block content %}
<h1>{{ page.title }}</h1>