From 2303a8ee96639d0685bfafb1afe411cd22c4f27f Mon Sep 17 00:00:00 2001 From: Skami18 Date: Sat, 23 Jul 2011 15:25:16 +0200 Subject: [PATCH] =?UTF-8?q?Added=20the=20=C2=ABBasic=C2=BB=20theme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nothing to do with http://en.wikipedia.org/wiki/BASIC --- basic/README.rst | 8 ++++++++ basic/static/css/style.css | 39 ++++++++++++++++++++++++++++++++++++++ basic/templates/base.html | 6 ++++++ 3 files changed, 53 insertions(+) create mode 100644 basic/README.rst create mode 100644 basic/static/css/style.css create mode 100644 basic/templates/base.html diff --git a/basic/README.rst b/basic/README.rst new file mode 100644 index 000000000..826b4849a --- /dev/null +++ b/basic/README.rst @@ -0,0 +1,8 @@ +Basic +##### + +This theme has been made for the documentation of the template inheritance feature of Pelican. + +He is usable, but only works with the last version of Pelican from the GIT repository... + + diff --git a/basic/static/css/style.css b/basic/static/css/style.css new file mode 100644 index 000000000..bf027af3f --- /dev/null +++ b/basic/static/css/style.css @@ -0,0 +1,39 @@ +body { + font-family: monospace; + font-size: 100%; + background-color: white; + color: #111; + width: 80%; + min-width: 400px; + min-height: 200px; + padding: 1em; + margin: 5% 10%; + border: thin solid gray; + border-radius: 5px; + display: block; +} + +a:link { color: blue; text-decoration: none; } +a:hover { color: blue; text-decoration: underline; } +a:visited { color: blue; } + +h1 a { color: inherit !important } +h2 a { color: inherit !important } +h3 a { color: inherit !important } +h4 a { color: inherit !important } +h5 a { color: inherit !important } +h6 a { color: inherit !important } + +#menu li { + display: inline; +} + +#post-list { + margin-bottom: 1em; + margin-top: 1em; +} + +pre { + margin: 2em 1em 2em 4em; +} + diff --git a/basic/templates/base.html b/basic/templates/base.html new file mode 100644 index 000000000..805553006 --- /dev/null +++ b/basic/templates/base.html @@ -0,0 +1,6 @@ +{% extends "!simple/base.html" %} + +{% block head %} +{{ super() }} + +{% endblock %}