Skip to content
Snippets Groups Projects
Commit cc972380 authored by LocNgu's avatar LocNgu
Browse files

add zih logo

parent 8b32c220
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"
......@@ -163,6 +163,7 @@ theme:
favicon: assets/images/Logo_klein.png
# logo in header and footer
logo: assets/images/TUD_Logo_weiss_57.png
second_logo: assets/images/zih.png
# extends base css
extra_css:
......@@ -174,6 +175,7 @@ markdown_extensions:
extra:
homepage: https://tu-dresden.de
zih_homepage: https://tu-dresden.de/zih
# links in footer
footer:
- 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

......@@ -26,6 +26,16 @@
{% set class = class ~ " md-nav--integrated" %}
{% 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 -->
<nav
class="{{ class }}"
......
......@@ -79,17 +79,21 @@ strong {
.md-header__button,
.md-header__button.md-logo,
.md-logo {
padding: 0;
padding: 0 0.6rem;
margin: 0;
}
.md-header__button.md-logo {
width: 12.1rem;
}
/* center top Logo */
/* .md-header__button img {
display: block;
margin: 0 auto;
} */
.zih-logo img {
display: inline-block;
width: 70%;
height: auto;
margin: auto;
padding: 0 .6rem 1rem;
}
.md-header__topic{
padding: 0 30px;
......
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