Skip to content

Commit b0f6e6d

Browse files
updates
1 parent f4c1e26 commit b0f6e6d

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

docs/stylesheets/extra.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,15 @@
2727
background-color: rgb(0, 76, 117) !important;
2828
border-top: 1px solid #1b2532 !important;
2929
}
30+
31+
.md-header__button.md-logo {
32+
display: none !important;
33+
}
34+
3035
.custom-logo-container {
3136
display: flex;
3237
align-items: center;
33-
margin-right: auto;
38+
grid-column: 1;
3439
padding-left: 10px;
3540
}
3641
.custom-logo {

overrides/main.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,20 @@
3232
<!-- End of Swagger custom style -->
3333
{% endblock %}
3434

35-
{% block site_nav %}
3635

37-
<div class="custom-logo-container">
38-
<img src="../docs/images/NVIDIA_Logo_MKdocs.svg class="custom-logo">
39-
<span class="logo-separator">|</span>
40-
<img src="../docs/images/RUNAI-LOGO-DIGITAL-2C_WP.svg" class="custom-logo">
36+
{% block site_nav %}
37+
<div class="md-header__inner md-grid">
38+
<!-- Custom Logo Container -->
39+
<div class="custom-logo-container">
40+
<img src="{{ base_url }}/images/RUNAI-LOGO-DIGITAL-2C_WP.svg" class="custom-logo">
41+
<span class="logo-separator">|</span>
42+
<img src="{{ base_url }}/images/RUNAI-LOGO-DIGITAL-2C_WP.svg" class="custom-logo">
43+
</div>
44+
<!-- Keep the original header content -->
45+
{{ super() }}
4146
</div>
42-
{{ super() }}
4347
{% endblock %}
4448

45-
4649
{% block footer %}
4750

4851
{% endblock %}

0 commit comments

Comments
 (0)