mirror of https://github.com/onweru/compose.git

weru
10.54.2020 fddda669e1c27c2bd4ff7cc5dcaa8562079b4c3f
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
.nav
  display: grid
  grid-gap: 1rem
  padding: 0 1.5rem !important
  align-items: center
  background-color: var(--bg)
  @media screen and (min-width: 992px)
    grid-template-columns: 10rem 1fr
  &_brand
    position: relative
    picture, img
      max-width: 10rem
  &_header
    position: absolute
    top: 0
    left: 0
    width: 100%
    background-color: var(--bg)
    z-index: 999999
  &_toggle
    position: absolute
    top: 0
    bottom: 0
    width: 3rem
    display: grid
    align-items: center
    text-align: center
    right: 0
    color: var(--text)
    @media screen and (min-width: 992px)
      display: none
  &_body
    display: flex
    flex-direction: column
    background: var(--accent)
    position: fixed
    height: 100vh
    transform: translateX(-101vw)
    @media screen and (min-width: 992px)
      transform: translateX(0)
      position: relative
      height: initial
      justify-content: flex-end
      background: transparent
      flex-direction: row
  &-link
    display: inline-flex
    padding: 0.5rem 1rem
  &-item
    display: grid
    align-items: center
    .search
      @media screen and (min-width: 992px)
        margin-right: 1.5rem