diff options
Diffstat (limited to '')
-rw-r--r-- | templates/add.css | 28 | ||||
-rw-r--r-- | templates/default.tpl | 29 |
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% |