mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 15:09:47 +00:00
feat: add backdrop filter to fixed header
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
.notion {
|
||||
--notion-max-width: 720px;
|
||||
--notion-header-height: 54px;
|
||||
}
|
||||
|
||||
.notion-page {
|
||||
@@ -317,3 +318,13 @@
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 8px 40px 0 rgb(0 0 0 / 21%);
|
||||
}
|
||||
|
||||
.notion-header {
|
||||
background: hsla(0, 0%, 100%, 0.8);
|
||||
backdrop-filter: saturate(180%) blur(5px);
|
||||
}
|
||||
|
||||
.dark-mode .notion-header {
|
||||
background: transparent;
|
||||
box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user