Skip to content

Commit

Permalink
fix: navbar on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Sep 1, 2024
1 parent 2eb0e15 commit 5e7fc14
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
--ifm-global-shadow-lw: 0 1px 16px 0 rgba(0, 0, 0, 0.05);
}

.navbar {
backdrop-filter: blur(15px);
}

/*
* Light Theme
*/
Expand Down Expand Up @@ -51,6 +47,22 @@
--ifm-footer-background-color: #24283b;
}

/*
* Fancy Navbar
*/

.navbar:not(.navbar-sidebar--show) {
backdrop-filter: blur(15px);
}

[data-theme="light"] .navbar-sidebar--show {
--ifm-navbar-background-color: #fdf0ed;
}

[data-theme="dark"] .navbar-sidebar--show {
--ifm-navbar-background-color: #31364e;
}

/*
* Code Blocks
*/
Expand Down

0 comments on commit 5e7fc14

Please sign in to comment.