From 2f63bf0fb037014fc7b52821bba05d49e61ffb6d Mon Sep 17 00:00:00 2001 From: Allyson Lubimir Date: Thu, 20 Oct 2022 14:44:36 -0400 Subject: [PATCH] update docs navigation --- docs/docs/css/custom.css | 21 +++++++++++++++++++-- docs/docs/images/positLogoBlack.svg | 1 + docs/docs/images/positLogoWhite.svg | 1 + docs/overrides/partials/header.html | 2 +- 4 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 docs/docs/images/positLogoBlack.svg create mode 100644 docs/docs/images/positLogoWhite.svg diff --git a/docs/docs/css/custom.css b/docs/docs/css/custom.css index 74fa1ec0..114a1c39 100644 --- a/docs/docs/css/custom.css +++ b/docs/docs/css/custom.css @@ -55,15 +55,32 @@ .md-tabs__list { margin: 0 2em 0 .2rem; - padding-top: 15px; list-style: none; white-space: nowrap; } .md-tabs__link { - margin: 0; + margin-top: .2rem !important; padding: 0; } + +.md-tabs__item { + height: 1.75rem !important; +} + +.md-tabs__link.logo { + background-image: url(../images/positLogoBlack.svg); + background-size: 80px auto; + background-repeat: no-repeat; + background-position: bottom; + height: 1.75rem; + width: 80px; +} + +[data-md-color-primary=black] .md-tabs__link.logo { + background-image: url(../images/positLogoWhite.svg); +} + .md-typeset dl dt { font-style: italic; font-weight: bold; diff --git a/docs/docs/images/positLogoBlack.svg b/docs/docs/images/positLogoBlack.svg new file mode 100644 index 00000000..b85676de --- /dev/null +++ b/docs/docs/images/positLogoBlack.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/docs/images/positLogoWhite.svg b/docs/docs/images/positLogoWhite.svg new file mode 100644 index 00000000..fc4636fa --- /dev/null +++ b/docs/docs/images/positLogoWhite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/overrides/partials/header.html b/docs/overrides/partials/header.html index baec1846..a53ecee9 100644 --- a/docs/overrides/partials/header.html +++ b/docs/overrides/partials/header.html @@ -83,9 +83,9 @@ {% endif %}
{% if "search" in config["plugins"] %}