Make brand logo a link to main page
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Nils Steinger 2023-03-17 20:03:57 +01:00
parent 342a7785a8
commit 28f679e85c
2 changed files with 11 additions and 2 deletions

View File

@ -70,6 +70,13 @@ header {
.header-brand { .header-brand {
display: flex; display: flex;
a {
// linkify the brand logo without changing its style
display: inherit;
color: inherit;
text-decoration: inherit;
}
img + pre { img + pre {
margin-left: 0.5rem; margin-left: 0.5rem;
} }

View File

@ -20,11 +20,13 @@
<body> <body>
<header> <header>
<div class="header-brand"> <div class="header-brand">
<img alt="Logo der Intergalaktischen Erfahrungsreise, kurz IGER" class="header-logo" src="/logo.svg"> <a href="{{ relref . "/" }}">
<pre><span>I</span>nter <img alt="Logo der Intergalaktischen Erfahrungsreise, kurz IGER" class="header-logo" src="/logo.svg">
<pre><span>I</span>nter
<span>G</span>alaktische <span>G</span>alaktische
<span>E</span>rfahrungs <span>E</span>rfahrungs
<span>R</span>eise</pre> <span>R</span>eise</pre>
</a>
</div> </div>
<input class="nav-toggle" id="toggleMainNav" type="checkbox"> <input class="nav-toggle" id="toggleMainNav" type="checkbox">
<label class="nav-burger" for="toggleMainNav"> <label class="nav-burger" for="toggleMainNav">