From 0b7d7557b7f0e3b748e5e46fcd33be7071679346 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 14 Sep 2012 05:13:35 +0200 Subject: templates/base.html: add template for html pages (and required files) --- htdocs/logo.png | Bin 0 -> 14287 bytes htdocs/page.css | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++ templates/base.html | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 118 insertions(+) create mode 100644 htdocs/logo.png create mode 100644 htdocs/page.css create mode 100644 templates/base.html diff --git a/htdocs/logo.png b/htdocs/logo.png new file mode 100644 index 0000000..3d9ec59 Binary files /dev/null and b/htdocs/logo.png differ diff --git a/htdocs/page.css b/htdocs/page.css new file mode 100644 index 0000000..57c6071 --- /dev/null +++ b/htdocs/page.css @@ -0,0 +1,59 @@ +body { + background: #f5f5f5; + padding: 20px; + margin: 0px; + text-align: center; +} + +#content { + width: 70%; + min-width: 800px; + background: #ddd; + margin: auto; + border-radius: 15px; + padding: 20px; +} + +h2 { + margin-bottom: 0; +} + +.source { + font-size: 0.6em; + margin: 0; + padding: 0; +} + +.title { + font-size: 0.9em; + margin: 0; + padding: 0; +} + +#pagination { + text-align: center; + margin: 1.5em 0 0; +} + +#pagination a { + display: block; + border: 1px solid #000; + color: #000; + padding: 12px; + text-decoration: none; + width: 100px; + margin: auto; +} + +#pagination a:hover { + border-width: 3px; + padding: 10px; +} + +#pagination a.prev { + float: left; +} + +#pagination a.next { + float: right; +} diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..860bf9e --- /dev/null +++ b/templates/base.html @@ -0,0 +1,59 @@ + + + + Comics vom {{date.day}}.{{date.month}}.{{date.year}} + + + {% if prev -%} + + {%- endif %} + {% if next -%} + + {%- endif %} + + + + spline logo +

comics.spline.de

+ +
+

{{date.day}}.{{date.month}}.{{date.year}}

+ + {%- for entry in entries %} +

+ {{ entry.comic.name }} +

+ + Originalseite +
+ + + {%- if entry.title %} +
+ {{ entry.title }} + {% endif %} + {% endfor -%} + + {%- if next or prev %} + + {% endif %} +
+ + + -- cgit v1.2.3-1-g7c22