Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task] Update site header name SA 5765 #20

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
site_name: Stakater Docs
site_name: ""
docs_dir: content
site_url: null
repo_url: null
Expand Down
5 changes: 5 additions & 0 deletions resources/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
{% if config.theme.logo_dark %}
<img class="md-header__logo_dark" src="{{ config.theme.logo_dark | url }}#only-dark" alt="logo" />
{% endif %}
{% if config.site_name %}
<div class="header-site-name">
<h5 class="site-name-text">{{ config.site_name }}</h5>
</div>
{% endif %}
</div>
<!-- Topic -->
</div>
Expand Down
16 changes: 14 additions & 2 deletions resources/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
flex-direction: column;
justify-content: center;
}

.header-site-name {
margin-left: 10px;
}
}


Expand Down Expand Up @@ -122,6 +126,10 @@
}

/* custom classes */
.site-name-text {
color: #fff;
}

.custom-anchor {
color: rgba(255, 255, 255, 0.8);
}
Expand All @@ -148,7 +156,7 @@

.md-footer{
background-color: #131414;
border-top: 1px solid rgba(255, 255, 255, 0.1);
border-top: 2px solid rgba(255, 255, 255, 0.3);
margin-top: 2rem
}
.md-footer-col-title {
Expand Down Expand Up @@ -237,6 +245,10 @@
}

/* custom classes */
.site-name-text {
color: rgba(0, 0, 0, 0.837);
}

.custom-anchor {
color: rgba(0, 0, 0, 0.837);
}
Expand All @@ -262,7 +274,7 @@

.md-footer{
background-color: white;
border-top: 1px solid rgba(0, 0, 0, 0.2);
border-top: 2px solid rgba(0, 0, 0, 0.2);
margin-top: 2rem
}
.md-footer-col-title {
Expand Down