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
| .nav {
| display: none;
| box-shadow: $shadow;
|
| &__list {
| margin: 0;
| list-style: none;
| padding: 20px 30px;
| background-color: $primary-lighter;
| width: 100%;
|
| &-item {
| line-height: 2.5;
| padding: 0.5rem 0.75rem;
| text-transform: uppercase;
| text-align: center;
| font-size: 1.3em;
| }
| }
|
| &__link {
| &--active {
| border-bottom: 1px solid $primary;
| padding-bottom: 22px;
| }
| }
|
| &--active {
| display: block;
| }
| }
|
| @media screen and (min-width: 961px), print {
| .nav {
| display: flex;
| justify-content: space-between;
| align-items: center;
| box-shadow: none;
|
| &__list {
| display: flex;
| background-color: $accent;
| &-item {
| &:not(:last-child) {
| padding-right: 20px;
| }
| }
|
| &--end {
| flex-shrink: 1;
| justify-content: flex-end;
| }
| }
| }
| }
|
|