diff --git a/_static/css/agaric.css b/_static/css/agaric.css new file mode 100644 index 0000000..17d621d --- /dev/null +++ b/_static/css/agaric.css @@ -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; +} diff --git a/conf.py b/conf.py index 493706c..44e159e 100644 --- a/conf.py +++ b/conf.py @@ -88,12 +88,21 @@ pygments_style = 'sphinx' # a list of builtin themes. # 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 # further. For a list of options available for each theme, see the # 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, # relative to this directory. They are copied after the builtin static files, diff --git a/images/agaric-logo-horizontal-white.svg b/images/agaric-logo-horizontal-white.svg new file mode 100644 index 0000000..380f3cd --- /dev/null +++ b/images/agaric-logo-horizontal-white.svg @@ -0,0 +1 @@ +agaric-logo-horizontal \ No newline at end of file diff --git a/images/agaric-logo-horizontal.png b/images/agaric-logo-horizontal.png new file mode 100644 index 0000000..76d286d Binary files /dev/null and b/images/agaric-logo-horizontal.png differ diff --git a/agaric-logo-horizontal.svg b/images/agaric-logo-horizontal.svg similarity index 100% rename from agaric-logo-horizontal.svg rename to images/agaric-logo-horizontal.svg diff --git a/index.md b/index.md index 042b656..f12b1eb 100644 --- a/index.md +++ b/index.md @@ -1,6 +1,6 @@ # Welcome to Agaric Collective's documentation! -```{image} agaric-logo-horizontal.svg +```{image} images/agaric-logo-horizontal.svg :width: 240px :alt: Agaric logo (two mushrooms reminiscent of the cooperative trees) :align: center