commit e4505e483117f45692abc5b0b2b8858f3a6eea72
parent cad3fafcbd0b92676b3adcaeeeb05954ad7f57d7
Author: Lukas F. Hartmann <lukas@mnt.mn>
Date: Fri, 28 Sep 2018 18:05:38 +0200
add missing static files for handbook
Diffstat:
3 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/handbook/source/_static/mnt-reform-logo.png b/handbook/source/_static/mnt-reform-logo.png
Binary files differ.
diff --git a/handbook/source/_templates/globaltoc.html b/handbook/source/_templates/globaltoc.html
@@ -0,0 +1,15 @@
+{#
+ basic/globaltoc.html
+ ~~~~~~~~~~~~~~~~~~~~
+
+ Sphinx sidebar template: global table of contents.
+
+ :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
+#}
+<a href="{{ pathto('index') }}">
+ <img class="logo" src="{{ pathto('_static/mnt-reform-logo.png', 1) }}" alt="Logo"/>
+</a>
+
+<!--h3><a href="{{ pathto(master_doc) }}">{{ _('MNT Reform Operator Handbook') }}</a></h3-->
+{{ toctree() }}
diff --git a/handbook/source/theme/static/mntstyle.css b/handbook/source/theme/static/mntstyle.css
@@ -63,22 +63,21 @@ div.body {
margin: auto;
margin-top: 50px;
margin-bottom: 300px;
- padding-left: 200px;
+ padding-left: 290px;
}
a {
- color: #333;
+ color: #000;
padding-right: 10px;
text-decoration: underscore;
}
a:active {
- color: white;
- background-color: black;
+ text-decoration: none;
}
a:visited {
- color: #666;
+ color: #000;
}
.section img {
@@ -89,8 +88,8 @@ a:visited {
position: fixed;
top: 0;
left: 0;
- margin-top: 50px;
- margin-left: 25px;
+ margin-top: 45px;
+ margin-left: 45px;
width: 220px;
}
@@ -133,3 +132,8 @@ a:visited {
#mnt-reform-operator-handbook img {
margin-bottom: 100px;
}
+
+.logo {
+ width: 220px;
+ margin-bottom: 55px;
+}