diff --git a/docs/images/NVIDIA_Logo_MKdocs.svg b/docs/images/NVIDIA_Logo_MKdocs.svg new file mode 100644 index 0000000000..856fdbabea --- /dev/null +++ b/docs/images/NVIDIA_Logo_MKdocs.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 99be34c55f..2714f1bc71 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -4,13 +4,14 @@ } */ .md-header { - background-color: rgb(0, 76, 117) !important; + background-color: #232837 !important; } .md-tabs { /* background-image: url(../assets/images/second-nav-blue.png); */ - background-color: rgb(0, 155, 223) !important; + background-color: #FAFAFA !important; font-weight: bold; + color: #000000 } /* Footer */ @@ -26,8 +27,21 @@ background-color: rgb(0, 76, 117) !important; border-top: 1px solid #1b2532 !important; } -.md-header-nav__button.md-logo img, .md-header-nav__button.md-logo svg { - width: 50px +.custom-logo-container { + display: flex; + align-items: center; + margin-right: auto; + padding-left: 10px; +} +.custom-logo { + height: 40px; /* Adjust size as needed */ + width: auto; +} +.logo-separator { + margin: 0 10px; + font-size: 20px; + font-weight: bold; + color: #ffffff; /* Adjust separator color */ } /* for the mobile nav bar */ diff --git a/mkdocs.yml b/mkdocs.yml index 0852877c71..0b4ac50ac0 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Run:ai Documentation Library +site_name: Documentation site_url: https://docs.run.ai/ copyright: Copyright © 2020 - 2024 Run:ai repo_url: https://github.com/run-ai/docs/ @@ -9,7 +9,6 @@ theme: custom_dir: overrides language: en favicon: images/favicon.ico - logo: images/RUNAI-LOGO-DIGITAL-2C_WP.svg features: - navigation.indexes - navigation.tabs diff --git a/overrides/main.html b/overrides/main.html index 99d6792a58..4dc38d60d3 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -32,14 +32,17 @@ {% endblock %} -{% block extrahead %} - - - - +{% block site_nav %} +
+ + | + +
+ {{ super() }} {% endblock %} + {% block footer %} {% endblock %}