Added link to logo

This commit is contained in:
Lukas Zehentner 2023-02-27 22:19:17 +01:00
parent 0964fd1311
commit 4f36400bcc
2 changed files with 6 additions and 4 deletions

View file

@ -116,7 +116,7 @@ a:hover {
text-decoration: underline; text-decoration: underline;
} }
.service-link:hover, .social-media:hover { .logo-link:hover, .service-link:hover, .social-media:hover {
text-decoration: none; text-decoration: none;
} }
@ -124,7 +124,7 @@ a:hover {
filter: drop-shadow( 0px 0px 3px rgba(0, 0, 0, .7)); filter: drop-shadow( 0px 0px 3px rgba(0, 0, 0, .7));
} }
.nav-img { .logo-img {
height: 2em; height: 2em;
width: auto; width: auto;
margin-right: 0.3em; margin-right: 0.3em;

View file

@ -27,8 +27,10 @@
<header class="header-nav"> <header class="header-nav">
<nav class="header-content"> <nav class="header-content">
<span class="header-title"> <span class="header-title">
<img src="static/img/logo.svg" alt="" class="nav-img" height="48" width="48" alt=""> <a href="index.html" class="logo-link">
ComputerSchaf <img src="static/img/logo.svg" alt="" class="logo-img" height="48" width="48" alt="">
ComputerSchaf
</a>
</span> </span>
<span class="header-spacer"></span> <span class="header-spacer"></span>
<span> <span>