blob: 679b31c14c5daac4534f0d8bb3e90c43990a3f2f (
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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
.gridBlock {
margin: -5px 0;
padding: 0;
padding-bottom: 20px;
.blockElement {
padding: 5px 0;
img {
max-width: 100%;
}
h3 {
border-bottom: 1px solid rgba($primary-bg, 0.5);
color: $primary-bg;
font-size: 18px;
margin: 0;
padding: 10px 0;
}
}
.gridClear {
clear: both;
}
}
.gridBlock .alignCenter {
text-align: center;
}
.gridBlock .alignRight {
text-align: right;
}
.gridBlock .imageAlignSide {
align-items: center;
display: flex;
flex-flow: row wrap;
}
.blockImage {
max-width: 150px;
width: 50%;
}
.imageAlignTop .blockImage {
margin-bottom: 20px;
}
.imageAlignTop.alignCenter .blockImage {
margin-left: auto;
margin-right: auto;
}
.imageAlignSide .blockImage {
flex: 0 1 100px;
margin-right: 20px;
}
.imageAlignSide .blockContent {
flex: 1 1;
}
@media only screen and (max-width: 1023px) {
.responsiveList .blockContent {
position: relative;
}
.responsiveList .blockContent > div {
padding-left: 20px;
}
.responsiveList .blockContent::before {
content: "\2022";
position: absolute;
}
}
@media only screen and (min-width: 1024px) {
.gridBlock {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: -10px -10px 10px -10px;
.twoByGridBlock {
box-sizing: border-box;
flex: 1 0 50%;
padding: 10px;
}
.fourByGridBlock {
box-sizing: border-box;
flex: 1 0 25%;
padding: 10px;
}
}
h2 + .gridBlock {
padding-top: 20px;
}
}
@media only screen and (min-width: 1400px) {
.gridBlock {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: -10px -20px 10px -20px;
.twoByGridBlock {
box-sizing: border-box;
flex: 1 0 50%;
padding: 10px 20px;
}
.fourByGridBlock {
box-sizing: border-box;
flex: 1 0 25%;
padding: 10px 20px;
}
}
}
|