diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-05-21 16:23:26 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2019-05-21 16:23:26 +0200 |
commit | e290b9eb01b8888e53535174700c39d0e5b2b6fc (patch) | |
tree | 33b551ab5f06f756cc3cb7b2a414a8e20b2b3840 /templates | |
parent | Fri, 17 May 2019 17:48:47 +0200 (diff) | |
download | wiki-public-e290b9eb01b8888e53535174700c39d0e5b2b6fc.tar.gz wiki-public-e290b9eb01b8888e53535174700c39d0e5b2b6fc.tar.xz |
Update templates.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/add.css | 43 | ||||
-rw-r--r-- | templates/default.tpl | 1 |
2 files changed, 44 insertions, 0 deletions
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 @@ <html> <head> <link rel="Stylesheet" type="text/css" href="%root_path%style.css" /> + <link rel="Stylesheet" type="text/css" href="%root_path%add.css" /> <title>%title%</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> |