mirror of https://github.com/lxndrblz/anatole.git

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