Skip to content
Snippets Groups Projects
Commit d49046ef authored by Martin Schroschk's avatar Martin Schroschk
Browse files

Merge branch '34-cd-tud-links-and-add-zih-logo' into 'preview'

Resolve "CD TUD: Links and add ZIH Logo"

See merge request zih/hpc-compendium/hpc-compendium!171
parents cfb09462 cc972380
No related branches found
No related tags found
3 merge requests!322Merge preview into main,!319Merge preview into main,!171Resolve "CD TUD: Links and add ZIH Logo"
...@@ -146,7 +146,7 @@ site_dir: public ...@@ -146,7 +146,7 @@ site_dir: public
site_url: https://gitlab.hrz.tu-chemnitz.de/hpcsupport/hpc-compendium site_url: https://gitlab.hrz.tu-chemnitz.de/hpcsupport/hpc-compendium
# uncomment next 3 lines if link to repo should not be displayed in the navbar # uncomment next 3 lines if link to repo should not be displayed in the navbar
repo_name: GitLab hpcsupport/hpc-compendium repo_name: GitLab hpcsupport/hpc-compendium
repo_url: https://gitlab.hrz.tu-chemnitz.de/hpcsupport/hpc-compend ium repo_url: https://gitlab.hrz.tu-chemnitz.de/hpcsupport/hpc-compendium
edit_uri: blob/master/docs/ edit_uri: blob/master/docs/
# Configuration # Configuration
...@@ -163,6 +163,7 @@ theme: ...@@ -163,6 +163,7 @@ theme:
favicon: assets/images/Logo_klein.png favicon: assets/images/Logo_klein.png
# logo in header and footer # logo in header and footer
logo: assets/images/TUD_Logo_weiss_57.png logo: assets/images/TUD_Logo_weiss_57.png
second_logo: assets/images/zih.png
# extends base css # extends base css
extra_css: extra_css:
...@@ -173,6 +174,8 @@ markdown_extensions: ...@@ -173,6 +174,8 @@ markdown_extensions:
permalink: True permalink: True
extra: extra:
homepage: https://tu-dresden.de
zih_homepage: https://tu-dresden.de/zih
# links in footer # links in footer
footer: footer:
- link: https://doc.zih.tu-dresden.de/hpc-wiki/bin/view/Compendium/Impressum - link: https://doc.zih.tu-dresden.de/hpc-wiki/bin/view/Compendium/Impressum
......
doc.zih.tu-dresden.de/tud_theme/assets/images/zih.png

316 KiB

...@@ -67,5 +67,11 @@ ...@@ -67,5 +67,11 @@
{% include "partials/search.html" %} {% include "partials/search.html" %}
{% endif %} {% endif %}
<!-- Repository information -->
{% if config.repo_url %}
<div class="md-header__source">
{% include "partials/source.html" %}
</div>
{% endif %}
</nav> </nav>
</header> </header>
\ No newline at end of file
...@@ -26,6 +26,16 @@ ...@@ -26,6 +26,16 @@
{% set class = class ~ " md-nav--integrated" %} {% set class = class ~ " md-nav--integrated" %}
{% endif %} {% endif %}
<a
href="{{ config.extra.zih_homepage | url }}"
title="{{ config.zih_name | e }}"
class="md-logo zih-logo"
aria-label="{{ config.zih_name }}"
data-md-component="logo"
>
<img src="{{ config.theme.second_logo | url }}" alt="logo" />
</a>
<!-- Main navigation --> <!-- Main navigation -->
<nav <nav
class="{{ class }}" class="{{ class }}"
......
...@@ -63,11 +63,6 @@ strong { ...@@ -63,11 +63,6 @@ strong {
color: var(--tud-red-90); color: var(--tud-red-90);
} }
.md-nav__link:hover,
a:hover {
text-decoration: underline;
color: var(--tud-grey-100);
}
.md-grid { .md-grid {
max-width: 1600px; max-width: 1600px;
} }
...@@ -84,17 +79,21 @@ a:hover { ...@@ -84,17 +79,21 @@ a:hover {
.md-header__button, .md-header__button,
.md-header__button.md-logo, .md-header__button.md-logo,
.md-logo { .md-logo {
padding: 0; padding: 0 0.6rem;
margin: 0; margin: 0;
} }
.md-header__button.md-logo { .md-header__button.md-logo {
width: 12.1rem; width: 12.1rem;
} }
/* center top Logo */
/* .md-header__button img { .zih-logo img {
display: block; display: inline-block;
margin: 0 auto; width: 70%;
} */ height: auto;
margin: auto;
padding: 0 .6rem 1rem;
}
.md-header__topic{ .md-header__topic{
padding: 0 30px; padding: 0 30px;
...@@ -136,6 +135,7 @@ a:hover { ...@@ -136,6 +135,7 @@ a:hover {
display: none; display: none;
} }
} }
@media screen and (min-width: 60rem) { @media screen and (min-width: 60rem) {
.md-header__button.md-icon { .md-header__button.md-icon {
display: none; display: none;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment