From 5e707e57c27d616cb690093dc2c90666413bcdae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 30 May 2019 00:31:36 +0200 Subject: Update template. --- templates/add.css | 28 ++++++++++++++++++++++++++++ templates/default.tpl | 29 +---------------------------- 2 files changed, 29 insertions(+), 28 deletions(-) (limited to 'templates') diff --git a/templates/add.css b/templates/add.css index 9d11873..a45ba65 100644 --- a/templates/add.css +++ b/templates/add.css @@ -40,3 +40,31 @@ div[id='Top Heading'] + ul li { .side > * { margin: auto 0 auto 0; } + +/* ---------------------------------------- */ + +footer { + font-size: 80%; + color: gray; +} + +.toc + ul { + height: 100vh; + position: fixed; + top: 0; + right: 1em; + width: 20%; +} + +.toc { + display: none; +} + +.content { + width: 75%; + margin-top: -3em; +} + +pre.right { + float: right; +} diff --git a/templates/default.tpl b/templates/default.tpl index 0910c5b..22015dd 100644 --- a/templates/default.tpl +++ b/templates/default.tpl @@ -7,37 +7,10 @@ -
- Home +

Home

%content% -- cgit v1.2.3