This commit is contained in:
ben7sys
2024-11-01 06:42:44 +01:00
parent d8be0951b0
commit 7b26b3c509
15 changed files with 951 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
/* Header and Navigation */
header {
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
background-color: var(--bg-primary);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.main-nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
max-width: 1200px;
margin: 0 auto;
}
.logo {
font-size: 2rem;
font-weight: bold;
color: var(--accent-color);
}
#theme-toggle {
background: none;
border: none;
color: var(--text-color);
font-size: 1.5rem;
cursor: pointer;
padding: 0.5rem;
transition: var(--transition);
}
#theme-toggle:hover {
color: var(--accent-color);
transform: scale(1.1);
}
#theme-toggle:focus {
outline: 2px solid var(--accent-color);
border-radius: 4px;
}