aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2018-10-16 19:49:53 +0200
committerHugo Hörnquist <hugo@hornquist.se>2018-10-16 19:49:53 +0200
commitf381b061bd4b57b2ba8df7159cc4dc342ae7120a (patch)
tree079a1cc6de689e56f53bc053a8a201fc6d25ba94 /templates
parentTue, 16 Oct 2018 19:25:25 +0200 (diff)
downloadwiki-public-f381b061bd4b57b2ba8df7159cc4dc342ae7120a.tar.gz
wiki-public-f381b061bd4b57b2ba8df7159cc4dc342ae7120a.tar.xz
Tue, 16 Oct 2018 19:49:53 +0200
Diffstat (limited to 'templates')
-rw-r--r--templates/default.tpl20
1 files changed, 16 insertions, 4 deletions
diff --git a/templates/default.tpl b/templates/default.tpl
index 7c59496..64f22b4 100644
--- a/templates/default.tpl
+++ b/templates/default.tpl
@@ -5,10 +5,22 @@
<title>%title%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
- footer {
- font-size: 80%;
- color: gray;
- }
+footer {
+ font-size: 80%;
+color: gray;
+}
+
+#toc + ul {
+ height: 100vh;
+ position: fixed;
+ top: 0;
+ right: 1em;
+ width: 20%;
+}
+
+.content {
+ width: 80;
+}
</style>
</head>
<body>