mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-19 01:03:56 +00:00
feat: add navbar shadow effect on scroll
This commit is contained in:
@@ -45,6 +45,13 @@
|
||||
padding: 0 2.5rem;
|
||||
}
|
||||
|
||||
/* because we can't add a .scrolled class to docusaurus on scroll, we're abusing hide on scroll */
|
||||
.navbarHidden_node_modules-\@docusaurus-theme-classic-lib-theme-Navbar-Layout-styles-module {
|
||||
transform: none !important;
|
||||
box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12),
|
||||
0px 2px 4px -1px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.navbar__items {
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user