Fix(UI): Navigation header styles.

This commit is contained in:
2025-04-09 14:51:43 +01:00
parent e1597f496f
commit 26a0b49492
3 changed files with 16 additions and 12 deletions

View File

@@ -24,7 +24,11 @@ nav a {
font-weight: 500;
transition: color 0.3s;
}
nav a:visited {
color: var(--text-background-colour);
}
nav a:hover {
nav a:hover,
nav a:hover:visited {
color: var(--accent-colour);
}

View File

@@ -87,15 +87,15 @@
background: none;
border: none;
cursor: pointer;
width: 5vh;
height: 5vh;
width: 4vh;
height: 4vh;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
position: relative;
margin-top: auto;
border-radius: 2.5vh;
border-radius: 2vh;
}
.theme-switch:hover {
background-color: var(--primary-colour);
@@ -111,13 +111,13 @@
}
img.theme-icon.dark-mode-icon {
top: 0vh;
left: -0.1vh;
left: 0vh;
}
svg.theme-icon.light-mode-icon {
width: 4vh;
height: 4vh;
top: 0.55vh;
left: 0.45vh;
width: 3.5vh;
height: 3.5vh;
top: 0.25vh;
left: 0.25vh;
}
svg.theme-icon.light-mode-icon .background {
fill: var(--secondary-colour);