blob: 472fa15792b78f324223bed327d5ee6676691a75 (
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
41
42
43
44
45
|
/*-----------------------*
Structure
*-----------------------*/
html,
body {
height: 100%;
}
.container {
width: 100%;
height: 100%;
@include grid($flex-flow: column nowrap);
margin: auto;
}
.content-container {
@include grid-col($flex-grow: 1, $flex-shrink: 0, $flex-basis: auto);
@include grid();
}
main {
@include grid-col($col: 9, $flex-shrink: 0 );
max-width: 75%;
}
.sidebar {
@include grid-col($col: 3, $order: -1);
// position: fixed;
// overflow-x: hidden;
overflow-x: hidden;
overflow-y: scroll;
}
@media screen and (max-width: #{map-get($default-breakpoints, xs )} ) {
.content-container {
@include grid($flex-flow: column nowrap);
}
main {
@include grid-col($col: none, $flex-shrink: 0);
max-width: 100%;
}
.sidebar {
@include grid-col($col: none, $order: 1);
}
}
|