From c419b304dfad63e9c6fb69828ecf8dc7455f1fba Mon Sep 17 00:00:00 2001 From: Sped0n Date: Sun, 29 Oct 2023 22:11:32 +0800 Subject: [PATCH] feat(nav.scss): add styles for navigation bar - Added styles for the navigation bar to improve the appearance and functionality of the navigation component. - The navigation bar now has a fixed position at the bottom of the screen and is displayed as a flex container with space between and aligned center. - The width of the navigation bar is set to 100% and the height is set using a CSS variable (--nav-height). - Added padding to the navigation bar for spacing. - The navigation bar has a white background and a z-index value of (--z-nav) to ensure it appears above other elements. - The pointer-events property is set to "all" to maintain functionality while the container is locked. - Added styles for the ".num" and ".current" classes. - Added media queries to adjust the position and visibility of the navigation bar on smaller screens or devices without hover capability. --- assets/{css => scss}/_partial/_nav.scss | 1 - 1 file changed, 1 deletion(-) rename assets/{css => scss}/_partial/_nav.scss (96%) diff --git a/assets/css/_partial/_nav.scss b/assets/scss/_partial/_nav.scss similarity index 96% rename from assets/css/_partial/_nav.scss rename to assets/scss/_partial/_nav.scss index 6b4d1c3..586b3d9 100644 --- a/assets/css/_partial/_nav.scss +++ b/assets/scss/_partial/_nav.scss @@ -34,7 +34,6 @@ nav { @media (max-width: $tablet), (hover: none) { nav { top: 0; - position: sticky; } .index,