From 475a5b3a7408bb1d24a6a08608a207c3edd73cf4 Mon Sep 17 00:00:00 2001 From: WinsDominoes Date: Wed, 8 May 2024 13:12:36 +0700 Subject: [PATCH] more stuff --- assets/css/style.css | 18 +++++++++++------- index.html | 12 ++++++++++-- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 9c9da9f..eb9d17c 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -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)); } diff --git a/index.html b/index.html index 2286927..d0ac8a7 100644 --- a/index.html +++ b/index.html @@ -26,8 +26,16 @@