-
Notifications
You must be signed in to change notification settings - Fork 381
/
_main.scss
97 lines (82 loc) · 1.41 KB
/
_main.scss
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
html,
body,
.container {
height: 100%;
}
#container {
overflow: hidden;
transition: transform cubic-bezier(.2, .3, .25, .9) .2s;
backface-visibility: hidden;
.drawer-transition & {
left: 0;
position: fixed;
overflow: hidden;
width: 100%;
height: 100%;
z-index: 800;
}
.drawer-open & {
transform: translate3d(280px, 0, 0);
}
}
.surface {
position: absolute;
top: 0;
width: 100%;
height: 100%;
}
.surface-container {
position: relative;
height: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.content {
position: relative;
min-height: 100%;
}
.wrapper {
position: absolute;
left: 30%;
right: 0;
top: 0;
bottom: 0;
outline: 0;
background-color: $background-color;
overflow: auto;
-webkit-overflow-scrolling: touch;
@include breakpoint(medium) {
position: relative;
left: 0;
}
&.wrapper-post {
position: relative;
left: 0;
}
}
.wrapper-container {
padding: 40px 10% 40px 185px;
max-width: 910px;
@include breakpoint(medium) {
padding: 40px 10%;
max-width: 100%;
}
.wrapper-post & {
@extend .center-block;
max-width: 700px;
padding-left: 0;
padding-right: 0;
@include breakpoint(medium) {
width: 75%;
}
@include breakpoint(small) {
width: 100%;
}
}
@include breakpoint(small) {
&,
.wrapper-post & {
padding: 25px 15px;
}
}
}