diff --git a/docs/_static/logo.png b/docs/_static/logo.png new file mode 100644 index 000000000..1f05c915b Binary files /dev/null and b/docs/_static/logo.png differ diff --git a/docs/borg_theme/css/borg.css b/docs/borg_theme/css/borg.css new file mode 100644 index 000000000..6f4a7f414 --- /dev/null +++ b/docs/borg_theme/css/borg.css @@ -0,0 +1,18 @@ +@import url("theme.css"); + +/* The Return of the Borg. + * + * Have a bit green and grey and darkness (and if only in the upper left corner). + */ + +.wy-side-nav-search { + background-color: black; +} + +.wy-side-nav-search > a { + color: rgba(255, 255, 255, 0.5); +} + +.wy-side-nav-search > div.version { + color: rgba(255, 255, 255, 0.5); +} diff --git a/docs/conf.py b/docs/conf.py index 237f21adb..e5ce40f8f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -106,7 +106,7 @@ if not on_rtd: # only import and set the theme if we're building docs locally #html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. -html_theme_path = ['_themes'] +#html_theme_path = ['_themes'] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". @@ -117,7 +117,7 @@ html_theme_path = ['_themes'] # The name of an image file (relative to this directory) to place at the top # of the sidebar. -html_logo = '_static/favicon.ico' +html_logo = '_static/logo.png' # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 @@ -127,7 +127,8 @@ html_favicon = '_static/favicon.ico' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -#html_static_path = ['_static'] +html_static_path = ['borg_theme'] +html_style = 'css/borg.css' # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format.