aboutsummaryrefslogtreecommitdiff
path: root/xreadthedocs
diff options
context:
space:
mode:
Diffstat (limited to 'xreadthedocs')
-rw-r--r--xreadthedocs/base.html24
-rw-r--r--xreadthedocs/css/theme_extra.css55
-rw-r--r--xreadthedocs/footer.html5
-rw-r--r--xreadthedocs/toc.html2
-rw-r--r--xreadthedocs/versions.html10
5 files changed, 73 insertions, 23 deletions
diff --git a/xreadthedocs/base.html b/xreadthedocs/base.html
index 042b00a..82e9d49 100644
--- a/xreadthedocs/base.html
+++ b/xreadthedocs/base.html
@@ -12,7 +12,6 @@
{% else %}<link rel="shortcut icon" href="{{ base_url }}/img/favicon.ico">{% endif %}
{# CSS #}
- <link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ base_url }}/css/theme.css" type="text/css" />
<link rel="stylesheet" href="{{ base_url }}/css/theme_extra.css" type="text/css" />
@@ -38,17 +37,6 @@
<script src="{{ path }}"></script>
{%- endfor %}
- {% if google_analytics %}
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', '{{ google_analytics[0] }}', '{{ google_analytics[1] }}');
- ga('send', 'pageview');
- </script>
- {% endif %}
</head>
<body class="wy-body-for-nav" role="document">
@@ -58,8 +46,9 @@
{# SIDE NAV, TOGGLES ON MOBILE #}
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
<div class="wy-side-nav-search">
- <a href="{{ homepage_url }}" class="icon icon-home"> {{ site_name }}</a>
- {% include "searchbox.html" %}
+ <a class="site-title" href="{{ homepage_url }}">
+ <span class="base0b">go</span><span class="base0c">crypt</span><span class="base0d">fs</span>
+ </a>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
@@ -67,6 +56,8 @@
{% for nav_item in nav %}
<li>{% include "toc.html" %}<li>
{% endfor %}
+ <li><a href="https://github.com/rfjakob/gocryptfs#changelog">Changelog ➚</a></li>
+ <li><a href="https://github.com/rfjakob/gocryptfs/blob/master/Documentation/MANPAGE.md">Man Page ➚</a></li>
</ul>
</div>
&nbsp;
@@ -77,13 +68,14 @@
{# MOBILE NAV, TRIGGLES SIDE NAV ON TOGGLE #}
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
- <a href="{{ homepage_url }}">{{ site_name }}</a>
+ <a class="site-title" href="{{ homepage_url }}">
+ <span class="base0b">go</span><span class="base0c">crypt</span><span class="base0d">fs</span>
+ </a>
</nav>
{# PAGE CONTENT #}
<div class="wy-nav-content">
<div class="rst-content">
- {% include "breadcrumbs.html" %}
<div role="main">
<div class="section">
{% block content %}
diff --git a/xreadthedocs/css/theme_extra.css b/xreadthedocs/css/theme_extra.css
index ccb384e..046cf33 100644
--- a/xreadthedocs/css/theme_extra.css
+++ b/xreadthedocs/css/theme_extra.css
@@ -124,3 +124,58 @@ code.cs, code.c {
.wy-menu-vertical li ul.subnav ul.subnav{
padding-left: 1em;
}
+
+
+.wy-side-nav-search {
+ background-color: #343131 !important;
+}
+
+.wy-nav-top {
+ background-color: #343131 !important;
+}
+
+.wy-side-nav-search a {
+ margin-bottom: 0;
+}
+
+a.site-title {
+ font-size: 200%;
+}
+/* Base16 Eighties Colorscheme by Chris Kempson (http://chriskempson.com) */
+/* CSS from https://github.com/htdvisser/hugo-base16-theme */
+.base00 { color: #2d2d2d; }
+.base01 { color: #393939; }
+.base02 { color: #515151; }
+.base03 { color: #747369; }
+.base04 { color: #a09f93; }
+.base05 { color: #d3d0c8; }
+.base06 { color: #e8e6df; }
+.base07 { color: #f2f0ec; }
+.base08 { color: #f2777a; }
+.base09 { color: #f99157; }
+.base0a { color: #ffcc66; }
+.base0b { color: #99cc99; }
+.base0c { color: #66cccc; }
+.base0d { color: #6699cc; }
+.base0e { color: #cc99cc; }
+.base0f { color: #d27b53; }
+
+
+div.builtwith a {
+ color: #aaa;
+}
+
+.rst-versions .rst-current-version {
+ text-align: center;
+ padding-top: 0;
+}
+
+.rst-versions .rst-current-version a {
+ margin-right: 10px;
+}
+.fa-github:before, .icon-github:before {
+ font-size: 30px;
+ position: relative;
+ bottom: -6px;
+ margin-right: 8px;
+}
diff --git a/xreadthedocs/footer.html b/xreadthedocs/footer.html
index 9f707cd..45f1987 100644
--- a/xreadthedocs/footer.html
+++ b/xreadthedocs/footer.html
@@ -18,6 +18,7 @@
<p>{{ copyright }}</p>
{% endif %}
</div>
-
- Built with <a href="http://www.mkdocs.org">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
+ <div class="builtwith">
+ Built with <a href="http://www.mkdocs.org">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
+ </div>
</footer>
diff --git a/xreadthedocs/toc.html b/xreadthedocs/toc.html
index 6cd2fc9..4accc1b 100644
--- a/xreadthedocs/toc.html
+++ b/xreadthedocs/toc.html
@@ -10,6 +10,7 @@
<li class="toctree-l1 {% if nav_item.active%}current{%endif%}">
<a class="{% if nav_item.active%}current{%endif%}" href="{{ nav_item.url }}">{{ nav_item.title }}</a>
{% if nav_item == current_page %}
+<!--
<ul>
{% for toc_item in toc %}
<li class="toctree-l3"><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
@@ -18,6 +19,7 @@
{% endfor %}
{% endfor %}
</ul>
+-->
{% endif %}
</li>
{% endif %}
diff --git a/xreadthedocs/versions.html b/xreadthedocs/versions.html
index 4e23b49..6a34ee8 100644
--- a/xreadthedocs/versions.html
+++ b/xreadthedocs/versions.html
@@ -1,15 +1,15 @@
<div class="rst-versions" role="note" style="cursor: pointer">
<span class="rst-current-version" data-toggle="rst-current-version">
- {% if repo_name == 'GitHub' %}
- <a class="icon icon-github" style="float: left; color: #fcfcfc"> GitHub</a>
- {% elif repo_name == 'Bitbucket' %}
- <a class="icon icon-bitbucket" style="float: left; color: #fcfcfc"> BitBucket</a>
- {% endif %}
+ <a class="icon icon-github" href="https://github.com/rfjakob/gocryptfs">gocryptfs</a>
+ <a class="icon icon-github" href="https://github.com/rfjakob/gocryptfs-website">gocryptfs-website</a>
+
+<!--
{% if previous_page %}
<span><a href="{{ previous_page.url }}" style="color: #fcfcfc;">&laquo; Previous</a></span>
{% endif %}
{% if next_page %}
<span style="margin-left: 15px"><a href="{{ next_page.url }}" style="color: #fcfcfc">Next &raquo;</a></span>
{% endif %}
+-->
</span>
</div>