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

_layout.scss « base « styles - github.com/huyb1991/hugo-lamp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 478ace925853c47a5f4ecf2b3287a7756e45d683 (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
39
40
.wrapper {
  display: grid;
  grid-gap: $space-normal;

  // @media screen and (max-width: $phone) {
  //   grid-template-rows: $header-height 1fr auto $footer-height;
  //   grid-template-areas:
  //     "header"
  //     "main"
  //     "sidebar"
  //     "footer";
  // }

  @media screen and (min-width: $phone) {
    grid-template-columns: 320px 1fr;
    grid-template-areas:
      "header main"
      "header footer";
  }
}

.header {
  grid-area: header;
}

.main {
  grid-area: main;
}

.footer {
  grid-area: footer;
}

.content {
  grid-area: content;
}

.sidebar {
  grid-area: sidebar;
}