blob: 51e2dd32fc8b593b713bd8ac380b7f1881826a75 (
plain) (
blame)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
@media screen and (max-width: 769px)
.nav
// padding-bottom: 2rem
&, &_body
flex-direction: column
&_body
position: fixed
width: 90%
max-width: 16.5rem
top: 0
bottom: 0
background-color: $bg
transition: transform 0.3s var(--easing)
&_right
transform: translateX(100vw)
right: 0
&_left
transform: translateX(-100vw)
left: 0
&_close
width: 3rem
position: absolute
right: -4rem
top: 0
bottom: 0
cursor: pointer
z-index: 1000
display: grid
place-items: center
svg
width: 1.25rem
fill: var(--light)
height: 1.25rem
display: none
&:first-child
display: initial
&.isopen
display: none
+ svg
display: initial
&_brand
position: relative
z-index: 999
width: calc(100% - 3rem)
padding-left: 0
&_parent
display: grid
&_sub
position: relative
top: initial
padding-top: 0
.jsopen
&::after
content: ""
position: fixed
z-index: 2
background-color: rgba(0,0,0,0.3)
top: 0
left: 0
right: 0
bottom: 0
.nav
&_body
transform: translateX(0)
padding-left: 1.5rem
padding-right: 1.5rem
&_parent
&:first-child
margin-top: 4.4rem
.follow
justify-content: flex-start
flex: initial
margin-top: 0.75rem
|