Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_wrapper.scss « components « partials « scss « assets - github.com/lxndrblz/anatole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aa6648b36e599bc66135a76510b565d2416b7eaf (plain)
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
.wrapper {
  display: flex;
  flex-direction: column;

  @include desktop {
    flex-direction: row;
  }

  @include widescreen {
    justify-content: center;
  }

  &__main {
    width: 100%;

    @include desktop_and_print {
      width: $content-width;
    }

    @include widescreen {
      width: calc(#{$content-ratio} * 80%);
    }
  }

  &__sidebar {
    width: 100%;
    padding: 16px 0;

    @include desktop_and_print {
      width: $sidebar-width;
      padding: 0;
    }

    @include widescreen {
      width: calc(#{$sidebar-ratio} * 80%);
    }
  }
}