Replace logo text with image in header and update CSS styles for logo: Removed text-based logo and added an image with hover effects, enhancing visual appeal and user interaction.

This commit is contained in:
TheOnlyMace
2026-01-13 22:17:51 +01:00
parent 2e3b071ca6
commit 43905d78c0
2 changed files with 9 additions and 13 deletions

View File

@@ -149,23 +149,20 @@ body {
.nav-logo a {
text-decoration: none;
font-size: var(--font-size-xl);
font-weight: 700;
color: var(--white);
display: flex;
align-items: center;
}
.logo-text {
font-family: var(--font-logo);
background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
.logo-image {
height: 50px;
width: auto;
object-fit: contain;
transition: var(--transition-base);
}
.logo-tld {
color: var(--accent-color-2);
.logo-image:hover {
transform: scale(1.05);
filter: drop-shadow(0 0 10px rgba(255, 81, 249, 0.5));
}
.nav-menu {

View File

@@ -17,8 +17,7 @@
<div class="nav-container">
<div class="nav-logo">
<a href="index.php">
<span class="logo-text">HexaHost</span>
<span class="logo-tld">.de</span>
<img src="https://cdn.hexahost.de/assets/img/logo/8iFs123BynHQWHI5.png" alt="HexaHost.de Logo" class="logo-image">
</a>
</div>
<ul class="nav-menu">