more stuff

This commit is contained in:
WinsDominoes 2024-05-08 13:12:36 +07:00
parent 8d933377a8
commit 475a5b3a74
2 changed files with 21 additions and 9 deletions

View File

@ -93,15 +93,19 @@ header {
padding-left: 0;
}
.nav > .nav-list > li {
list-style-type: none;
}
.nav > .nav-list > li a {
.nav > .nav-list > a {
text-decoration: none;
cursor: pointer;
}
.nav > .nav-list > a:hover {
background-color: light-dark(rgba(0, 0, 0, 0.1),hsla(0,0%,100%,.05));
}
.nav > .nav-list > a > li {
list-style-type: none;
}
.nav > #nav-check {
display: none;
}
@ -150,13 +154,13 @@ header {
background-color: light-dark(var(--light-nav-bg-color), var(--dark-nav-bg-color));
}
.nav > .nav-list > li {
.nav > .nav-list > a > li {
padding: 0.5rem 0.75rem 0.5rem 0.75rem;
margin-bottom: 0.35rem;
border-radius: 7px;
}
.nav > .nav-list > li:hover {
.nav > .nav-list > a > li:hover {
background-color: light-dark(rgba(0, 0, 0, 0.1),hsla(0,0%,100%,.05));
}

View File

@ -26,8 +26,16 @@
</div>
<ul class="nav-list">
<li><a href="https://git.winscloud.net"><b>Git</b></a></li>
<li><a href="about.html"><b>About</b></a></li>
<a href="https://git.winscloud.net">
<li>
<b>Git</b>
</li>
</a>
<a href="about.html">
<li>
<b>About</b>
</li>
</a>
</ul>
</nav>
</header>