jekyll-theme-consulting 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/contact.html +2 -2
- data/_includes/contact_form.html +5 -3
- data/_includes/head.html +10 -1
- data/_includes/scripts.html +9 -20
- data/_includes/search.html +8 -6
- data/_sass/large.scss +49 -0
- data/_sass/large/base/_page.scss +0 -0
- data/_sass/large/base/_reset.scss +0 -0
- data/_sass/large/base/_typography.scss +15 -0
- data/_sass/large/components/_actions.scss +0 -0
- data/_sass/large/components/_box.scss +0 -0
- data/_sass/large/components/_button.scss +0 -0
- data/_sass/large/components/_contact.scss +0 -0
- data/_sass/large/components/_facts.scss +0 -0
- data/_sass/large/components/_features.scss +0 -0
- data/_sass/large/components/_form.scss +0 -0
- data/_sass/large/components/_icon.scss +0 -0
- data/_sass/large/components/_icons.scss +0 -0
- data/_sass/large/components/_image.scss +0 -0
- data/_sass/large/components/_list.scss +0 -0
- data/_sass/large/components/_mini-posts.scss +0 -0
- data/_sass/large/components/_pagination.scss +0 -0
- data/_sass/large/components/_posts.scss +12 -0
- data/_sass/large/components/_row.scss +9 -0
- data/_sass/large/components/_section.scss +0 -0
- data/_sass/large/components/_table.scss +0 -0
- data/_sass/large/layout/_banner.scss +0 -0
- data/_sass/large/layout/_footer.scss +0 -0
- data/_sass/large/layout/_header.scss +0 -0
- data/_sass/large/layout/_main.scss +23 -0
- data/_sass/large/layout/_menu.scss +0 -0
- data/_sass/large/layout/_sidebar.scss +0 -0
- data/_sass/large/layout/_wrapper.scss +0 -0
- data/_sass/main.scss +27 -47
- data/_sass/main/base/_page.scss +33 -0
- data/_sass/main/base/_reset.scss +67 -0
- data/_sass/main/base/_typography.scss +200 -0
- data/_sass/main/components/_actions.scss +57 -0
- data/_sass/main/components/_box.scss +20 -0
- data/_sass/main/components/_button.scss +79 -0
- data/_sass/main/components/_contact.scss +41 -0
- data/_sass/main/components/_facts.scss +143 -0
- data/_sass/main/components/_features.scss +99 -0
- data/_sass/main/components/_form.scss +253 -0
- data/_sass/main/components/_icon.scss +27 -0
- data/_sass/main/components/_icons.scss +29 -0
- data/_sass/main/components/_image.scss +72 -0
- data/_sass/main/components/_list.scss +50 -0
- data/_sass/main/components/_mini-posts.scss +25 -0
- data/_sass/main/components/_pagination.scss +52 -0
- data/_sass/main/components/_posts.scss +54 -0
- data/_sass/main/components/_row.scss +3 -0
- data/_sass/main/components/_section.scss +47 -0
- data/_sass/main/components/_table.scss +75 -0
- data/_sass/main/layout/_banner.scss +66 -0
- data/_sass/{layout → main/layout}/_footer.scss +1 -7
- data/_sass/main/layout/_header.scss +65 -0
- data/_sass/main/layout/_main.scss +26 -0
- data/_sass/main/layout/_menu.scss +155 -0
- data/_sass/main/layout/_sidebar.scss +235 -0
- data/_sass/main/layout/_wrapper.scss +7 -0
- data/_sass/medium.scss +48 -0
- data/_sass/medium/base/_page.scss +0 -0
- data/_sass/medium/base/_reset.scss +0 -0
- data/_sass/medium/base/_typography.scss +5 -0
- data/_sass/medium/components/_actions.scss +0 -0
- data/_sass/medium/components/_box.scss +0 -0
- data/_sass/medium/components/_button.scss +0 -0
- data/_sass/medium/components/_contact.scss +0 -0
- data/_sass/medium/components/_facts.scss +0 -0
- data/_sass/medium/components/_features.scss +31 -0
- data/_sass/medium/components/_form.scss +0 -0
- data/_sass/medium/components/_icon.scss +0 -0
- data/_sass/medium/components/_icons.scss +0 -0
- data/_sass/medium/components/_image.scss +0 -0
- data/_sass/medium/components/_list.scss +0 -0
- data/_sass/medium/components/_mini-posts.scss +0 -0
- data/_sass/medium/components/_pagination.scss +0 -0
- data/_sass/medium/components/_posts.scss +0 -0
- data/_sass/medium/components/_row.scss +7 -0
- data/_sass/medium/components/_section.scss +0 -0
- data/_sass/medium/components/_table.scss +0 -0
- data/_sass/medium/layout/_banner.scss +0 -0
- data/_sass/medium/layout/_footer.scss +0 -0
- data/_sass/medium/layout/_header.scss +0 -0
- data/_sass/medium/layout/_main.scss +0 -0
- data/_sass/medium/layout/_menu.scss +0 -0
- data/_sass/medium/layout/_sidebar.scss +0 -0
- data/_sass/medium/layout/_wrapper.scss +0 -0
- data/_sass/small.scss +50 -0
- data/_sass/small/base/_page.scss +6 -0
- data/_sass/small/base/_reset.scss +0 -0
- data/_sass/small/base/_typography.scss +18 -0
- data/_sass/small/components/_actions.scss +0 -0
- data/_sass/small/components/_box.scss +0 -0
- data/_sass/small/components/_button.scss +0 -0
- data/_sass/small/components/_contact.scss +0 -0
- data/_sass/small/components/_facts.scss +45 -0
- data/_sass/small/components/_features.scss +29 -0
- data/_sass/small/components/_form.scss +0 -0
- data/_sass/small/components/_icon.scss +0 -0
- data/_sass/small/components/_icons.scss +0 -0
- data/_sass/small/components/_image.scss +0 -0
- data/_sass/small/components/_list.scss +0 -0
- data/_sass/small/components/_mini-posts.scss +0 -0
- data/_sass/small/components/_pagination.scss +15 -0
- data/_sass/small/components/_posts.scss +59 -0
- data/_sass/small/components/_row.scss +11 -0
- data/_sass/small/components/_section.scss +0 -0
- data/_sass/small/components/_table.scss +0 -0
- data/_sass/small/layout/_banner.scss +11 -0
- data/_sass/small/layout/_footer.scss +0 -0
- data/_sass/small/layout/_header.scss +0 -0
- data/_sass/small/layout/_main.scss +16 -0
- data/_sass/small/layout/_menu.scss +0 -0
- data/_sass/small/layout/_sidebar.scss +0 -0
- data/_sass/small/layout/_wrapper.scss +0 -0
- data/{_sass/components/_cookieconsent.scss → assets/css/cookieconsent.css} +4 -2
- data/assets/css/fontawesome-all.min.css +1 -1
- data/assets/css/large.scss +5 -0
- data/assets/css/medium.scss +5 -0
- data/assets/css/small.scss +5 -0
- data/assets/js/cookieconsent.style.min.js +1 -0
- metadata +118 -30
- data/_sass/base/_page.scss +0 -48
- data/_sass/base/_reset.scss +0 -76
- data/_sass/base/_typography.scss +0 -241
- data/_sass/components/_actions.scss +0 -63
- data/_sass/components/_box.scss +0 -26
- data/_sass/components/_button.scss +0 -85
- data/_sass/components/_contact.scss +0 -47
- data/_sass/components/_facts.scss +0 -183
- data/_sass/components/_features.scss +0 -155
- data/_sass/components/_form.scss +0 -259
- data/_sass/components/_icon.scss +0 -33
- data/_sass/components/_icons.scss +0 -35
- data/_sass/components/_image.scss +0 -78
- data/_sass/components/_list.scss +0 -56
- data/_sass/components/_mini-posts.scss +0 -31
- data/_sass/components/_pagination.scss +0 -70
- data/_sass/components/_posts.scss +0 -124
- data/_sass/components/_row.scss +0 -31
- data/_sass/components/_section.scss +0 -53
- data/_sass/components/_table.scss +0 -81
- data/_sass/layout/_banner.scss +0 -78
- data/_sass/layout/_header.scss +0 -71
- data/_sass/layout/_main.scss +0 -58
- data/_sass/layout/_menu.scss +0 -161
- data/_sass/layout/_sidebar.scss +0 -241
- data/_sass/layout/_wrapper.scss +0 -13
@@ -0,0 +1,99 @@
|
|
1
|
+
/* Features */
|
2
|
+
|
3
|
+
.features {
|
4
|
+
$gutter: _size(gutter);
|
5
|
+
|
6
|
+
@include vendor('display', 'flex');
|
7
|
+
@include vendor('flex-wrap', 'wrap');
|
8
|
+
margin: 0 0 0 0;
|
9
|
+
width: 100%;
|
10
|
+
|
11
|
+
article {
|
12
|
+
@include vendor('align-items', 'center');
|
13
|
+
@include vendor('display', 'flex');
|
14
|
+
margin: 0 0 $gutter 0;
|
15
|
+
position: relative;
|
16
|
+
width: 50%;
|
17
|
+
|
18
|
+
.ensem {
|
19
|
+
background-image: url('images/ensem.svg');
|
20
|
+
}
|
21
|
+
|
22
|
+
.cie {
|
23
|
+
background-image: url('images/cie.svg');
|
24
|
+
}
|
25
|
+
|
26
|
+
.cnefic {
|
27
|
+
background-image: url('images/cnefic.svg');
|
28
|
+
}
|
29
|
+
|
30
|
+
.eisti {
|
31
|
+
background-image: url('images/eisti.svg');
|
32
|
+
}
|
33
|
+
|
34
|
+
.ieam {
|
35
|
+
background-image: url('images/ieam.svg');
|
36
|
+
}
|
37
|
+
|
38
|
+
.ifg {
|
39
|
+
background-image: url('images/ifg.svg');
|
40
|
+
}
|
41
|
+
|
42
|
+
.marine {
|
43
|
+
background-image: url('images/marine.svg');
|
44
|
+
}
|
45
|
+
|
46
|
+
.ub {
|
47
|
+
background-image: url('images/ub.svg');
|
48
|
+
}
|
49
|
+
|
50
|
+
.uca {
|
51
|
+
background-image: url('images/uca.svg');
|
52
|
+
}
|
53
|
+
|
54
|
+
.icon {
|
55
|
+
@include vendor('flex-grow', '0');
|
56
|
+
@include vendor('flex-shrink', '0');
|
57
|
+
display: block;
|
58
|
+
height: 10em;
|
59
|
+
width: 10em;
|
60
|
+
line-height: 10em;
|
61
|
+
margin: 0 _size(element-margin) 0 0;
|
62
|
+
background-size: 40%;
|
63
|
+
background-position: 50% 50%;
|
64
|
+
background-repeat: no-repeat;
|
65
|
+
text-align: center;
|
66
|
+
|
67
|
+
&:before {
|
68
|
+
color: _palette(accent);
|
69
|
+
font-size: 2.75rem;
|
70
|
+
position: relative;
|
71
|
+
top: 0.05em;
|
72
|
+
}
|
73
|
+
|
74
|
+
&:after {
|
75
|
+
@include vendor('transform', 'rotate(45deg)');
|
76
|
+
border-radius: 0.25rem;
|
77
|
+
border: solid 2px _palette(border);
|
78
|
+
content: '';
|
79
|
+
display: block;
|
80
|
+
height: 7em;
|
81
|
+
left: 50%;
|
82
|
+
margin: -3.5em 0 0 -3.5em;
|
83
|
+
position: absolute;
|
84
|
+
top: 50%;
|
85
|
+
width: 7em;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
.content {
|
90
|
+
@include vendor('flex-grow', '1');
|
91
|
+
@include vendor('flex-shrink', '1');
|
92
|
+
width: 100%;
|
93
|
+
|
94
|
+
> :last-child {
|
95
|
+
margin-bottom: 0;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
@@ -0,0 +1,253 @@
|
|
1
|
+
/* Form */
|
2
|
+
|
3
|
+
form {
|
4
|
+
margin: 0 0 _size(element-margin) 0;
|
5
|
+
}
|
6
|
+
|
7
|
+
label {
|
8
|
+
color: _palette(fg-bold);
|
9
|
+
display: block;
|
10
|
+
font-size: 0.9em;
|
11
|
+
font-weight: _font(weight-bold);
|
12
|
+
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
input[type="text"],
|
16
|
+
input[type="password"],
|
17
|
+
input[type="email"],
|
18
|
+
input[type="tel"],
|
19
|
+
input[type="search"],
|
20
|
+
input[type="url"],
|
21
|
+
select,
|
22
|
+
textarea {
|
23
|
+
@include vendor('appearance', 'none');
|
24
|
+
background: _palette(bg);
|
25
|
+
border-radius: _size(border-radius);
|
26
|
+
border: none;
|
27
|
+
border: solid 1px _palette(border);
|
28
|
+
color: inherit;
|
29
|
+
display: block;
|
30
|
+
outline: 0;
|
31
|
+
padding: 0 1em;
|
32
|
+
text-decoration: none;
|
33
|
+
width: 100%;
|
34
|
+
|
35
|
+
&:invalid {
|
36
|
+
box-shadow: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
&:focus {
|
40
|
+
border-color: _palette(accent);
|
41
|
+
box-shadow: 0 0 0 1px _palette(accent);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
select {
|
46
|
+
background-image: svg-url("<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'><path d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='#{_palette(border)}' /></svg>");
|
47
|
+
background-size: 1.25em;
|
48
|
+
background-repeat: no-repeat;
|
49
|
+
background-position: calc(100% - 1em) center;
|
50
|
+
height: _size(element-height);
|
51
|
+
padding-right: _size(element-height);
|
52
|
+
text-overflow: ellipsis;
|
53
|
+
|
54
|
+
option {
|
55
|
+
color: _palette(fg-bold);
|
56
|
+
background: _palette(bg);
|
57
|
+
}
|
58
|
+
|
59
|
+
&:focus {
|
60
|
+
&::-ms-value {
|
61
|
+
background-color: transparent;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
&::-ms-expand {
|
66
|
+
display: none;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
input[type="text"],
|
71
|
+
input[type="password"],
|
72
|
+
input[type="email"],
|
73
|
+
input[type="tel"],
|
74
|
+
input[type="search"],
|
75
|
+
input[type="url"],
|
76
|
+
select {
|
77
|
+
height: _size(element-height);
|
78
|
+
}
|
79
|
+
|
80
|
+
textarea {
|
81
|
+
padding: 0.75em 1em;
|
82
|
+
}
|
83
|
+
|
84
|
+
input[type="checkbox"],
|
85
|
+
input[type="radio"], {
|
86
|
+
@include vendor('appearance', 'none');
|
87
|
+
display: block;
|
88
|
+
float: left;
|
89
|
+
margin-right: -2em;
|
90
|
+
opacity: 0;
|
91
|
+
width: 1em;
|
92
|
+
z-index: -1;
|
93
|
+
|
94
|
+
& + label {
|
95
|
+
@include icon(false, solid);
|
96
|
+
color: _palette(fg);
|
97
|
+
cursor: pointer;
|
98
|
+
display: inline-block;
|
99
|
+
font-size: 1em;
|
100
|
+
font-weight: _font(weight);
|
101
|
+
padding-left: (_size(element-height) * 0.6) + 0.75em;
|
102
|
+
padding-right: 0.75em;
|
103
|
+
position: relative;
|
104
|
+
|
105
|
+
&:before {
|
106
|
+
background: _palette(bg);
|
107
|
+
border-radius: _size(border-radius);
|
108
|
+
border: solid 1px _palette(border);
|
109
|
+
content: '';
|
110
|
+
display: inline-block;
|
111
|
+
font-size: 0.8em;
|
112
|
+
height: (_size(element-height) * 0.75);
|
113
|
+
left: 0;
|
114
|
+
line-height: (_size(element-height) * 0.75);
|
115
|
+
position: absolute;
|
116
|
+
text-align: center;
|
117
|
+
top: 0;
|
118
|
+
width: (_size(element-height) * 0.75);
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
&:checked + label {
|
123
|
+
&:before {
|
124
|
+
background: _palette(fg-bold);
|
125
|
+
border-color: _palette(fg-bold);
|
126
|
+
color: _palette(bg);
|
127
|
+
content: '\f00c';
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
&:focus + label {
|
132
|
+
&:before {
|
133
|
+
border-color: _palette(accent);
|
134
|
+
box-shadow: 0 0 0 1px _palette(accent);
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
input[type="checkbox"] {
|
140
|
+
& + label {
|
141
|
+
&:before {
|
142
|
+
border-radius: _size(border-radius);
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
input[type="radio"] {
|
148
|
+
& + label {
|
149
|
+
&:before {
|
150
|
+
border-radius: 100%;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
::-webkit-input-placeholder {
|
156
|
+
color: _palette(fg-light) !important;
|
157
|
+
opacity: 1.0;
|
158
|
+
}
|
159
|
+
|
160
|
+
:-moz-placeholder {
|
161
|
+
color: _palette(fg-light) !important;
|
162
|
+
opacity: 1.0;
|
163
|
+
}
|
164
|
+
|
165
|
+
::-moz-placeholder {
|
166
|
+
color: _palette(fg-light) !important;
|
167
|
+
opacity: 1.0;
|
168
|
+
}
|
169
|
+
|
170
|
+
:-ms-input-placeholder {
|
171
|
+
color: _palette(fg-light) !important;
|
172
|
+
opacity: 1.0;
|
173
|
+
}
|
174
|
+
|
175
|
+
/* Inverted */
|
176
|
+
|
177
|
+
.inverted label {
|
178
|
+
color: _palette(fg-bold-inverted);
|
179
|
+
}
|
180
|
+
|
181
|
+
.inverted input[type="text"],
|
182
|
+
.inverted input[type="password"],
|
183
|
+
.inverted input[type="email"],
|
184
|
+
.inverted input[type="tel"],
|
185
|
+
.inverted input[type="search"],
|
186
|
+
.inverted input[type="url"],
|
187
|
+
.inverted select,
|
188
|
+
.inverted textarea {
|
189
|
+
background: _palette(bg);
|
190
|
+
border: solid 1px _palette(border);
|
191
|
+
color: _palette(fg);
|
192
|
+
|
193
|
+
&:focus {
|
194
|
+
border-color: _palette(accent);
|
195
|
+
box-shadow: 0 0 0 1px _palette(accent);
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
.inverted select {
|
200
|
+
option {
|
201
|
+
color: _palette(fg-bold);
|
202
|
+
background: _palette(bg);
|
203
|
+
}
|
204
|
+
}
|
205
|
+
|
206
|
+
.inverted input[type="checkbox"],
|
207
|
+
.inverted input[type="radio"], {
|
208
|
+
|
209
|
+
& + label {
|
210
|
+
color: _palette(fg);
|
211
|
+
|
212
|
+
&:before {
|
213
|
+
background: _palette(bg);
|
214
|
+
border: solid 1px _palette(border);
|
215
|
+
}
|
216
|
+
}
|
217
|
+
|
218
|
+
&:checked + label {
|
219
|
+
&:before {
|
220
|
+
background: _palette(fg-bold);
|
221
|
+
border-color: _palette(fg-bold);
|
222
|
+
color: _palette(bg);
|
223
|
+
content: '\f00c';
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
&:focus + label {
|
228
|
+
&:before {
|
229
|
+
border-color: _palette(accent);
|
230
|
+
box-shadow: 0 0 0 1px _palette(accent);
|
231
|
+
}
|
232
|
+
}
|
233
|
+
}
|
234
|
+
|
235
|
+
.inverted::-webkit-input-placeholder {
|
236
|
+
color: _palette(fg-light) !important;
|
237
|
+
opacity: 1.0;
|
238
|
+
}
|
239
|
+
|
240
|
+
.inverted:-moz-placeholder {
|
241
|
+
color: _palette(fg-light) !important;
|
242
|
+
opacity: 1.0;
|
243
|
+
}
|
244
|
+
|
245
|
+
.inverted::-moz-placeholder {
|
246
|
+
color: _palette(fg-light) !important;
|
247
|
+
opacity: 1.0;
|
248
|
+
}
|
249
|
+
|
250
|
+
:-ms-input-placeholder {
|
251
|
+
color: _palette(fg-light) !important;
|
252
|
+
opacity: 1.0;
|
253
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/* Icon */
|
2
|
+
|
3
|
+
.icon {
|
4
|
+
@include icon;
|
5
|
+
border-bottom: none;
|
6
|
+
position: relative;
|
7
|
+
|
8
|
+
> .label {
|
9
|
+
display: none;
|
10
|
+
}
|
11
|
+
|
12
|
+
&:before {
|
13
|
+
line-height: inherit;
|
14
|
+
}
|
15
|
+
|
16
|
+
&.solid {
|
17
|
+
&:before {
|
18
|
+
font-weight: 900;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
&.brands {
|
23
|
+
&:before {
|
24
|
+
font-family: 'Font Awesome 5 Brands';
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/* Icons */
|
2
|
+
|
3
|
+
ul.icons {
|
4
|
+
cursor: default;
|
5
|
+
list-style: none;
|
6
|
+
padding-left: 0;
|
7
|
+
|
8
|
+
li {
|
9
|
+
display: inline-block;
|
10
|
+
margin: 1em;
|
11
|
+
padding: 0;
|
12
|
+
|
13
|
+
&:last-child {
|
14
|
+
padding-right: 0;
|
15
|
+
}
|
16
|
+
|
17
|
+
.icon {
|
18
|
+
color: inherit;
|
19
|
+
|
20
|
+
&:before {
|
21
|
+
font-size: 1.25em;
|
22
|
+
}
|
23
|
+
|
24
|
+
&:hover{
|
25
|
+
color: _palette(accent-cp);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
/* Image */
|
2
|
+
|
3
|
+
.image {
|
4
|
+
border-radius: _size(border-radius);
|
5
|
+
border: 0;
|
6
|
+
display: inline-block;
|
7
|
+
position: relative;
|
8
|
+
|
9
|
+
img {
|
10
|
+
border-radius: _size(border-radius);
|
11
|
+
display: block;
|
12
|
+
}
|
13
|
+
|
14
|
+
&.left,
|
15
|
+
&.right {
|
16
|
+
max-width: 40%;
|
17
|
+
|
18
|
+
img {
|
19
|
+
width: 100%;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
&.left {
|
24
|
+
float: left;
|
25
|
+
padding: 0 1.5em 1em 0;
|
26
|
+
top: 0.25em;
|
27
|
+
}
|
28
|
+
|
29
|
+
&.right {
|
30
|
+
float: right;
|
31
|
+
padding: 0 0 1em 1.5em;
|
32
|
+
top: 0.25em;
|
33
|
+
}
|
34
|
+
|
35
|
+
&.fit {
|
36
|
+
position: relative;
|
37
|
+
top: 50%;
|
38
|
+
left: 50%;
|
39
|
+
transform: translate(-50%, -50%);
|
40
|
+
display: block;
|
41
|
+
margin: 0 0 _size(element-margin) 0;
|
42
|
+
width: 100%;
|
43
|
+
|
44
|
+
img {
|
45
|
+
width: 100%;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
&.main {
|
50
|
+
display: block;
|
51
|
+
margin: 0 0 (_size(element-margin) * 1.5) 0;
|
52
|
+
width: 100%;
|
53
|
+
|
54
|
+
img {
|
55
|
+
width: 100%;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
a.image {
|
61
|
+
overflow: hidden;
|
62
|
+
|
63
|
+
img {
|
64
|
+
@include vendor('transition', 'transform #{_duration(transition)} ease');
|
65
|
+
}
|
66
|
+
|
67
|
+
&:hover {
|
68
|
+
img {
|
69
|
+
@include vendor('transform', 'scale(1.075)');
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|