Skip to content

Commit

Permalink
Add logo and fix colors (#19)
Browse files Browse the repository at this point in the history
Add logo and fix colors
  • Loading branch information
mr-ubik committed Jul 26, 2019
2 parents 06eeaaf + e196924 commit 8ddeb0c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,31 @@
}

.wy-side-nav-search {
background-color: var(--ashpy-blue);
background-color: #efefef;
}

.wy-side-nav-search > a {
color: var(--ashpy-red);
}

.wy-side-nav-search > div.version {
color: var(--ashpy-blue);
}

.wy-nav-side {
background-color: var(--ashpy-blue);
}

.wy-menu-vertical header,
.wy-menu-vertical p.caption {
color: var(--ashpy-red);
}

.wy-menu-vertical a:hover {
background: var(--ashpy-red);
color: #efefef;
}

@media (orientation: portrait) {
.wy-nav-content {
max-width: 70vw;
Expand Down
Binary file added docs/source/_static/img/ashpy_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@

# -- Options for HTML output -------------------------------------------------

# Logo
html_logo = "_static/img/ashpy_logo.png"


# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
Expand All @@ -132,6 +136,7 @@
"sticky_navigation": True,
"collapse_navigation": False,
"navigation_depth": 4,
"logo_only": True,
}

# Add any paths that contain custom static files (such as style sheets) here,
Expand Down

0 comments on commit 8ddeb0c

Please sign in to comment.