diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-05-28 10:32:48 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-05-28 10:32:48 +0200 |
commit | fe5799c14ad82f72437ff88c703a38e1cc5b7896 (patch) | |
tree | c27ce267aea5c577432822b9bea4e9ea28aedc1e /templates | |
parent | Tue, 28 May 2019 10:31:31 +0200 (diff) | |
parent | Tue, 28 May 2019 10:26:07 +0200 (diff) | |
download | wiki-public-fe5799c14ad82f72437ff88c703a38e1cc5b7896.tar.gz wiki-public-fe5799c14ad82f72437ff88c703a38e1cc5b7896.tar.xz |
Merge branch 'master' of /home/hugo/git/wiki-public
Diffstat (limited to 'templates')
-rw-r--r-- | templates/add.css | 42 | ||||
-rw-r--r-- | templates/default.tpl | 1 |
2 files changed, 43 insertions, 0 deletions
diff --git a/templates/add.css b/templates/add.css new file mode 100644 index 0000000..77c7400 --- /dev/null +++ b/templates/add.css @@ -0,0 +1,42 @@ +body { + margin: 0; + font-size: 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"> |