Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

Commit

Permalink
Add basic layout and styles
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Jul 9, 2018
1 parent 07d9c98 commit 9f566ba
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 0 deletions.
31 changes: 31 additions & 0 deletions source/_static/DutchX-logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions source/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{% extends "!layout.html" %}
{% block footer %} {{ super() }}

<style>
/* Sidebar header (and topbar for mobile) */
.wy-side-nav-search, .wy-nav-top {
background: #549ddc;
}

/* Sidebar */
.wy-nav-side {
background: #f3f3f4;

}

.wy-nav-side a {
color: #5c666f;
}

.wy-menu-vertical a:hover {
background-color: white;
}

.wy-menu-vertical li.on a, .wy-menu-vertical li.current>a {
background-color: inherit;
color: black;
}

.wy-menu-vertical li.toctree-l1.current>a {
/*
border-bottom: solid 1px #c9c9c9;
border-top: solid 1px #c9c9c9;
*/
border-bottom: none;
border-top: none;
}
</style>
{% endblock %}
17 changes: 17 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,23 @@
#
# html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'
html_logo = './_static/DutchX-logo.svg'
html_theme_options = {
'canonical_url': '',
'analytics_id': '',
'logo_only': True,
'display_version': True,
'prev_next_buttons_location': 'bottom',
'style_external_links': False,
'vcs_pageview_mode': '',
# Toc options
'collapse_navigation': True,
'sticky_navigation': True,
'navigation_depth': 4,
'includehidden': True,
'titles_only': False
}


# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down

0 comments on commit 9f566ba

Please sign in to comment.