PluginProbe
Powerkit – Supercharge your WordPress Site / 2.2.9
Powerkit – Supercharge your WordPress Site v2.2.9
3.1.1 3.1.0 3.0.9 3.0.8 trunk 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 All 87 releases
powerkit / modules / content-formatting / public / css / public-powerkit-content-formatting.css

public-powerkit-content-formatting.css in Powerkit – Supercharge your WordPress Site 2.2.9, at modules/content-formatting/public/css/public-powerkit-content-formatting.css

441 lines 9.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * All of the CSS for your public-facing functionality should be
3 * included in this file.
4 */
5 /**
6 * Environment for all styles (variables, additions, etc).
7 */
8 /*--------------------------------------------------------------*/
9 /*--------------------------------------------------------------*/
10 .content,
11 .entry-content,
12 .mce-content-body {
13 counter-reset: h2;
14 }
15
16 .content h2,
17 .entry-content h2,
18 .mce-content-body h2 {
19 counter-reset: h3;
20 }
21
22 .content h3,
23 .entry-content h3,
24 .mce-content-body h3 {
25 counter-reset: h4;
26 }
27
28 .content h4,
29 .entry-content h4,
30 .mce-content-body h4 {
31 counter-reset: h5;
32 }
33
34 .content h5,
35 .entry-content h5,
36 .mce-content-body h5 {
37 counter-reset: h6;
38 }
39
40 .pk-list-styled,
41 .pk-list-positive,
42 .pk-list-negative {
43 line-height: 1.5;
44 list-style: none;
45 font-size: 1rem;
46 }
47
48 .pk-list-styled:not(:first-child),
49 .pk-list-positive:not(:first-child),
50 .pk-list-negative:not(:first-child) {
51 margin-top: 1.5rem;
52 }
53
54 .pk-list-styled:not(:last-child),
55 .pk-list-positive:not(:last-child),
56 .pk-list-negative:not(:last-child) {
57 margin-bottom: 1.5rem;
58 }
59
60 .pk-list-styled li:not(:first-child),
61 .pk-list-positive li:not(:first-child),
62 .pk-list-negative li:not(:first-child) {
63 margin-top: 0.5rem;
64 }
65
66 .pk-list-styled > li,
67 .pk-list-positive > li,
68 .pk-list-negative > li {
69 position: relative;
70 padding-left: 2.5rem;
71 }
72
73 .pk-list-styled > li:before,
74 .pk-list-positive > li:before,
75 .pk-list-negative > li:before {
76 display: -webkit-box;
77 display: -ms-flexbox;
78 display: flex;
79 -webkit-box-align: center;
80 -ms-flex-align: center;
81 align-items: center;
82 -webkit-box-pack: center;
83 -ms-flex-pack: center;
84 justify-content: center;
85 position: absolute;
86 left: 0;
87 top: 0;
88 }
89
90 ol.pk-list-styled,
91 ol.pk-list-positive,
92 ol.pk-list-negative {
93 counter-reset: ol;
94 }
95
96 ol.pk-list-styled > li:before,
97 ol.pk-list-positive > li:before,
98 ol.pk-list-negative > li:before {
99 width: 1.5rem;
100 height: 1.5rem;
101 content: counter(ol);
102 counter-increment: ol;
103 color: #495057;
104 font-size: 0.875rem;
105 font-weight: 600;
106 background-color: #e9ecef;
107 border-radius: 50%;
108 line-height: 1;
109 }
110
111 ul.pk-list-styled > li:before {
112 content: '';
113 width: 0.25rem;
114 height: 0.25rem;
115 background: #ced4da;
116 margin-top: 0.75rem;
117 left: 1rem;
118 }
119
120 ol.pk-list-styled ul,
121 ol.pk-list-styled ol,
122 ul.pk-list-styled ol,
123 ul.pk-list-styled ul {
124 margin-top: 0.5rem;
125 margin-bottom: 0.5rem;
126 padding-left: 0;
127 font-size: 0.875rem;
128 }
129
130 ol.pk-list-styled ul > li:not(:first-child),
131 ol.pk-list-styled ol > li:not(:first-child),
132 ul.pk-list-styled ol > li:not(:first-child),
133 ul.pk-list-styled ul > li:not(:first-child) {
134 margin-top: 0.25rem;
135 }
136
137 ol.pk-list-positive > li:before {
138 background-color: #28a745;
139 color: #fff;
140 }
141
142 ol.pk-list-negative > li:before {
143 background-color: #dc3545;
144 color: #fff;
145 }
146
147 ul.pk-list-positive > li:before,
148 ul.pk-list-negative > li:before {
149 width: 1.5rem;
150 font-family: 'powerkit-icons';
151 }
152
153 ul.pk-list-positive > li:before {
154 content: "\e912";
155 color: #28a745;
156 }
157
158 ul.pk-list-negative > li:before {
159 content: "\e913";
160 color: #dc3545;
161 }
162
163 .pk-heading-numbered {
164 display: -webkit-box;
165 display: -ms-flexbox;
166 display: flex;
167 }
168
169 .pk-heading-numbered:before {
170 margin-right: 1rem;
171 }
172
173 h2.pk-heading-numbered:before {
174 display: -webkit-box;
175 display: -ms-flexbox;
176 display: flex;
177 -webkit-box-pack: center;
178 -ms-flex-pack: center;
179 justify-content: center;
180 -webkit-box-align: center;
181 -ms-flex-align: center;
182 align-items: center;
183 height: 2.5rem;
184 -webkit-box-flex: 0;
185 -ms-flex: 0 0 2.5rem;
186 flex: 0 0 2.5rem;
187 border-radius: 50%;
188 background: #ced4da;
189 color: white;
190 counter-increment: h2;
191 content: counter(h2);
192 }
193
194 h3.pk-heading-numbered:before {
195 counter-increment: h3;
196 content: counter(h3);
197 }
198
199 h2.pk-heading-numbered ~ h3.pk-heading-numbered:before {
200 content: counter(h2) "." counter(h3);
201 }
202
203 h4.pk-heading-numbered:before {
204 counter-increment: h4;
205 content: counter(h4);
206 }
207
208 h3.pk-heading-numbered ~ h4.pk-heading-numbered:before {
209 content: counter(h3) "." counter(h4);
210 }
211
212 h2.pk-heading-numbered ~ h3.pk-heading-numbered ~ h4.pk-heading-numbered:before {
213 content: counter(h2) "." counter(h3) "." counter(h4);
214 }
215
216 h5.pk-heading-numbered:before {
217 counter-increment: h5;
218 content: counter(h5);
219 }
220
221 h4.pk-heading-numbered ~ h5.pk-heading-numbered:before {
222 content: counter(h4) "." counter(h5);
223 }
224
225 h3.pk-heading-numbered ~ h4.pk-heading-numbered ~ h5.pk-heading-numbered:before {
226 content: counter(h3) "." counter(h4) "." counter(h5);
227 }
228
229 h2.pk-heading-numbered ~ h3.pk-heading-numbered ~ h4.pk-heading-numbered ~ h5.pk-heading-numbered:before {
230 content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5);
231 }
232
233 h6.pk-heading-numbered:before {
234 counter-increment: h6;
235 content: counter(h6);
236 }
237
238 h5.pk-heading-numbered ~ h6.pk-heading-numbered:before {
239 content: counter(h5) "." counter(h6);
240 }
241
242 h4.pk-heading-numbered ~ h5.pk-heading-numbered ~ h6.pk-heading-numbered:before {
243 content: counter(h4) "." counter(h5) "." counter(h6);
244 }
245
246 h3.pk-heading-numbered ~ h4.pk-heading-numbered ~ h5.pk-heading-numbered ~ h6.pk-heading-numbered:before {
247 content: counter(h3) "." counter(h4) "." counter(h5) "." counter(h6);
248 }
249
250 h2.pk-heading-numbered ~ h3.pk-heading-numbered ~ h4.pk-heading-numbered ~ h5.pk-heading-numbered ~ h6.pk-heading-numbered:before {
251 content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6);
252 }
253
254 .content .pk-dropcap,
255 .entry-content .pk-dropcap,
256 .mce-content-body .pk-dropcap {
257 text-align: left;
258 }
259
260 .content .pk-dropcap:after,
261 .entry-content .pk-dropcap:after,
262 .mce-content-body .pk-dropcap:after {
263 content: "";
264 display: table;
265 clear: both;
266 padding-top: 14px;
267 }
268
269 .content .pk-dropcap:first-letter,
270 .entry-content .pk-dropcap:first-letter,
271 .mce-content-body .pk-dropcap:first-letter {
272 display: block;
273 float: left;
274 margin-top: 0.5rem;
275 margin-right: 2rem;
276 margin-bottom: 1rem;
277 color: black;
278 font-size: 2.5rem;
279 line-height: 1;
280 text-align: center;
281 }
282
283 .content .pk-dropcap-bg-inverse:first-letter,
284 .entry-content .pk-dropcap-bg-inverse:first-letter,
285 .mce-content-body .pk-dropcap-bg-inverse:first-letter {
286 padding: 0.5rem 1rem;
287 background: black;
288 color: #fff;
289 }
290
291 .content .pk-dropcap-bg-light:first-letter,
292 .entry-content .pk-dropcap-bg-light:first-letter,
293 .mce-content-body .pk-dropcap-bg-light:first-letter {
294 padding: 0.5rem 1rem;
295 background: #f8f9fa;
296 }
297
298 .content .pk-dropcap-borders:first-letter,
299 .entry-content .pk-dropcap-borders:first-letter,
300 .mce-content-body .pk-dropcap-borders:first-letter {
301 margin-top: 0.25rem;
302 padding: 0.5rem 1rem;
303 border: 1px solid #dee2e6;
304 }
305
306 .content .pk-dropcap-border-right:first-letter,
307 .entry-content .pk-dropcap-border-right:first-letter,
308 .mce-content-body .pk-dropcap-border-right:first-letter {
309 padding-right: 2rem;
310 border-right: 1px solid #dee2e6;
311 border-radius: 0;
312 }
313
314 .content .pk-callout,
315 .entry-content .pk-callout,
316 .mce-content-body .pk-callout {
317 font-size: 1.25rem;
318 font-weight: 600;
319 }
320
321 .content .pk-content-block,
322 .entry-content .pk-content-block,
323 .mce-content-body .pk-content-block {
324 margin-bottom: 2rem;
325 }
326
327 .content .pk-content-block > *:last-child,
328 .entry-content .pk-content-block > *:last-child,
329 .mce-content-body .pk-content-block > *:last-child {
330 margin-bottom: 0;
331 }
332
333 .content .pk-block-alignment-left,
334 .entry-content .pk-block-alignment-left,
335 .mce-content-body .pk-block-alignment-left {
336 float: left;
337 max-width: 50%;
338 margin-right: 2rem;
339 }
340
341 .content .pk-block-alignment-right,
342 .entry-content .pk-block-alignment-right,
343 .mce-content-body .pk-block-alignment-right {
344 float: right;
345 max-width: 50%;
346 margin-left: 2rem;
347 }
348
349 .content .pk-block-border-left,
350 .entry-content .pk-block-border-left,
351 .mce-content-body .pk-block-border-left {
352 padding-left: 2rem;
353 border-left: 1px solid #dee2e6;
354 }
355
356 .content .pk-block-border-right,
357 .entry-content .pk-block-border-right,
358 .mce-content-body .pk-block-border-right {
359 padding-right: 2rem;
360 border-right: 1px solid #dee2e6;
361 }
362
363 .content .pk-block-border-top:before,
364 .entry-content .pk-block-border-top:before,
365 .mce-content-body .pk-block-border-top:before {
366 background-color: #dee2e6;
367 display: block;
368 width: 4rem;
369 height: 1px;
370 margin: 2rem auto;
371 content: "";
372 }
373
374 .content .pk-block-border-bottom:after,
375 .entry-content .pk-block-border-bottom:after,
376 .mce-content-body .pk-block-border-bottom:after {
377 background-color: #dee2e6;
378 display: block;
379 width: 4rem;
380 height: 1px;
381 margin: 2rem auto;
382 content: "";
383 }
384
385 .content .pk-block-border-all,
386 .entry-content .pk-block-border-all,
387 .mce-content-body .pk-block-border-all {
388 padding: 2rem;
389 border: 1px solid #dee2e6;
390 }
391
392 .content .pk-block-bg-light,
393 .entry-content .pk-block-bg-light,
394 .mce-content-body .pk-block-bg-light {
395 background: #f8f9fa;
396 padding: 2rem;
397 }
398
399 .content .pk-block-bg-inverse,
400 .entry-content .pk-block-bg-inverse,
401 .mce-content-body .pk-block-bg-inverse {
402 background: black;
403 padding: 2rem;
404 color: #fff;
405 }
406
407 .content .pk-block-bg .pk-alert,
408 .entry-content .pk-block-bg .pk-alert,
409 .mce-content-body .pk-block-bg .pk-alert {
410 background-color: white;
411 }
412
413 .content .pk-block-bg .pk-subscribe-form-wrap form,
414 .entry-content .pk-block-bg .pk-subscribe-form-wrap form,
415 .mce-content-body .pk-block-bg .pk-subscribe-form-wrap form {
416 -webkit-box-shadow: none;
417 box-shadow: none;
418 }
419
420 .content .pk-block-shadows,
421 .entry-content .pk-block-shadows,
422 .mce-content-body .pk-block-shadows {
423 padding: 2rem;
424 -webkit-box-shadow: 0 0 1rem rgba(0, 0, 0, 0.075);
425 box-shadow: 0 0 1rem rgba(0, 0, 0, 0.075);
426 }
427
428 @media (max-width: 767.98px) {
429 .content .pk-content-block,
430 .entry-content .pk-content-block,
431 .mce-content-body .pk-content-block {
432 float: none;
433 width: 100%;
434 max-width: 100%;
435 border-left: none;
436 border-right: none;
437 margin-left: 0;
438 margin-right: 0;
439 }
440 }
441