fix nav styling,
fix linting
This commit is contained in:
parent
4e4b63f63a
commit
9b3a1e8cad
13
css/nav.css
13
css/nav.css
@ -32,6 +32,7 @@ header h1 {
|
||||
margin: 0;
|
||||
background-color: var(--nav-header-bg-color);
|
||||
color: var(--nav-header-text-color);
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
nav {
|
||||
@ -64,20 +65,20 @@ label[for="navtoggle"], #navtoggle {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
nav a[aria-current="page"], nav a:hover {
|
||||
nav a:hover, nav a[aria-current="page"] {
|
||||
color: var(--nav-link-active-text-color);
|
||||
background-color: var(--nav-link-active-bg-color);
|
||||
}
|
||||
|
||||
nav:hover a[aria-current="page"] {
|
||||
color: var(--nav-text-color);
|
||||
background-color: var(--nav-bg-color);
|
||||
}
|
||||
|
||||
nav:hover a[aria-current="page"]:hover {
|
||||
color: var(--nav-link-active-text-color);
|
||||
background-color: var(--nav-link-active-bg-color);
|
||||
}
|
||||
|
||||
nav:hover a[aria-current="page"]:has(~ a:hover) {
|
||||
color: var(--nav-text-color);
|
||||
background-color: var(--nav-bg-color);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (width <= 600px){
|
||||
|
@ -44,7 +44,7 @@ main, dialog {
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 0 16px 16px 16px;
|
||||
padding: 0 16px 16px;
|
||||
}
|
||||
|
||||
.w3-card {
|
||||
|
@ -231,7 +231,7 @@ async function request (url, content) {
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
return {status: 400, error: error};
|
||||
return { status: 400, error };
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
<section class="w3-container">
|
||||
<section>
|
||||
<h2>Settings</h2>
|
||||
<form id = "settings">
|
||||
<div class="w3-card w3-padding">
|
||||
|
Loading…
Reference in New Issue
Block a user