From 978613b36c2dd6761cc042ea8143d17d2fde3ffc Mon Sep 17 00:00:00 2001 From: IanCa Date: Thu, 16 Nov 2023 15:36:06 -0600 Subject: [PATCH] Update 'home' icon in docs to be HED icon --- docs/source/_static/customize_icon.css | 13 +++++++++++++ docs/source/conf.py | 4 ++++ 2 files changed, 17 insertions(+) create mode 100644 docs/source/_static/customize_icon.css diff --git a/docs/source/_static/customize_icon.css b/docs/source/_static/customize_icon.css new file mode 100644 index 00000000..6c2036e7 --- /dev/null +++ b/docs/source/_static/customize_icon.css @@ -0,0 +1,13 @@ +.icon-home:before { + content: ''; + /* Other styles to adjust size, positioning, etc. */ + display: inline-block; + width: 24px; + height: 24px; + background: url('images/croppedWideLogo.png') no-repeat center center; + background-size: contain; +} + +.icon-home { + font-family: inherit; +} \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index 5887981e..39ee127f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -97,3 +97,7 @@ # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] + +html_css_files = [ + 'customize_icon.css', +]