Add custom logo and custom styles
This commit is contained in:
parent
f5ebfe8066
commit
ab2b237304
6 changed files with 20 additions and 2 deletions
8
_static/css/agaric.css
Normal file
8
_static/css/agaric.css
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
.wy-side-nav-search {
|
||||||
|
background-color: #26599b;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wy-side-nav-search .wy-dropdown > a img.logo,
|
||||||
|
.wy-side-nav-search > a img.logo {
|
||||||
|
width: 12rem;
|
||||||
|
}
|
11
conf.py
11
conf.py
|
@ -88,12 +88,21 @@ pygments_style = 'sphinx'
|
||||||
# a list of builtin themes.
|
# a list of builtin themes.
|
||||||
#
|
#
|
||||||
html_theme = 'sphinx_rtd_theme'
|
html_theme = 'sphinx_rtd_theme'
|
||||||
|
html_logo = 'images/agaric-logo-horizontal-white.svg'
|
||||||
|
html_css_files = [
|
||||||
|
'css/agaric.css',
|
||||||
|
]
|
||||||
|
|
||||||
# Theme options are theme-specific and customize the look and feel of a theme
|
# 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
|
# further. For a list of options available for each theme, see the
|
||||||
# documentation.
|
# documentation.
|
||||||
#
|
#
|
||||||
# html_theme_options = {}
|
# TIP: If it starts with `html_` it belongs directly as a conf.py option and
|
||||||
|
# NOT in html_theme_options.
|
||||||
|
html_theme_options = {
|
||||||
|
'canonical_url': 'https://docs.agaric.coop/',
|
||||||
|
'logo_only': True,
|
||||||
|
}
|
||||||
|
|
||||||
# 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,
|
||||||
|
|
1
images/agaric-logo-horizontal-white.svg
Normal file
1
images/agaric-logo-horizontal-white.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 5.4 KiB |
BIN
images/agaric-logo-horizontal.png
Normal file
BIN
images/agaric-logo-horizontal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
2
index.md
2
index.md
|
@ -1,6 +1,6 @@
|
||||||
# Welcome to Agaric Collective's documentation!
|
# Welcome to Agaric Collective's documentation!
|
||||||
|
|
||||||
```{image} agaric-logo-horizontal.svg
|
```{image} images/agaric-logo-horizontal.svg
|
||||||
:width: 240px
|
:width: 240px
|
||||||
:alt: Agaric logo (two mushrooms reminiscent of the cooperative trees)
|
:alt: Agaric logo (two mushrooms reminiscent of the cooperative trees)
|
||||||
:align: center
|
:align: center
|
||||||
|
|
Loading…
Reference in a new issue