Skip to content

Commit a68f91a

Browse files
committed
Add blur to the header
1 parent 677ded8 commit a68f91a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/css/custom.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,19 @@ article p {
264264

265265
.navbar {
266266
padding: 0;
267+
background-color: transparent;
268+
}
269+
270+
.navbar::before {
271+
content: '';
272+
position: absolute;
273+
top: 0;
274+
left: 0;
275+
right: 0;
276+
height: 100%;
277+
backdrop-filter: blur(12px) saturate(180%);
278+
background-color: rgba(255, 255, 255, 0.7);
279+
z-index: -1;
267280
}
268281

269282
.navbar__inner {

0 commit comments

Comments
 (0)