Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions doc/_static/logo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/* Sidebar header behind the logo. The logo switches its ink between dark and light with the
colour scheme, so the header switches with it; on the theme's blue the blue arm of the E
would vanish. */
.wy-side-nav-search {
background-color: #fcfcfc;
}

/* Let the logo follow the reader's colour scheme even in browsers that take it from the
embedding element, as the header below does. */
.wy-side-nav-search img.logo {
color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
.wy-side-nav-search {
background-color: #1c2230;
}
}
6 changes: 5 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,9 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'sphinx_rtd_theme'
html_theme_options = {
'logo_only': True,
}
html_logo = 'images/ledsa_logo.svg'
html_static_path = ['_static']
html_css_files = ['tables.css']
html_css_files = ['tables.css', 'logo.css']
23 changes: 23 additions & 0 deletions doc/images/ledsa_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading