Compare commits

...

2 Commits

Author SHA1 Message Date
ben7sys
172b2d0784 Added a thin blue line using a separate header-line.css file
Maintained the existing header gradient and all other functionality
No modifications to existing variables or hover effects
2024-11-17 09:32:22 +01:00
ben7sys
c6f023dccb Verbesserte Standardansicht mit subtilen Hintergründen
Entfernung der dimensionalen Effekte im Normalzustand
Beibehaltung der bewährten Hover-Effekte
Konsistentes Design zwischen Header und Footer
2024-11-17 09:17:46 +01:00
6 changed files with 83 additions and 12 deletions

View File

@@ -20,6 +20,7 @@
<i class="fas fa-bars"></i>
</button>
</div>
<div class="header-horizontal-line"></div>
<script>
// Hide expertise and contact links on non-index pages
if (window.location.pathname !== '/' && window.location.pathname !== '/index.html') {

View File

@@ -35,13 +35,18 @@ footer {
}
.contact-item a {
color: var(--text-muted);
color: var(--text);
text-decoration: none;
transition: color var(--transition-speed) ease;
transition: all 0.3s ease;
padding: 0.3rem 0.5rem;
border-radius: var(--border-radius);
background-color: rgba(var(--bg-hover-rgb), 0.4);
}
.contact-item a:hover {
color: var(--primary);
background-color: var(--bg-card);
transform: translateY(-1px);
}
.contact-item:hover .signal-icon {
@@ -55,29 +60,59 @@ footer {
}
.social-links a {
color: var(--text-muted);
color: var(--text);
text-decoration: none;
transition: color var(--transition-speed) ease;
transition: all 0.3s ease;
padding: 0.5rem;
border-radius: var(--border-radius);
font-size: 1.5rem;
background-color: rgba(var(--bg-hover-rgb), 0.4);
}
.social-links a:hover {
color: var(--primary);
background-color: var(--bg-card);
transform: translateY(-2px);
}
.legal-links {
text-align: center;
font-size: 0.9rem;
font-size: 0.95rem;
color: var(--text-muted);
padding-top: var(--spacing-md);
}
.legal-links a {
color: var(--text-muted);
color: var(--text);
text-decoration: none;
margin: 0 var(--spacing-sm);
transition: color var(--transition-speed) ease;
transition: all 0.3s ease;
padding: 0.4rem 0.8rem;
border-radius: var(--border-radius);
position: relative;
background-color: rgba(var(--bg-hover-rgb), 0.4);
font-weight: 500;
letter-spacing: 0.2px;
}
.legal-links a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: 0;
left: 50%;
background-color: var(--primary);
transition: all 0.3s ease;
transform: translateX(-50%);
}
.legal-links a:hover {
color: var(--primary);
background-color: var(--bg-card);
transform: translateY(-1px);
}
.legal-links a:hover::after {
width: calc(100% - 1.6rem);
}

View File

@@ -0,0 +1,8 @@
.header-horizontal-line {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1px;
background-color: var(--primary);
}

View File

@@ -2,7 +2,7 @@ header {
position: fixed;
top: 0;
width: 100%;
background: linear-gradient(350deg, var(--header-gradient-1), var(--header-gradient-2));
background: linear-gradient(90deg, var(--header-gradient-1), var(--header-gradient-2));
backdrop-filter: blur(10px);
padding: var(--spacing-lg) var(--spacing-md);
z-index: 1000;
@@ -31,7 +31,7 @@ header {
}
.logo-text {
font-size: 2.2rem;
font-size: 1.7rem;
font-weight: bold;
text-align: center;
line-height: 1;
@@ -52,12 +52,36 @@ header {
.nav-menu a {
color: var(--text);
text-decoration: none;
font-size: 1rem;
transition: var(--theme-transition);
font-size: 1.05rem;
font-weight: 500;
transition: all 0.3s ease;
padding: 0.5rem 0.8rem;
border-radius: var(--border-radius);
position: relative;
background-color: rgba(var(--bg-hover-rgb), 0.4);
letter-spacing: 0.3px;
}
.nav-menu a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: 0;
left: 50%;
background-color: var(--primary);
transition: all 0.3s ease;
transform: translateX(-50%);
}
.nav-menu a:hover {
color: var(--primary);
background-color: var(--bg-card);
transform: translateY(-1px);
}
.nav-menu a:hover::after {
width: calc(100% - 1.6rem);
}
.theme-toggle {

View File

@@ -10,9 +10,10 @@
--bg-card: #f5f5f5;
--text: #333333;
--text-muted: #666666;
--header-gradient-1: rgba(245, 245, 245, 0.9);
--header-gradient-1: rgba(220, 220, 220, 0.9);
--header-gradient-2: rgba(235, 235, 235, 0.9);
--border-color: rgba(58, 123, 224, 0.1);
--bg-hover-rgb: 207, 207, 207;
}
[data-theme="dark"] {
@@ -22,6 +23,7 @@
--text-muted: #888888;
--header-gradient-1: rgba(14, 14, 14, 0.9);
--header-gradient-2: rgba(41, 41, 41, 0.9);
--bg-hover-rgb: 17, 17, 17;
}
/* Common tokens */

View File

@@ -16,6 +16,7 @@
<link rel="stylesheet" href="css/components.css">
<link rel="stylesheet" href="css/footer.css">
<link rel="stylesheet" href="css/header.css">
<link rel="stylesheet" href="css/header-line.css">
<link rel="stylesheet" href="css/layout.css">
<link rel="stylesheet" href="css/responsive.css">
<link rel="stylesheet" href="css/variables.css">