Skip to content

Commit 9d821a9

Browse files
Navbar related styles
1 parent 8564852 commit 9d821a9

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

quartz/components/styles/navbar.scss

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
@use "../../styles/variables.scss" as *;
2+
@use "sass:map";
3+
4+
.navbar {
5+
position: fixed;
6+
top: 0;
7+
width: 100%;
8+
display: flex;
9+
background-color: var(--light);
10+
z-index: 100;
11+
12+
@media all and ($desktop) {
13+
justify-content: center;
14+
}
15+
16+
& .navbar-center {
17+
display: flex;
18+
flex-wrap: wrap;
19+
min-height: 60px;
20+
min-width: 95%;
21+
justify-content: space-between;
22+
align-items: center;
23+
24+
@media all and ($mobile) {
25+
width: 90%;
26+
gap: 10px;
27+
justify-content: flex-end;
28+
}
29+
30+
@media all and ($tablet) {
31+
width: 90%;
32+
}
33+
34+
& .explorer.mobile-only {
35+
position: relative;
36+
top: 15px;
37+
left: -20px;
38+
}
39+
}
40+
}
41+
42+
.left.sidebar {
43+
& > .search {
44+
padding: 1rem 0 8px;
45+
}
46+
}

0 commit comments

Comments
 (0)