mirror of https://github.com/borgbackup/borg.git
Merge pull request #434 from ThomasWaldmann/rtd-improvements
rtd docs: color and logo improvements
This commit is contained in:
commit
3c121c207a
Binary file not shown.
After Width: | Height: | Size: 6.9 KiB |
|
@ -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);
|
||||||
|
}
|
|
@ -106,7 +106,7 @@ if not on_rtd: # only import and set the theme if we're building docs locally
|
||||||
#html_theme_options = {}
|
#html_theme_options = {}
|
||||||
|
|
||||||
# Add any paths that contain custom themes here, relative to this directory.
|
# 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
|
# The name for this set of Sphinx documents. If None, it defaults to
|
||||||
# "<project> v<release> documentation".
|
# "<project> v<release> documentation".
|
||||||
|
@ -117,7 +117,7 @@ html_theme_path = ['_themes']
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top
|
# The name of an image file (relative to this directory) to place at the top
|
||||||
# of the sidebar.
|
# 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
|
# 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
|
# 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,
|
# 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,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# 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,
|
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
||||||
# using the given strftime format.
|
# using the given strftime format.
|
||||||
|
|
Loading…
Reference in New Issue