Newer
Older
Ekaterina Kondareva
committed
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
:host {
display: block;
}
.with-sidebar {
.hy-main-content-wrapper {
margin: 0 auto;
// Layout Mobile 320-479px
max-width: 22.5rem; // 328px
padding: 0 1rem;
// Layout Tablet 480-959px
@include breakpoint($narrow) {
max-width: 48rem; // 704px
padding: 0 2rem;
}
// Layout Small Desktop 960-1200px
@include breakpoint($wide) {
max-width: 48rem; // 704px
}
// > 1280px
@include breakpoint($extrawide) {
max-width: 64rem; // 960px
}
// Large desktop Layout >1441px
@include breakpoint($overwide) {
max-width: 80rem; // 1216px + (32px + 32px side margins)
}
}
}
.without-sidebar {
.hy-main-content-wrapper {
margin: 0 auto;
// Layout Mobile 320-479px
max-width: 22.5rem; // 328px + (16px + 16px side margins)
padding: 0 1rem;
// Layout Tablet 480-959px
@include breakpoint($narrow) {
max-width: 48rem; // 704px + (32px + 32px side margins)
padding: 0 2rem;
}
// Layout Small Desktop 960-1200px
@include breakpoint($wide) {
max-width: 64rem; // 960px + (32px + 32px side margins)
}
// > 1280px
@include breakpoint($extrawide) {
max-width: 80rem; // 1216px + (32px + 32px side margins)
}
// Large desktop Layout >1441px
@include breakpoint($overwide) {
max-width: 94rem; // 1440px + (32px + 32px side margins)
}
}
}