author | ymh <ymh.work@gmail.com> |
Wed, 21 Sep 2022 18:19:35 +0200 | |
changeset 18 | be944660c56a |
parent 16 | a86126ab1dd4 |
child 19 | 3d72ae0968f4 |
permissions | -rw-r--r-- |
16 | 1 |
/*! This file is auto-generated */ |
5 | 2 |
/*------------------------------------------------------------------------------ |
3 |
22.0 - About Pages |
|
4 |
||
16 | 5 |
1.0 Global: About, Credits, Freedoms, Privacy |
6 |
1.1 Layout |
|
7 |
1.2 Typography & Elements |
|
8 |
1.3 Header |
|
9 |
2.0 Credits Page |
|
10 |
3.0 Freedoms Page |
|
11 |
x.2.0 Legacy About Styles: Global |
|
12 |
x.2.1 Typography |
|
13 |
x.2.2 Structure |
|
14 |
x.2.3 Point Releases |
|
15 |
x.3.0 Legacy About Styles: About Page |
|
16 |
x.3.1 Typography |
|
17 |
x.3.2 Structure |
|
18 |
x.4.0 Legacy About Styles: Credits & Freedoms Pages |
|
19 |
x.5.0 Legacy About Styles: Media Queries |
|
20 |
------------------------------------------------------------------------------*/ |
|
21 |
||
22 |
.about__container { |
|
23 |
/* Section backgrounds */ |
|
18 | 24 |
--background: transparent; |
25 |
--subtle-background: #def; |
|
26 |
||
16 | 27 |
/* Main text color */ |
18 | 28 |
--text: #000; |
29 |
--text-light: #fff; |
|
30 |
||
16 | 31 |
/* Accent colors: used in header, on special classes. */ |
18 | 32 |
--accent-1: #3858e9; /* Accent background, link color */ |
33 |
--accent-2: #2d46ba; /* Header background */ |
|
34 |
||
16 | 35 |
/* Navigation colors. */ |
18 | 36 |
--nav-background: #fff; |
37 |
--nav-border: transparent; |
|
38 |
--nav-color: var(--text); |
|
39 |
--nav-current: var(--accent-1); |
|
40 |
||
41 |
--gap: 2rem; |
|
16 | 42 |
} |
43 |
||
44 |
/*------------------------------------------------------------------------------ |
|
45 |
1.0 - Global: About, Credits, Freedoms, Privacy |
|
5 | 46 |
------------------------------------------------------------------------------*/ |
47 |
||
16 | 48 |
.about-php, |
49 |
.credits-php, |
|
50 |
.freedoms-php, |
|
51 |
.privacy-php { |
|
18 | 52 |
background: #f0f7ff; |
16 | 53 |
} |
54 |
||
55 |
.about-php #wpcontent, |
|
56 |
.credits-php #wpcontent, |
|
57 |
.freedoms-php #wpcontent, |
|
58 |
.privacy-php #wpcontent { |
|
18 | 59 |
background: linear-gradient(-180deg, #fff 50%, #f0f7ff 100%); |
16 | 60 |
padding: 0 24px; |
61 |
} |
|
62 |
||
63 |
@media screen and (max-width: 782px) { |
|
64 |
.about-php.auto-fold #wpcontent, |
|
65 |
.credits-php.auto-fold #wpcontent, |
|
66 |
.freedoms-php.auto-fold #wpcontent, |
|
67 |
.privacy-php.auto-fold #wpcontent { |
|
68 |
padding-right: 24px; |
|
69 |
} |
|
70 |
} |
|
71 |
||
72 |
.about__container { |
|
73 |
max-width: 1000px; |
|
74 |
margin: 24px auto; |
|
75 |
clear: both; |
|
76 |
} |
|
77 |
||
78 |
.about__container .alignleft { |
|
79 |
float: right; |
|
80 |
} |
|
81 |
||
82 |
.about__container .alignright { |
|
83 |
float: left; |
|
84 |
} |
|
85 |
||
86 |
.about__container .aligncenter { |
|
87 |
text-align: center; |
|
88 |
} |
|
89 |
||
90 |
.about__container .is-vertically-aligned-top { |
|
91 |
align-self: start; |
|
92 |
} |
|
93 |
||
94 |
.about__container .is-vertically-aligned-center { |
|
95 |
align-self: center; |
|
96 |
} |
|
97 |
||
98 |
.about__container .is-vertically-aligned-bottom { |
|
99 |
align-self: end; |
|
100 |
} |
|
101 |
||
102 |
.about__section { |
|
103 |
background: var(--background); |
|
104 |
clear: both; |
|
105 |
} |
|
106 |
||
107 |
.about__container .has-accent-background-color { |
|
108 |
background-color: var(--accent-1); |
|
18 | 109 |
color: var(--text-light); |
110 |
} |
|
111 |
||
112 |
.about__container .has-accent-background-color a { |
|
113 |
color: var(--text-light); |
|
16 | 114 |
} |
115 |
||
116 |
.about__container .has-transparent-background-color { |
|
117 |
background-color: transparent; |
|
118 |
} |
|
119 |
||
120 |
.about__container .has-accent-color { |
|
18 | 121 |
color: var(--accent-1); |
122 |
} |
|
123 |
||
124 |
.about__container .has-border { |
|
125 |
border: 3px solid currentColor; |
|
16 | 126 |
} |
127 |
||
128 |
.about__container .has-subtle-background-color { |
|
129 |
background-color: var(--subtle-background); |
|
18 | 130 |
} |
131 |
||
132 |
.about__container .has-background-image { |
|
133 |
background-size: contain; |
|
134 |
background-repeat: no-repeat; |
|
135 |
background-position: center; |
|
16 | 136 |
} |
137 |
||
138 |
/* 1.1 - Layout */ |
|
139 |
||
140 |
.about__section { |
|
18 | 141 |
margin: 0 0 var(--gap); |
16 | 142 |
} |
143 |
||
144 |
.about__section .column { |
|
18 | 145 |
padding: var(--gap); |
16 | 146 |
} |
147 |
||
148 |
.about__section + .about__section .column { |
|
149 |
padding-top: 0; |
|
150 |
} |
|
151 |
||
18 | 152 |
.about__section + .about__section .is-section-header { |
153 |
padding-bottom: var(--gap); |
|
154 |
} |
|
155 |
||
156 |
.about__section .column[class*="background-color"], |
|
157 |
.about__section .column.has-border { |
|
158 |
padding-top: var(--gap); |
|
159 |
} |
|
160 |
||
16 | 161 |
.about__section .column.is-edge-to-edge { |
162 |
padding: 0; |
|
163 |
} |
|
164 |
||
165 |
.about__section .column p:first-of-type { |
|
166 |
margin-top: 0; |
|
167 |
} |
|
168 |
||
169 |
.about__section .column p:last-of-type { |
|
170 |
margin-bottom: 0; |
|
171 |
} |
|
172 |
||
173 |
.about__section .has-text-columns { |
|
174 |
columns: 2; |
|
18 | 175 |
column-gap: calc(var(--gap) * 2); |
16 | 176 |
} |
177 |
||
178 |
.about__section .is-section-header { |
|
179 |
margin-bottom: 0; |
|
18 | 180 |
padding: var(--gap) var(--gap) 0; |
16 | 181 |
} |
182 |
||
183 |
.about__section .is-section-header p:last-child { |
|
184 |
margin-bottom: 0; |
|
185 |
} |
|
186 |
||
187 |
/* Section header is alone in a container. */ |
|
188 |
.about__section .is-section-header:first-child:last-child { |
|
189 |
padding: 0; |
|
190 |
} |
|
191 |
||
192 |
.about__section.is-feature { |
|
18 | 193 |
padding: var(--gap); |
16 | 194 |
} |
195 |
||
196 |
.about__section.is-feature p { |
|
197 |
margin: 0; |
|
198 |
} |
|
199 |
||
200 |
.about__section.is-feature p + p { |
|
18 | 201 |
margin-top: calc(var(--gap) / 2); |
16 | 202 |
} |
203 |
||
204 |
.about__section.has-1-column { |
|
205 |
margin-right: auto; |
|
206 |
margin-left: auto; |
|
207 |
max-width: 36em; |
|
208 |
} |
|
209 |
||
210 |
.about__section.has-2-columns, |
|
211 |
.about__section.has-3-columns, |
|
18 | 212 |
.about__section.has-4-columns, |
213 |
.about__section.has-overlap-style { |
|
16 | 214 |
display: grid; |
215 |
} |
|
216 |
||
18 | 217 |
.about__section.has-gutters { |
218 |
gap: calc(var(--gap) / 2); |
|
219 |
} |
|
220 |
||
16 | 221 |
.about__section.has-2-columns { |
222 |
grid-template-columns: 1fr 1fr; |
|
223 |
} |
|
224 |
||
225 |
.about__section.has-2-columns.is-wider-right { |
|
226 |
grid-template-columns: 1fr 2fr; |
|
227 |
} |
|
228 |
||
229 |
.about__section.has-2-columns.is-wider-left { |
|
230 |
grid-template-columns: 2fr 1fr; |
|
231 |
} |
|
232 |
||
233 |
.about__section.has-2-columns .is-section-header { |
|
234 |
grid-column-start: 1; |
|
235 |
-ms-grid-column-span: 2; |
|
236 |
grid-column-end: span 2; |
|
237 |
} |
|
238 |
||
239 |
.about__section.has-2-columns .column:nth-of-type(2n+1) { |
|
240 |
grid-column-start: 1; |
|
241 |
} |
|
242 |
||
243 |
.about__section.has-2-columns .column:nth-of-type(2n) { |
|
244 |
grid-column-start: 2; |
|
245 |
} |
|
246 |
||
247 |
.about__section.has-3-columns { |
|
248 |
grid-template-columns: repeat(3, 1fr); |
|
249 |
} |
|
250 |
||
251 |
.about__section.has-3-columns .is-section-header { |
|
252 |
grid-column-start: 1; |
|
253 |
-ms-grid-column-span: 3; |
|
254 |
grid-column-end: span 3; |
|
255 |
} |
|
256 |
||
257 |
.about__section.has-3-columns .column:nth-of-type(3n+1) { |
|
258 |
grid-column-start: 1; |
|
259 |
} |
|
260 |
||
261 |
.about__section.has-3-columns .column:nth-of-type(3n+2) { |
|
262 |
grid-column-start: 2; |
|
263 |
} |
|
264 |
||
265 |
.about__section.has-3-columns .column:nth-of-type(3n) { |
|
266 |
grid-column-start: 3; |
|
267 |
} |
|
268 |
||
269 |
.about__section.has-4-columns { |
|
270 |
grid-template-columns: repeat(4, 1fr); |
|
271 |
} |
|
272 |
||
273 |
.about__section.has-4-columns .is-section-header { |
|
274 |
grid-column-start: 1; |
|
275 |
-ms-grid-column-span: 4; |
|
276 |
grid-column-end: span 4; |
|
277 |
} |
|
278 |
||
279 |
.about__section.has-4-columns .column:nth-of-type(4n+1) { |
|
280 |
grid-column-start: 1; |
|
281 |
} |
|
282 |
||
283 |
.about__section.has-4-columns .column:nth-of-type(4n+2) { |
|
284 |
grid-column-start: 2; |
|
285 |
} |
|
286 |
||
287 |
.about__section.has-4-columns .column:nth-of-type(4n+3) { |
|
288 |
grid-column-start: 3; |
|
289 |
} |
|
290 |
||
291 |
.about__section.has-4-columns .column:nth-of-type(4n) { |
|
292 |
grid-column-start: 4; |
|
293 |
} |
|
294 |
||
295 |
/* Any columns following a section header need to be expicitly put into the second row, for IE support. */ |
|
296 |
.about__section.has-2-columns .is-section-header ~ .column, |
|
297 |
.about__section.has-3-columns .is-section-header ~ .column, |
|
18 | 298 |
.about__section.has-4-columns .is-section-header ~ .column, |
299 |
.about__section.has-overlap-style .is-section-header ~ .column { |
|
16 | 300 |
grid-row-start: 2; |
301 |
} |
|
302 |
||
18 | 303 |
.about__section.has-overlap-style { |
304 |
grid-template-columns: repeat(7, 1fr); |
|
305 |
} |
|
306 |
||
307 |
.about__section.has-overlap-style .column { |
|
308 |
grid-row-start: 1; |
|
309 |
} |
|
310 |
||
311 |
.about__section.has-overlap-style .column:nth-of-type(2n+1) { |
|
312 |
grid-column-start: 2; |
|
313 |
-ms-grid-column-span: 3; |
|
314 |
grid-column-end: span 3; |
|
315 |
} |
|
316 |
||
317 |
.about__section.has-overlap-style .column:nth-of-type(2n) { |
|
318 |
grid-column-start: 4; |
|
319 |
-ms-grid-column-span: 3; |
|
320 |
grid-column-end: span 3; |
|
321 |
} |
|
322 |
||
323 |
.about__section.has-overlap-style .column.is-top-layer { |
|
324 |
z-index: 1; |
|
325 |
} |
|
326 |
||
16 | 327 |
@media screen and (max-width: 782px) { |
328 |
.about__section.has-2-columns.is-wider-right, |
|
329 |
.about__section.has-2-columns.is-wider-left, |
|
18 | 330 |
.about__section.has-3-columns { |
331 |
display: block; |
|
332 |
padding-bottom: calc(var(--gap) / 2); |
|
333 |
} |
|
334 |
||
335 |
.about__section.has-2-columns.has-gutters .column, |
|
336 |
.about__section.has-2-columns.has-gutters .column, |
|
337 |
.about__section.has-3-columns.has-gutters .column { |
|
338 |
margin-bottom: calc(var(--gap) / 2); |
|
339 |
} |
|
340 |
||
341 |
.about__section.has-2-columns.has-gutters .column:last-child, |
|
342 |
.about__section.has-2-columns.has-gutters .column:last-child, |
|
343 |
.about__section.has-3-columns.has-gutters .column:last-child { |
|
344 |
margin-bottom: 0; |
|
345 |
} |
|
346 |
||
347 |
.about__section.has-3-columns .column:nth-of-type(n) { |
|
348 |
padding-top: calc(var(--gap) / 2); |
|
349 |
padding-bottom: calc(var(--gap) / 2); |
|
350 |
} |
|
351 |
||
16 | 352 |
.about__section.has-4-columns { |
18 | 353 |
grid-template-columns: repeat(2, 1fr); |
354 |
} |
|
355 |
||
356 |
.about__section.has-4-columns .column:nth-of-type(2n+1) { |
|
357 |
grid-column-start: 1; |
|
16 | 358 |
} |
359 |
||
18 | 360 |
.about__section.has-4-columns .column:nth-of-type(2n) { |
361 |
grid-column-start: 2; |
|
362 |
} |
|
363 |
||
364 |
.about__section.has-4-columns .column:nth-of-type(4n+3), |
|
365 |
.about__section.has-4-columns .column:nth-of-type(4n) { |
|
366 |
grid-row-start: 2; |
|
367 |
} |
|
368 |
||
369 |
.about__section.has-4-columns .is-section-header { |
|
370 |
-ms-grid-column-span: 2; |
|
371 |
grid-column-end: span 2; |
|
372 |
} |
|
373 |
||
374 |
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n+3), |
|
375 |
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n) { |
|
376 |
grid-row-start: 3; |
|
377 |
} |
|
378 |
||
379 |
.about__section.has-overlap-style { |
|
380 |
grid-template-columns: 1fr; |
|
381 |
} |
|
382 |
||
383 |
/* At this size, the two columns fully overlap */ |
|
384 |
.about__section.has-overlap-style .column.column { |
|
385 |
grid-column-start: 1; |
|
386 |
-ms-grid-column-span: 1; |
|
387 |
grid-column-end: 2; |
|
388 |
grid-row-start: 1; |
|
389 |
-ms-grid-row-span: 1; |
|
390 |
grid-row-end: 2; |
|
16 | 391 |
} |
392 |
} |
|
393 |
||
394 |
@media screen and (max-width: 600px) { |
|
395 |
.about__section.has-2-columns { |
|
18 | 396 |
display: block; |
397 |
padding-bottom: calc(var(--gap) / 2); |
|
398 |
} |
|
399 |
||
400 |
.about__section.has-2-columns.has-gutters .column { |
|
401 |
margin-bottom: calc(var(--gap) / 2); |
|
402 |
} |
|
403 |
||
404 |
.about__section.has-2-columns.has-gutters .column:last-child { |
|
405 |
margin-bottom: 0; |
|
16 | 406 |
} |
407 |
||
408 |
.about__section.has-2-columns .column:nth-of-type(n) { |
|
18 | 409 |
padding-top: calc(var(--gap) / 2); |
410 |
padding-bottom: calc(var(--gap) / 2); |
|
411 |
} |
|
412 |
} |
|
413 |
||
414 |
@media screen and (max-width: 480px) { |
|
415 |
.about__section.is-feature .column { |
|
416 |
padding: 0; |
|
16 | 417 |
} |
418 |
||
18 | 419 |
.about__section.has-4-columns { |
420 |
display: block; |
|
421 |
padding-bottom: calc(var(--gap) / 2); |
|
422 |
} |
|
423 |
||
424 |
.about__section.has-4-columns.has-gutters .column { |
|
425 |
margin-bottom: calc(var(--gap) / 2); |
|
426 |
} |
|
427 |
||
428 |
.about__section.has-4-columns.has-gutters .column:last-child { |
|
429 |
margin-bottom: 0; |
|
430 |
} |
|
431 |
||
432 |
.about__section.has-4-columns .column:nth-of-type(n) { |
|
433 |
padding-top: calc(var(--gap) / 2); |
|
434 |
padding-bottom: calc(var(--gap) / 2); |
|
16 | 435 |
} |
436 |
} |
|
437 |
||
438 |
/* 1.2 - Typography & Elements */ |
|
439 |
||
440 |
.about__container { |
|
441 |
line-height: 1.4; |
|
18 | 442 |
color: var(--text); |
16 | 443 |
} |
444 |
||
445 |
.about__container h1 { |
|
446 |
padding: 0; |
|
447 |
color: inherit; |
|
448 |
} |
|
449 |
||
450 |
.about__container h1, |
|
18 | 451 |
.about__container h2, |
452 |
.about__container h3.is-larger-heading { |
|
16 | 453 |
margin-top: 0; |
18 | 454 |
margin-bottom: 0.5em; |
455 |
font-size: 2em; |
|
456 |
line-height: 1.2; |
|
457 |
font-weight: 700; |
|
16 | 458 |
} |
459 |
||
460 |
.about__container h3, |
|
18 | 461 |
.about__container h1.is-smaller-heading, |
16 | 462 |
.about__container h2.is-smaller-heading { |
463 |
margin-top: 0; |
|
18 | 464 |
font-size: 1.6em; |
465 |
line-height: 1.3; |
|
466 |
font-weight: 400; |
|
16 | 467 |
} |
468 |
||
469 |
.about__container p { |
|
470 |
font-size: inherit; |
|
471 |
line-height: inherit; |
|
472 |
} |
|
473 |
||
474 |
.about__section a { |
|
18 | 475 |
color: var(--accent-1); |
16 | 476 |
text-decoration: underline; |
477 |
} |
|
478 |
||
479 |
.about__section a:hover, |
|
480 |
.about__section a:active, |
|
481 |
.about__section a:focus { |
|
18 | 482 |
color: var(--accent-1); |
16 | 483 |
text-decoration: none; |
484 |
} |
|
485 |
||
486 |
.wp-credits-list a { |
|
487 |
text-decoration: none; |
|
488 |
} |
|
489 |
||
490 |
.wp-credits-list a:hover, |
|
491 |
.wp-credits-list a:active, |
|
492 |
.wp-credits-list a:focus { |
|
493 |
text-decoration: underline; |
|
494 |
} |
|
495 |
||
496 |
.about__container ul { |
|
497 |
list-style: disc; |
|
18 | 498 |
margin-right: calc(var(--gap) / 2); |
16 | 499 |
} |
500 |
||
501 |
.about__container img { |
|
502 |
margin: 0; |
|
503 |
max-width: 100%; |
|
504 |
vertical-align: middle; |
|
505 |
} |
|
506 |
||
507 |
.about__container .about__image { |
|
508 |
margin: 0; |
|
509 |
} |
|
510 |
||
511 |
.about__container .about__image img { |
|
512 |
max-width: 100%; |
|
513 |
width: 100%; |
|
514 |
height: auto; |
|
515 |
} |
|
516 |
||
18 | 517 |
.about__container .about__image figcaption { |
518 |
margin-top: 0.5em; |
|
519 |
text-align: center; |
|
520 |
} |
|
521 |
||
16 | 522 |
.about__container .about__image .wp-video { |
523 |
margin-right: auto; |
|
524 |
margin-left: auto; |
|
525 |
} |
|
526 |
||
18 | 527 |
.about__container .about__image-comparison { |
528 |
position: relative; |
|
529 |
display: inline-block; |
|
530 |
max-width: 100%; |
|
531 |
} |
|
532 |
||
533 |
.about__container .about__image-comparison img { |
|
534 |
-webkit-user-select: none; |
|
535 |
user-select: none; |
|
536 |
width: auto; |
|
537 |
max-width: none; |
|
538 |
max-height: 100%; |
|
539 |
} |
|
540 |
||
541 |
.about__container .about__image-comparison > img { |
|
542 |
max-width: 100%; |
|
543 |
} |
|
544 |
||
545 |
.about__container .about__image-comparison-resize { |
|
546 |
position: absolute !important; /* Needed to override inline style on ResizableBox */ |
|
547 |
top: 0; |
|
548 |
bottom: 0; |
|
549 |
right: 0; |
|
550 |
width: 50%; |
|
551 |
max-width: 100%; |
|
552 |
} |
|
553 |
||
554 |
.about__container .about__image-comparison.no-js .about__image-comparison-resize { |
|
555 |
overflow: hidden; |
|
556 |
border-left: 2px solid var(--wp-admin-theme-color); |
|
557 |
} |
|
558 |
||
559 |
.about__container .about__image-comparison-resize .components-resizable-box__side-handle::before { |
|
560 |
width: 4px; |
|
561 |
left: calc(50% - 2px); |
|
562 |
transition: none; |
|
563 |
animation: none; |
|
564 |
opacity: 1; |
|
565 |
} |
|
566 |
||
16 | 567 |
.about__container .about__image + h3 { |
568 |
margin-top: 1.5em; |
|
569 |
} |
|
570 |
||
571 |
.about__container hr { |
|
572 |
margin: 0; |
|
18 | 573 |
height: var(--gap); |
16 | 574 |
border: none; |
575 |
} |
|
576 |
||
577 |
.about__container hr.is-small { |
|
18 | 578 |
height: calc(var(--gap) / 4); |
579 |
} |
|
580 |
||
581 |
.about__container hr.is-large { |
|
582 |
height: calc(var(--gap) * 2); |
|
583 |
margin: calc(var(--gap) / 2) auto; |
|
16 | 584 |
} |
585 |
||
586 |
.about__container div.updated, |
|
587 |
.about__container div.error, |
|
588 |
.about__container .notice { |
|
589 |
display: none !important; |
|
590 |
} |
|
591 |
||
592 |
.about__section { |
|
593 |
font-size: 1.2em; |
|
594 |
} |
|
595 |
||
596 |
.about__section.is-feature { |
|
597 |
font-size: 1.6em; |
|
598 |
} |
|
599 |
||
600 |
@media screen and (max-width: 480px) { |
|
601 |
.about__section.is-feature { |
|
602 |
font-size: 1.4em; |
|
18 | 603 |
} |
604 |
||
605 |
.about__container h1, |
|
606 |
.about__container h2, |
|
607 |
.about__container h3.is-larger-heading { |
|
608 |
font-size: 2em; |
|
16 | 609 |
} |
610 |
} |
|
611 |
||
612 |
/* 1.3 - Header */ |
|
613 |
||
614 |
.about__header { |
|
18 | 615 |
margin-bottom: var(--gap); |
616 |
padding-top: 0; |
|
617 |
background-position: center; |
|
618 |
background-repeat: no-repeat; |
|
619 |
background-size: cover; |
|
620 |
background-image: url('../images/about-header-about.svg'); |
|
621 |
background-color: var(--accent-2); |
|
622 |
color: var(--text-light); |
|
623 |
} |
|
624 |
||
625 |
.credits-php .about__header { |
|
626 |
background-image: url('../images/about-header-credits.svg'); |
|
627 |
} |
|
628 |
||
629 |
.freedoms-php .about__header { |
|
630 |
background-image: url('../images/about-header-freedoms.svg'); |
|
631 |
} |
|
632 |
||
633 |
.privacy-php .about__header { |
|
634 |
background-image: url('../images/about-header-privacy.svg'); |
|
635 |
} |
|
636 |
||
637 |
.about__header-image { |
|
638 |
margin: 0 var(--gap) 3em; |
|
16 | 639 |
} |
640 |
||
641 |
.about__header-title { |
|
18 | 642 |
padding: 2rem 0 0; |
643 |
margin: 0 2rem; |
|
16 | 644 |
} |
645 |
||
18 | 646 |
.about__header-title h1 { |
647 |
margin: 0 0 0.5rem; |
|
16 | 648 |
padding: 0; |
18 | 649 |
font-size: 4.5rem; |
16 | 650 |
line-height: 1; |
18 | 651 |
font-weight: 400; |
16 | 652 |
} |
653 |
||
654 |
.about__header-text { |
|
18 | 655 |
max-width: 42rem; |
656 |
margin: 0 0 5em; |
|
657 |
padding: 0 2rem; |
|
658 |
font-size: 2rem; |
|
659 |
line-height: 1.15; |
|
16 | 660 |
} |
661 |
||
662 |
.about__header-navigation { |
|
18 | 663 |
display: flex; |
664 |
justify-content: center; |
|
16 | 665 |
padding-top: 0; |
666 |
background: var(--nav-background); |
|
667 |
color: var(--nav-color); |
|
668 |
border-bottom: 3px solid var(--nav-border); |
|
669 |
} |
|
670 |
||
671 |
.about__header-navigation .nav-tab { |
|
672 |
margin-right: 0; |
|
18 | 673 |
padding: calc(var(--gap) * 0.75) var(--gap); |
674 |
float: none; |
|
16 | 675 |
font-size: 1.4em; |
676 |
line-height: 1; |
|
677 |
border-width: 0 0 3px; |
|
678 |
border-style: solid; |
|
679 |
border-color: transparent; |
|
680 |
background: transparent; |
|
681 |
color: inherit; |
|
682 |
} |
|
683 |
||
684 |
.about__header-navigation .nav-tab:hover, |
|
685 |
.about__header-navigation .nav-tab:active { |
|
18 | 686 |
background-color: var(--nav-current); |
16 | 687 |
color: var(--text-light); |
688 |
} |
|
689 |
||
690 |
.about__header-navigation .nav-tab-active { |
|
691 |
margin-bottom: -3px; |
|
18 | 692 |
color: var(--nav-current); |
16 | 693 |
border-width: 0 0 6px; |
694 |
border-color: var(--nav-current); |
|
695 |
} |
|
696 |
||
697 |
.about__header-navigation .nav-tab-active:hover, |
|
698 |
.about__header-navigation .nav-tab-active:active { |
|
18 | 699 |
background-color: var(--nav-current); |
16 | 700 |
color: var(--text-light); |
701 |
border-color: var(--nav-current); |
|
702 |
} |
|
703 |
||
18 | 704 |
@media screen and (max-width: 960px){ |
705 |
.about__header-title h1 { |
|
706 |
font-size: 4.8em; |
|
707 |
} |
|
708 |
} |
|
709 |
||
16 | 710 |
@media screen and (max-width: 782px) { |
711 |
.about__container .about__header-text { |
|
712 |
font-size: 1.4em; |
|
713 |
} |
|
714 |
||
18 | 715 |
.about__header-container { |
716 |
display: block; |
|
16 | 717 |
} |
718 |
||
18 | 719 |
.about__header-title, |
720 |
.about__header-image { |
|
721 |
margin-right: calc(var(--gap) / 2); |
|
722 |
margin-left: calc(var(--gap) / 2); |
|
723 |
} |
|
724 |
||
725 |
.about__header-text, |
|
16 | 726 |
.about__header-navigation .nav-tab { |
727 |
margin-top: 0; |
|
728 |
margin-left: 0; |
|
18 | 729 |
padding-right: calc(var(--gap) / 2); |
730 |
padding-left: calc(var(--gap) / 2); |
|
16 | 731 |
} |
732 |
} |
|
733 |
||
734 |
@media screen and (max-width: 480px) { |
|
735 |
.about__header-title p { |
|
18 | 736 |
font-size: 2.4em; |
737 |
} |
|
738 |
||
739 |
.about__header-text { |
|
740 |
margin-bottom: 1em; |
|
741 |
} |
|
742 |
||
743 |
.about__header-navigation { |
|
744 |
display: block; |
|
16 | 745 |
} |
746 |
||
747 |
.about__header-navigation .nav-tab { |
|
748 |
display: block; |
|
749 |
margin-bottom: 0; |
|
18 | 750 |
padding: calc(var(--gap) / 2); |
16 | 751 |
border-right-width: 6px; |
752 |
border-bottom: none; |
|
753 |
} |
|
754 |
||
755 |
.about__header-navigation .nav-tab-active { |
|
756 |
border-bottom: none; |
|
757 |
border-right-width: 6px; |
|
758 |
} |
|
759 |
} |
|
760 |
||
761 |
||
5 | 762 |
/*------------------------------------------------------------------------------ |
16 | 763 |
2.0 - Credits Page |
764 |
------------------------------------------------------------------------------*/ |
|
765 |
||
18 | 766 |
.about__section .wp-people-group-title { |
767 |
margin-bottom: calc(var(--gap) * 2); |
|
768 |
text-align: center; |
|
769 |
||
770 |
} |
|
771 |
||
16 | 772 |
.about__section .wp-people-group { |
773 |
margin: 0; |
|
18 | 774 |
display: flex; |
775 |
flex-wrap: wrap; |
|
16 | 776 |
} |
777 |
||
778 |
.about__section .wp-person { |
|
779 |
display: inline-block; |
|
780 |
vertical-align: top; |
|
781 |
box-sizing: border-box; |
|
18 | 782 |
margin-bottom: var(--gap); |
783 |
width: 25%; |
|
784 |
text-align: center; |
|
16 | 785 |
} |
786 |
||
787 |
.about__section .compact .wp-person { |
|
788 |
height: auto; |
|
18 | 789 |
width: 20%; |
790 |
} |
|
791 |
||
792 |
.about__section .wp-person-avatar { |
|
793 |
display: block; |
|
794 |
margin: 0 auto calc(var(--gap) / 2); |
|
795 |
width: 140px; |
|
796 |
height: 140px; |
|
797 |
border-radius: 100%; |
|
798 |
overflow: hidden; |
|
799 |
background: var(--accent-1); |
|
16 | 800 |
} |
801 |
||
802 |
.about__section .wp-person .gravatar { |
|
18 | 803 |
width: 140px; |
804 |
height: 140px; |
|
805 |
filter: grayscale(100%); |
|
806 |
mix-blend-mode: screen; |
|
807 |
} |
|
808 |
||
809 |
.about__section .compact .wp-person-avatar, |
|
810 |
.about__section .compact .wp-person .gravatar { |
|
16 | 811 |
width: 80px; |
812 |
height: 80px; |
|
813 |
} |
|
814 |
||
815 |
.about__section .wp-person .web { |
|
816 |
font-size: 1.4em; |
|
817 |
font-weight: 600; |
|
818 |
text-decoration: none; |
|
819 |
} |
|
820 |
||
821 |
.about__section .wp-person .web:hover { |
|
822 |
text-decoration: underline; |
|
823 |
} |
|
824 |
||
825 |
.about__section .compact .wp-person .web { |
|
826 |
font-size: 1.2em; |
|
827 |
} |
|
828 |
||
829 |
.about__section .wp-person .title { |
|
830 |
display: block; |
|
831 |
margin-top: 0.5em; |
|
832 |
} |
|
833 |
||
18 | 834 |
@media screen and (max-width: 782px) { |
835 |
.about__section .wp-person { |
|
836 |
width: 33%; |
|
837 |
} |
|
838 |
||
839 |
.about__section .compact .wp-person { |
|
840 |
width: 25%; |
|
841 |
} |
|
842 |
||
843 |
.about__section .wp-person-avatar, |
|
844 |
.about__section .wp-person .gravatar { |
|
845 |
width: 120px; |
|
846 |
height: 120px; |
|
847 |
} |
|
848 |
} |
|
849 |
||
850 |
@media screen and (max-width: 600px) { |
|
851 |
.about__section .wp-person { |
|
852 |
width: 50%; |
|
853 |
} |
|
854 |
||
855 |
.about__section .compact .wp-person { |
|
856 |
width: 33%; |
|
857 |
} |
|
858 |
||
859 |
.about__section .wp-person .web { |
|
860 |
font-size: 1.2em; |
|
861 |
} |
|
862 |
} |
|
863 |
||
16 | 864 |
@media screen and (max-width: 480px) { |
865 |
.about__section .wp-person { |
|
866 |
min-width: 100%; |
|
867 |
} |
|
868 |
||
869 |
.about__section .wp-person .web { |
|
870 |
font-size: 1em; |
|
871 |
} |
|
872 |
||
873 |
.about__section .compact .wp-person .web { |
|
874 |
font-size: 1em; |
|
875 |
} |
|
876 |
} |
|
877 |
||
878 |
||
879 |
/*------------------------------------------------------------------------------ |
|
880 |
3.0 - Freedoms Page |
|
881 |
------------------------------------------------------------------------------*/ |
|
882 |
||
18 | 883 |
.about__section .column .freedom-image { |
884 |
margin-bottom: var(--gap); |
|
885 |
max-height: 140px; |
|
16 | 886 |
} |
887 |
||
888 |
||
889 |
/*------------------------------------------------------------------------------ |
|
890 |
x.2.0 - Legacy About Styles: Global |
|
5 | 891 |
------------------------------------------------------------------------------*/ |
892 |
||
893 |
.about-wrap { |
|
894 |
position: relative; |
|
895 |
margin: 25px 20px 0 40px; |
|
896 |
max-width: 1050px; /* readability */ |
|
897 |
font-size: 15px; |
|
898 |
} |
|
899 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
900 |
.about-wrap.full-width-layout { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
901 |
max-width: 1200px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
902 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
903 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
904 |
.about-wrap-content { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
905 |
max-width: 1050px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
906 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
907 |
|
5 | 908 |
.about-wrap div.updated, |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
909 |
.about-wrap div.error, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
910 |
.about-wrap .notice { |
5 | 911 |
display: none !important; |
912 |
} |
|
913 |
||
914 |
.about-wrap hr { |
|
915 |
border: 0; |
|
916 |
height: 0; |
|
9 | 917 |
margin: 3em 0 0; |
5 | 918 |
border-top: 1px solid rgba(0, 0, 0, 0.1); |
919 |
} |
|
920 |
||
921 |
.about-wrap img { |
|
922 |
margin: 0; |
|
9 | 923 |
width: 100%; |
5 | 924 |
height: auto; |
925 |
vertical-align: middle; |
|
926 |
} |
|
927 |
||
9 | 928 |
.about-wrap .inline-svg img { |
929 |
max-width: 100%; |
|
930 |
width: auto; |
|
931 |
height: auto; |
|
932 |
} |
|
933 |
||
934 |
.about-wrap video { |
|
935 |
margin: 1.5em auto; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
936 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
937 |
|
5 | 938 |
/* WordPress Version Badge */ |
939 |
||
940 |
.wp-badge { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
941 |
background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
942 |
background-position: center 25px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
943 |
background-size: 80px 80px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
944 |
color: #fff; |
5 | 945 |
font-size: 14px; |
946 |
text-align: center; |
|
947 |
font-weight: 600; |
|
948 |
margin: 5px 0 0; |
|
949 |
padding-top: 120px; |
|
950 |
height: 40px; |
|
951 |
display: inline-block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
952 |
width: 140px; |
5 | 953 |
text-rendering: optimizeLegibility; |
9 | 954 |
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); |
5 | 955 |
} |
956 |
||
957 |
.svg .wp-badge { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
958 |
background-image: url(../images/wordpress-logo-white.svg?ver=20160308); |
5 | 959 |
} |
960 |
||
961 |
.about-wrap .wp-badge { |
|
962 |
position: absolute; |
|
963 |
top: 0; |
|
964 |
left: 0; |
|
965 |
} |
|
966 |
||
967 |
/* Tabs */ |
|
968 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
969 |
.about-wrap .nav-tab { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
970 |
padding-left: 15px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
971 |
padding-right: 15px; |
5 | 972 |
font-size: 18px; |
9 | 973 |
line-height: 1.33333333; |
5 | 974 |
} |
975 |
||
16 | 976 |
/* x.2.1 - Typography */ |
5 | 977 |
|
978 |
.about-wrap h1 { |
|
979 |
margin: 0.2em 0 0 200px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
980 |
padding: 0; |
5 | 981 |
color: #32373c; |
9 | 982 |
line-height: 1.2; |
5 | 983 |
font-size: 2.8em; |
984 |
font-weight: 400; |
|
985 |
} |
|
986 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
987 |
.about-wrap h2 { |
16 | 988 |
margin: 40px 0 0.6em; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
989 |
font-size: 2.7em; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
990 |
line-height: 1.3; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
991 |
font-weight: 300; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
992 |
text-align: center; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
993 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
994 |
|
5 | 995 |
.about-wrap h3 { |
16 | 996 |
margin: 1.25em 0 0.6em; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
997 |
font-size: 1.4em; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
998 |
line-height: 1.5; |
5 | 999 |
} |
1000 |
||
1001 |
.about-wrap h4 { |
|
9 | 1002 |
font-size: 16px; |
5 | 1003 |
color: #23282d; |
1004 |
} |
|
1005 |
||
9 | 1006 |
.about-wrap p { |
1007 |
line-height: 1.5; |
|
1008 |
font-size: 16px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1009 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1010 |
|
5 | 1011 |
.about-wrap code, |
1012 |
.about-wrap ol li p { |
|
1013 |
font-size: 14px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1014 |
font-weight: 400; |
5 | 1015 |
} |
1016 |
||
9 | 1017 |
.about-wrap figcaption { |
1018 |
font-size: 13px; |
|
1019 |
text-align: center; |
|
1020 |
color: white; |
|
1021 |
text-overflow: ellipsis; |
|
1022 |
} |
|
1023 |
||
5 | 1024 |
.about-wrap .about-description, |
1025 |
.about-wrap .about-text { |
|
1026 |
margin-top: 1.4em; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1027 |
font-weight: 400; |
9 | 1028 |
line-height: 1.6; |
5 | 1029 |
font-size: 19px; |
1030 |
} |
|
1031 |
||
1032 |
.about-wrap .about-text { |
|
1033 |
margin: 1em 0 1em 200px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1034 |
color: #555d66; |
5 | 1035 |
} |
1036 |
||
16 | 1037 |
/* x.2.2 - Structure */ |
5 | 1038 |
|
9 | 1039 |
.about-wrap .has-1-columns, |
1040 |
.about-wrap .has-2-columns, |
|
1041 |
.about-wrap .has-3-columns, |
|
1042 |
.about-wrap .has-4-columns { |
|
1043 |
display: grid; |
|
1044 |
max-width: 800px; |
|
1045 |
margin-top: 40px; |
|
1046 |
margin-right: auto; |
|
1047 |
margin-left: auto; |
|
1048 |
} |
|
1049 |
||
1050 |
.about-wrap .column { |
|
1051 |
margin-left: 20px; |
|
1052 |
margin-right: 20px; |
|
1053 |
} |
|
1054 |
||
1055 |
.about-wrap .is-wide { |
|
1056 |
max-width: 760px; |
|
1057 |
} |
|
1058 |
||
1059 |
.about-wrap .is-fullwidth { |
|
1060 |
max-width: 100%; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1061 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1062 |
|
9 | 1063 |
.about-wrap .has-1-columns { |
1064 |
display: block; |
|
1065 |
max-width: 680px; |
|
1066 |
margin: 0 auto 40px; |
|
1067 |
} |
|
1068 |
||
1069 |
.about-wrap .has-2-columns { |
|
1070 |
grid-template-columns: 1fr 1fr; |
|
1071 |
} |
|
1072 |
||
1073 |
.about-wrap .has-2-columns .column:nth-of-type(2n+1) { |
|
1074 |
grid-column-start: 1; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1075 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1076 |
|
9 | 1077 |
.about-wrap .has-2-columns .column:nth-of-type(2n) { |
1078 |
grid-column-start: 2; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1079 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1080 |
|
9 | 1081 |
.about-wrap .has-2-columns.is-wider-right { |
1082 |
grid-template-columns: 1fr 2fr; |
|
1083 |
} |
|
1084 |
||
1085 |
.about-wrap .has-2-columns.is-wider-left { |
|
1086 |
grid-template-columns: 2fr 1fr; |
|
1087 |
} |
|
1088 |
||
1089 |
.about-wrap .has-3-columns { |
|
1090 |
grid-template-columns: repeat(3, 1fr); |
|
5 | 1091 |
} |
1092 |
||
9 | 1093 |
.about-wrap .has-3-columns .column:nth-of-type(3n+1) { |
1094 |
grid-column-start: 1; |
|
1095 |
} |
|
1096 |
||
1097 |
.about-wrap .has-3-columns .column:nth-of-type(3n+2) { |
|
1098 |
grid-column-start: 2; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1099 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1100 |
|
9 | 1101 |
.about-wrap .has-3-columns .column:nth-of-type(3n) { |
1102 |
grid-column-start: 3; |
|
1103 |
} |
|
1104 |
||
1105 |
.about-wrap .has-4-columns { |
|
1106 |
grid-template-columns: repeat(4, 1fr); |
|
1107 |
} |
|
1108 |
||
1109 |
.about-wrap .has-4-columns .column:nth-of-type(4n+1) { |
|
1110 |
grid-column-start: 1; |
|
1111 |
} |
|
1112 |
||
1113 |
.about-wrap .has-4-columns .column:nth-of-type(4n+2) { |
|
1114 |
grid-column-start: 2; |
|
5 | 1115 |
} |
1116 |
||
9 | 1117 |
.about-wrap .has-4-columns .column:nth-of-type(4n+3) { |
1118 |
grid-column-start: 3; |
|
1119 |
} |
|
1120 |
||
1121 |
.about-wrap .has-4-columns .column:nth-of-type(4n) { |
|
1122 |
grid-column-start: 4; |
|
1123 |
} |
|
1124 |
||
1125 |
.about-wrap .column :first-child { |
|
1126 |
margin-top: 0; |
|
1127 |
} |
|
1128 |
||
1129 |
.about-wrap .aligncenter { |
|
1130 |
text-align: center; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1131 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1132 |
|
9 | 1133 |
.about-wrap .alignleft { |
1134 |
float: right; |
|
1135 |
margin-left: 40px; |
|
1136 |
} |
|
1137 |
||
1138 |
.about-wrap .alignright { |
|
1139 |
float: left; |
|
1140 |
margin-right: 40px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1141 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1142 |
|
9 | 1143 |
.about-wrap .is-vertically-aligned-top { |
1144 |
align-self: start; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1145 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1146 |
|
9 | 1147 |
.about-wrap .is-vertically-aligned-center { |
1148 |
align-self: center; |
|
1149 |
} |
|
1150 |
||
1151 |
.about-wrap .is-vertically-aligned-bottom { |
|
1152 |
align-self: end; |
|
5 | 1153 |
} |
1154 |
||
16 | 1155 |
/* x.2.3 - Point Releases */ |
5 | 1156 |
|
1157 |
.about-wrap .point-releases { |
|
1158 |
margin-top: 5px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1159 |
border-bottom: 1px solid #ddd; |
5 | 1160 |
} |
1161 |
||
9 | 1162 |
.about-wrap .changelog { |
1163 |
margin-bottom: 40px; |
|
1164 |
} |
|
1165 |
||
5 | 1166 |
.about-wrap .changelog.point-releases h3 { |
1167 |
padding-top: 35px; |
|
1168 |
} |
|
1169 |
||
1170 |
.about-wrap .changelog.point-releases h3:first-child { |
|
1171 |
padding-top: 7px; |
|
1172 |
} |
|
1173 |
||
9 | 1174 |
.about-wrap .changelog.feature-section .col { |
1175 |
margin-top: 40px; |
|
1176 |
} |
|
1177 |
||
5 | 1178 |
/*------------------------------------------------------------------------------ |
16 | 1179 |
x.3.0 - Legacy About Styles: About Page |
5 | 1180 |
------------------------------------------------------------------------------*/ |
1181 |
||
16 | 1182 |
/* x.3.1 - Typography */ |
5 | 1183 |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1184 |
.about-wrap .lead-description { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1185 |
font-size: 1.5em; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1186 |
text-align: center; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1187 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1188 |
|
9 | 1189 |
.about-wrap .feature-section p { |
1190 |
margin-top: 0.6em; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1191 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1192 |
|
16 | 1193 |
/* x.3.2 - Structure */ |
5 | 1194 |
|
9 | 1195 |
.about-wrap .headline-feature { |
1196 |
margin: 0 auto 40px; |
|
1197 |
max-width: 680px; |
|
5 | 1198 |
} |
1199 |
||
9 | 1200 |
.about-wrap .headline-feature h2 { |
1201 |
margin: 50px 0 0; |
|
5 | 1202 |
} |
1203 |
||
9 | 1204 |
.about-wrap .headline-feature img { |
1205 |
max-width: 600px; |
|
1206 |
width: 100%; |
|
5 | 1207 |
} |
1208 |
||
18 | 1209 |
/* Go to Dashboard Home link */ |
5 | 1210 |
|
1211 |
.about-wrap .return-to-dashboard { |
|
1212 |
margin: 30px -5px 0 0; |
|
1213 |
font-size: 14px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1214 |
font-weight: 600; |
5 | 1215 |
} |
1216 |
||
1217 |
.about-wrap .return-to-dashboard a { |
|
1218 |
text-decoration: none; |
|
1219 |
padding: 0 5px; |
|
1220 |
} |
|
1221 |
||
1222 |
/*------------------------------------------------------------------------------ |
|
16 | 1223 |
x.4.0 - Legacy About Styles: Credits & Freedoms Pages |
5 | 1224 |
------------------------------------------------------------------------------*/ |
1225 |
||
1226 |
/* Credits */ |
|
1227 |
||
9 | 1228 |
.about-wrap h2.wp-people-group { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1229 |
margin: 2.6em 0 1.33em; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1230 |
padding: 0; |
5 | 1231 |
font-size: 16px; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1232 |
line-height: inherit; |
9 | 1233 |
font-weight: 600; |
1234 |
text-align: right; |
|
5 | 1235 |
} |
1236 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1237 |
.about-wrap .wp-people-group { |
5 | 1238 |
padding: 0 5px; |
1239 |
margin: 0 -5px 0 -15px; |
|
1240 |
} |
|
1241 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1242 |
.about-wrap .compact { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1243 |
margin-bottom: 0; |
5 | 1244 |
} |
1245 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1246 |
.about-wrap .wp-person { |
5 | 1247 |
display: inline-block; |
1248 |
vertical-align: top; |
|
1249 |
margin-left: 10px; |
|
1250 |
padding-bottom: 15px; |
|
1251 |
height: 70px; |
|
1252 |
width: 280px; |
|
1253 |
} |
|
1254 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1255 |
.about-wrap .compact .wp-person { |
5 | 1256 |
height: auto; |
1257 |
width: 180px; |
|
1258 |
padding-bottom: 0; |
|
1259 |
margin-bottom: 0; |
|
1260 |
} |
|
1261 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1262 |
.about-wrap .wp-person .gravatar { |
5 | 1263 |
float: right; |
1264 |
margin: 0 0 10px 10px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1265 |
padding: 1px; |
5 | 1266 |
width: 60px; |
1267 |
height: 60px; |
|
1268 |
} |
|
1269 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1270 |
.about-wrap .compact .wp-person .gravatar { |
5 | 1271 |
width: 30px; |
1272 |
height: 30px; |
|
1273 |
} |
|
1274 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1275 |
.about-wrap .wp-person .web { |
5 | 1276 |
margin: 6px 0 2px; |
1277 |
font-size: 16px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1278 |
font-weight: 400; |
9 | 1279 |
line-height: 2; |
5 | 1280 |
text-decoration: none; |
1281 |
} |
|
1282 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1283 |
.about-wrap .wp-person .title { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1284 |
display: block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1285 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1286 |
|
5 | 1287 |
.about-wrap #wp-people-group-validators + p.wp-credits-list { |
1288 |
margin-top: 0; |
|
1289 |
} |
|
1290 |
||
1291 |
.about-wrap p.wp-credits-list a { |
|
1292 |
white-space: nowrap; |
|
1293 |
} |
|
1294 |
||
1295 |
/* Freedoms */ |
|
1296 |
||
1297 |
.freedoms-php .about-wrap ol { |
|
1298 |
margin: 40px 60px; |
|
1299 |
} |
|
1300 |
||
1301 |
.freedoms-php .about-wrap ol li { |
|
1302 |
list-style-type: decimal; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1303 |
font-weight: 600; |
5 | 1304 |
} |
1305 |
||
1306 |
.freedoms-php .about-wrap ol p { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1307 |
font-weight: 400; |
5 | 1308 |
margin: 0.6em 0; |
1309 |
} |
|
1310 |
||
9 | 1311 |
.freedoms-php .column .freedoms-image { |
18 | 1312 |
background-image: url('../images/freedoms.png'); |
9 | 1313 |
background-size: 100%; |
1314 |
padding-top: 100%; |
|
1315 |
} |
|
1316 |
||
1317 |
.freedoms-php .column:nth-of-type(2) .freedoms-image { |
|
1318 |
background-position: 100% 34%; |
|
1319 |
} |
|
1320 |
||
1321 |
.freedoms-php .column:nth-of-type(3) .freedoms-image { |
|
1322 |
background-position: 100% 66%; |
|
1323 |
} |
|
1324 |
||
1325 |
.freedoms-php .column:nth-of-type(4) .freedoms-image { |
|
1326 |
background-position: 100% 100%; |
|
1327 |
} |
|
1328 |
||
5 | 1329 |
/*------------------------------------------------------------------------------ |
16 | 1330 |
x.5.0 - Legacy About Styles: Media Queries |
5 | 1331 |
------------------------------------------------------------------------------*/ |
1332 |
||
9 | 1333 |
@media screen and (max-width: 782px) { |
1334 |
.about-wrap .has-3-columns, |
|
1335 |
.about-wrap .has-4-columns { |
|
1336 |
grid-template-columns: 1fr 1fr; |
|
1337 |
} |
|
1338 |
||
1339 |
.about-wrap .has-3-columns .column:nth-of-type(3n+1), |
|
1340 |
.about-wrap .has-4-columns .column:nth-of-type(4n+1) { |
|
1341 |
grid-column-start: 1; |
|
1342 |
grid-row-start: 1; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1343 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1344 |
|
9 | 1345 |
.about-wrap .has-3-columns .column:nth-of-type(3n+2), |
1346 |
.about-wrap .has-4-columns .column:nth-of-type(4n+2) { |
|
1347 |
grid-column-start: 2; |
|
1348 |
grid-row-start: 1; |
|
5 | 1349 |
} |
1350 |
||
9 | 1351 |
.about-wrap .has-3-columns .column:nth-of-type(3n), |
1352 |
.about-wrap .has-4-columns .column:nth-of-type(4n+3) { |
|
1353 |
grid-column-start: 1; |
|
1354 |
grid-row-start: 2; |
|
1355 |
} |
|
1356 |
||
1357 |
.about-wrap .has-4-columns .column:nth-of-type(4n) { |
|
1358 |
grid-column-start: 2; |
|
1359 |
grid-row-start: 2; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1360 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1361 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1362 |
|
9 | 1363 |
@media screen and (max-width: 600px) { |
1364 |
.about-wrap .has-2-columns, |
|
1365 |
.about-wrap .has-3-columns, |
|
1366 |
.about-wrap .has-4-columns { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1367 |
display: block; |
5 | 1368 |
} |
1369 |
||
9 | 1370 |
.about-wrap :not(.is-wider-right):not(.is-wider-left) .column { |
1371 |
margin-left: 0; |
|
1372 |
margin-right: 0; |
|
5 | 1373 |
} |
1374 |
||
9 | 1375 |
.about-wrap .has-2-columns.is-wider-right, |
1376 |
.about-wrap .has-2-columns.is-wider-left { |
|
1377 |
display: grid; |
|
5 | 1378 |
} |
1379 |
} |
|
1380 |
||
1381 |
@media only screen and (max-width: 500px) { |
|
1382 |
.about-wrap { |
|
1383 |
margin-left: 20px; |
|
1384 |
margin-right: 10px; |
|
1385 |
} |
|
1386 |
||
1387 |
.about-wrap h1, |
|
1388 |
.about-wrap .about-text { |
|
1389 |
margin-left: 0; |
|
1390 |
} |
|
1391 |
||
1392 |
.about-wrap .about-text { |
|
1393 |
margin-bottom: 0.25em; |
|
1394 |
} |
|
1395 |
||
1396 |
.about-wrap .wp-badge { |
|
1397 |
position: relative; |
|
1398 |
margin-bottom: 1.5em; |
|
1399 |
width: 100%; |
|
1400 |
} |
|
9 | 1401 |
} |
5 | 1402 |
|
9 | 1403 |
@media only screen and (max-width: 480px) { |
1404 |
.about-wrap .has-2-columns.is-wider-right, |
|
1405 |
.about-wrap .has-2-columns.is-wider-left { |
|
1406 |
display: block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1407 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1408 |
|
9 | 1409 |
.about-wrap .column { |
1410 |
margin-left: 0; |
|
1411 |
margin-right: 0; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1412 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1413 |
|
9 | 1414 |
.about-wrap .has-2-columns.is-wider-right img, |
1415 |
.about-wrap .has-2-columns.is-wider-left img { |
|
1416 |
max-width: 160px; |
|
5 | 1417 |
} |
1418 |
} |