aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-05-30 00:31:36 +0200
committerHugo Hörnquist <hugo@hornquist.se>2019-05-30 00:31:36 +0200
commit5e707e57c27d616cb690093dc2c90666413bcdae (patch)
treef5088dae9b7ab20715eef170607ae23b67510571 /templates
parentRemove style file? (diff)
downloadwiki-public-5e707e57c27d616cb690093dc2c90666413bcdae.tar.gz
wiki-public-5e707e57c27d616cb690093dc2c90666413bcdae.tar.xz
Update template.
Diffstat (limited to 'templates')
-rw-r--r--templates/add.css28
-rw-r--r--templates/default.tpl29
2 files changed, 29 insertions, 28 deletions
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 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML' async></script>
- <style>
-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;
-}
- </style>
</head>
<body>
<div class="top">
- <a href="/">Home</a>
+ <p><a href="/">Home</a></p>
</div>
<div class="content">
%content%