diff --git a/README.md b/README.md index 556519944..cc5e00a3f 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ pathpyG ======= -![image](docs/img/pathpy_logo_new.png) +![image](docs/img/pathpy_logo.png) [![Testing Status][testing-image]][testing-url] [![Linting Status][linting-image]][linting-url] diff --git a/docs/img/favicon.ico b/docs/img/favicon.ico index 0011665e9..99e5b2f84 100644 Binary files a/docs/img/favicon.ico and b/docs/img/favicon.ico differ diff --git a/docs/img/pathpy_logo.png b/docs/img/pathpy_logo.png index d95bad26d..f83d58935 100644 Binary files a/docs/img/pathpy_logo.png and b/docs/img/pathpy_logo.png differ diff --git a/docs/img/pathpy_logo_new.png b/docs/img/pathpy_logo_new.png deleted file mode 100644 index f83d58935..000000000 Binary files a/docs/img/pathpy_logo_new.png and /dev/null differ diff --git a/docs/img/pathpy_logo_white.png b/docs/img/pathpy_logo_white.png new file mode 100644 index 000000000..c98424c7b Binary files /dev/null and b/docs/img/pathpy_logo_white.png differ diff --git a/docs/overrides/assets/stylesheets/header.css b/docs/overrides/assets/stylesheets/header.css new file mode 100644 index 000000000..ad8799ece --- /dev/null +++ b/docs/overrides/assets/stylesheets/header.css @@ -0,0 +1,12 @@ +.md-header__topic { + display: none; +} + +.md-header__button.md-logo { + margin: 0; + padding: 0 .4rem; +} + +.md-header__button.md-logo img, .md-header__button.md-logo svg { + height: 2.2rem; +} \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index dea94980e..778162ef7 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -6,7 +6,6 @@ site_description: >- An Open Source package facilitating next-generation network analytics and graph learning for time series data on graphs. # Repository -# TODO: Check the number of stars and forks once repo is public # Currently displays wrong numbes repo_name: pathpy/pathpyG repo_url: https://github.com/pathpy/pathpyG @@ -73,6 +72,7 @@ extra: provider: mike extra_css: + - overrides/assets/stylesheets/header.css # Remove the sitename from the header, since the logo already contains it - overrides/assets/stylesheets/home.css - overrides/assets/stylesheets/code_select.css - https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.css @@ -89,7 +89,7 @@ extra_javascript: # Theme theme: name: material - logo: img/pathpy_logo.png + logo: img/pathpy_logo_white.png favicon: img/favicon.ico custom_dir: docs/overrides icon: