blob: 128ae0b725a8e642282c28bea82d92e49e682a44 (
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
 | .navigation-container {
  background: $color-bg;
  border-left: 1px solid $color-bg-alt;
  border-right: 1px solid $color-bg-alt;
  height: 100px;
  left: 0;
  margin: auto;
  max-width: 52em;
  padding: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 128;
}
.navigation {
  background: $color-bg;
  border-left: 1px solid $color-bg-alt;
  border-right: 1px solid $color-bg-alt;
  height: 100%;
  left: 0;
  margin: auto;
  max-width: 52em;
  padding: 0;
  position: fixed;
  right: 0;
  top: 100px;
  transform: scale(.1, 0);
  transform-origin: 100% 0%;
  transition: none;
  width: 100%;
}
.navigation-header {
  height: 100px;
  margin: auto;
  overflow: hidden;
  padding-bottom: 32px;
  padding-left: 32px;
  padding-right: 100px;
  padding-top: 32px;
  position: absolute;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  width: 100%;
}
.navigation-footer {
  bottom: 0;
  list-style-type: none;
  margin: auto;
  max-width: 52em;
  padding: 20px;
  position: fixed;
  text-align: center;
  width: 100%;
  li {
    border-right: 1px solid;
    display: inline;
    padding: 0 20px;
    @media (max-width: 684px) {
      padding: 0 10px;
    }
  }
  li:last-child {
    border-right: 0;
  }
}
.navigation-pills {
  height: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}
.navigation-item {
  padding-bottom: 5px;
  &:last-child {
    padding-bottom: 0;
  }
  a {
    text-decoration: none;
    text-transform: uppercase;
  }
}
.toggle-button {
  display: none;
  &:checked ~ .navigation {
    transform: none;
    transition: all .1s;
  }
  &:checked ~ .toggle-label {
    span {
      opacity: 0;
      top: 50%;
    }
    span:first-child {
      opacity: 1;
      transform: rotate(405deg);
    }
    span:last-child {
      opacity: 1;
      transform: rotate(-405deg);
    }
  }
}
.toggle-label {
  float: right;
  height: 20px;
  margin: 40px;
  position: relative;
  width: 15px;
  &:hover {
    cursor: pointer;
  }
  span {
    background: $color-text;
    height: 2px;
    position: absolute;
    top: 50%;
    transition: .5s;
    width: 100%;
    &:first-child {
      top: 3px;
    }
    &:last-child {
      top: 16px;
    }
  }
}
 |