-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_navigation.scss
55 lines (46 loc) · 1.09 KB
/
_navigation.scss
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
.navMain {
&.gear {
ul {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
@media screen and (max-width: $break-mobile) {
grid-template-columns: 1fr 1fr 1fr;
}
}
}
ul {
list-style: none;
padding: 0;
margin: 0;
// display: grid;
grid-gap: 0rem 1rem;
// grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
display: flex;
flex-direction: row;
justify-content: space-around;
padding-bottom: 2rem;
@media screen and (max-width: $break-mobile) {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
}
li {
text-align: center;
a {
display: block;
padding: .3rem .3rem;
@media screen and (max-width: $break-mobile) {
padding: .1rem .1rem 0;
}
color: var(--color-nav-text);
text-decoration: none;
&:hover,
&::selection {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
color: var(--color-nav-hover);
text-decoration: none;
background: transparent;
}
}
}
}
}