From bd268036ed4fd111f0ae3156c324acbf4d2707e7 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 21 May 2013 11:18:04 -0400 Subject: A thorough revamp of grimoire.ca's look and feel. The new look is based, loosely, on print aesthetics, and uses Baskerville (and Menlo, for code) throughout, with Google's Buenard as a fallback for Windows and Linux users. I've retained the basic visual flow, but reworked it to be both more visible and more readable, and to have less-crazy layout rules (no more borders-as-gaps). --- .templates/base.html | 79 +++++++++++++++++++++++++++++++++++++----------- .templates/document.html | 12 ++++++-- .templates/listing.html | 41 ++++++++++++++++++++++++- 3 files changed, 111 insertions(+), 21 deletions(-) (limited to '.templates') diff --git a/.templates/base.html b/.templates/base.html index a3e3f7a..d13e17a 100644 --- a/.templates/base.html +++ b/.templates/base.html @@ -1,19 +1,64 @@ -{% extends 'markdoc-default/base.html' %} -{% block css %} -{{ super() }} -{{ html.cssimport(make_relative("/media/css/custom.css")) }} -{% endblock %} + + + + + {% block title_prefix -%} + {% if 'wiki-name' in config %}{{ config['wiki-name']|e }} » {% endif %} + {%- endblock %} + {% block title -%} + {{ title }} + {%- endblock %} + -{% block body_footer %} -