-
Notifications
You must be signed in to change notification settings - Fork 2k
/
_menu.styl
57 lines (48 loc) · 862 Bytes
/
_menu.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.site-nav {
+mobile() {
border-bottom: 1px solid $grey-lighter;
border-top: 1px solid $grey-lighter;
left: 0;
margin: 0;
padding: 0;
width: 100%;
}
}
.menu {
+mobile() {
text-align: left;
}
}
.menu-item-active a {
background: transparent;
border-bottom: 1px solid var(--link-hover-color) !important;
+mobile() {
border-bottom: 1px dotted $grey-lighter !important;
}
}
.menu .menu-item {
+mobile() {
margin: 0 10px;
}
a, span.exturl {
border-bottom: 1px solid transparent;
+mobile() {
padding: 5px 10px;
}
&:hover {
@extend .menu-item-active a;
}
}
.fa, .fab, .far, .fas {
+tablet-desktop() {
display: block;
line-height: 2;
margin-right: 0;
width: 100%;
}
}
.badge {
background: $gainsboro;
padding: 1px 4px;
}
}