From e290b9eb01b8888e53535174700c39d0e5b2b6fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 21 May 2019 16:23:26 +0200 Subject: Update templates. --- templates/add.css | 43 +++++++++++++++++++++++++++++++++++++++++++ templates/default.tpl | 1 + 2 files changed, 44 insertions(+) create mode 100644 templates/add.css (limited to 'templates') diff --git a/templates/add.css b/templates/add.css new file mode 100644 index 0000000..8496838 --- /dev/null +++ b/templates/add.css @@ -0,0 +1,43 @@ +body { + margin: 0; + font-size: 100%; + line-height: 100%; +} + + +h1 { color: #a54242; } +h2 { color: #8c9440; } +h3 { color: #5f819d; } + +p { + max-width: 60ex; + text-align: justify; +} + +table { + border-collapse: collapse; +} + +tr:nth-child(odd) { + background-color: #f0f0f0; +} + +/* ---------------------------------------- */ + +div[id='Top Heading'] + ul { + width: 120%; +} + +div[id='Top Heading'] + ul li { + display: inline-block; + width: 10em; +} + +.side { + display: flex; + justify-content: space-around; +} + +.side > * { + margin: auto 0 auto 0; +} diff --git a/templates/default.tpl b/templates/default.tpl index 59ceeb4..0910c5b 100644 --- a/templates/default.tpl +++ b/templates/default.tpl @@ -2,6 +2,7 @@ + %title% -- cgit v1.2.3