|
1 /*! This file is auto-generated */ |
1 /*------------------------------------------------------------------------------ |
2 /*------------------------------------------------------------------------------ |
2 22.0 - About Pages |
3 22.0 - About Pages |
3 |
4 |
4 1.0 Global: About, Credits, Freedoms |
5 1.0 Global: About, Credits, Freedoms, Privacy |
5 1.1 Typography |
6 1.1 Layout |
6 1.2 Structure |
7 1.2 Typography & Elements |
7 1.3 Point Releases |
8 1.3 Header |
8 2.0 About Page |
9 2.0 Credits Page |
9 2.1 Typography |
10 3.0 Freedoms Page |
10 2.2 Structure |
11 x.2.0 Legacy About Styles: Global |
11 3.0 Credits & Freedoms Pages |
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 |
12 ------------------------------------------------------------------------------*/ |
20 ------------------------------------------------------------------------------*/ |
13 |
21 |
|
22 .about__container { |
|
23 /* Section backgrounds */ |
|
24 --background: #fff; |
|
25 --subtle-background: #f2edd4; |
|
26 /* Main text color */ |
|
27 --text: #322d2b; |
|
28 --text-light: #f2edd4; |
|
29 /* Accent colors: used in header, on special classes. */ |
|
30 --accent-1: #ebcd3d; /* Accent background */ |
|
31 --accent-2: #bd7331; |
|
32 --accent-3: #b04329; |
|
33 /* Navigation colors. */ |
|
34 --nav-background: var(--subtle-background); |
|
35 --nav-border: var(--accent-1); |
|
36 --nav-color: var(--accent-3); |
|
37 --nav-current: var(--accent-3); |
|
38 } |
|
39 |
14 /*------------------------------------------------------------------------------ |
40 /*------------------------------------------------------------------------------ |
15 1.0 - Global: About, Credits, Freedoms |
41 1.0 - Global: About, Credits, Freedoms, Privacy |
|
42 ------------------------------------------------------------------------------*/ |
|
43 |
|
44 .about-php, |
|
45 .credits-php, |
|
46 .freedoms-php, |
|
47 .privacy-php { |
|
48 background: #fff; |
|
49 } |
|
50 |
|
51 .about-php #wpcontent, |
|
52 .credits-php #wpcontent, |
|
53 .freedoms-php #wpcontent, |
|
54 .privacy-php #wpcontent { |
|
55 background: white; |
|
56 padding: 0 24px; |
|
57 } |
|
58 |
|
59 @media screen and (max-width: 782px) { |
|
60 .about-php.auto-fold #wpcontent, |
|
61 .credits-php.auto-fold #wpcontent, |
|
62 .freedoms-php.auto-fold #wpcontent, |
|
63 .privacy-php.auto-fold #wpcontent { |
|
64 padding-right: 24px; |
|
65 } |
|
66 } |
|
67 |
|
68 .about__container { |
|
69 max-width: 1000px; |
|
70 margin: 24px auto; |
|
71 clear: both; |
|
72 } |
|
73 |
|
74 .about__container .alignleft { |
|
75 float: right; |
|
76 } |
|
77 |
|
78 .about__container .alignright { |
|
79 float: left; |
|
80 } |
|
81 |
|
82 .about__container .aligncenter { |
|
83 text-align: center; |
|
84 } |
|
85 |
|
86 .about__container .is-vertically-aligned-top { |
|
87 -ms-grid-row-align: start; |
|
88 align-self: start; |
|
89 } |
|
90 |
|
91 .about__container .is-vertically-aligned-center { |
|
92 -ms-grid-row-align: center; |
|
93 align-self: center; |
|
94 } |
|
95 |
|
96 .about__container .is-vertically-aligned-bottom { |
|
97 -ms-grid-row-align: end; |
|
98 align-self: end; |
|
99 } |
|
100 |
|
101 .about__section { |
|
102 background: #fff; |
|
103 background: var(--background); |
|
104 clear: both; |
|
105 } |
|
106 |
|
107 .about__container .has-accent-background-color { |
|
108 background-color: #ebcd3d; |
|
109 background-color: var(--accent-1); |
|
110 } |
|
111 |
|
112 .about__container .has-transparent-background-color { |
|
113 background-color: transparent; |
|
114 } |
|
115 |
|
116 .about__container .has-accent-color { |
|
117 color: #b04329; |
|
118 color: var(--accent-3); |
|
119 } |
|
120 |
|
121 .about__container .has-subtle-background-color { |
|
122 background-color: #f2edd4; |
|
123 background-color: var(--subtle-background); |
|
124 color: #322d2b; |
|
125 color: var(--text); |
|
126 } |
|
127 |
|
128 /* 1.1 - Layout */ |
|
129 |
|
130 .about__section { |
|
131 margin: 0; |
|
132 } |
|
133 |
|
134 .about__section .column { |
|
135 padding: 32px; |
|
136 } |
|
137 |
|
138 .about__section + .about__section .column { |
|
139 padding-top: 0; |
|
140 } |
|
141 |
|
142 .about__section .column.is-edge-to-edge { |
|
143 padding: 0; |
|
144 } |
|
145 |
|
146 .about__section .column p:first-of-type { |
|
147 margin-top: 0; |
|
148 } |
|
149 |
|
150 .about__section .column p:last-of-type { |
|
151 margin-bottom: 0; |
|
152 } |
|
153 |
|
154 .about__section .has-text-columns { |
|
155 columns: 2; |
|
156 column-gap: 64px; |
|
157 } |
|
158 |
|
159 .about__section .is-section-header { |
|
160 margin-bottom: 0; |
|
161 padding: 32px 32px 0; |
|
162 } |
|
163 |
|
164 .about__section .is-section-header p:last-child { |
|
165 margin-bottom: 0; |
|
166 } |
|
167 |
|
168 /* Section header is alone in a container. */ |
|
169 .about__section .is-section-header:first-child:last-child { |
|
170 padding: 0; |
|
171 } |
|
172 |
|
173 .about__section.is-feature { |
|
174 padding: 32px; |
|
175 } |
|
176 |
|
177 .about__section.is-feature p { |
|
178 margin: 0; |
|
179 } |
|
180 |
|
181 .about__section.is-feature p + p { |
|
182 margin-top: 1rem; |
|
183 } |
|
184 |
|
185 .about__section.has-1-column { |
|
186 margin-right: auto; |
|
187 margin-left: auto; |
|
188 max-width: 36em; |
|
189 } |
|
190 |
|
191 .about__section.has-2-columns, |
|
192 .about__section.has-3-columns, |
|
193 .about__section.has-4-columns { |
|
194 display: -ms-grid; |
|
195 display: grid; |
|
196 } |
|
197 |
|
198 .about__section.has-2-columns { |
|
199 -ms-grid-columns: 1fr 1fr; |
|
200 grid-template-columns: 1fr 1fr; |
|
201 } |
|
202 |
|
203 .about__section.has-2-columns.is-wider-right { |
|
204 -ms-grid-columns: 1fr 2fr; |
|
205 grid-template-columns: 1fr 2fr; |
|
206 } |
|
207 |
|
208 .about__section.has-2-columns.is-wider-left { |
|
209 -ms-grid-columns: 2fr 1fr; |
|
210 grid-template-columns: 2fr 1fr; |
|
211 } |
|
212 |
|
213 .about__section.has-2-columns .is-section-header { |
|
214 -ms-grid-column: 1; |
|
215 grid-column-start: 1; |
|
216 -ms-grid-column-span: 2; |
|
217 grid-column-end: span 2; |
|
218 } |
|
219 |
|
220 .about__section.has-2-columns .column:nth-of-type(2n+1) { |
|
221 -ms-grid-column: 1; |
|
222 grid-column-start: 1; |
|
223 } |
|
224 |
|
225 .about__section.has-2-columns .column:nth-of-type(2n) { |
|
226 -ms-grid-column: 2; |
|
227 grid-column-start: 2; |
|
228 } |
|
229 |
|
230 .about__section.has-3-columns { |
|
231 -ms-grid-columns: (1fr)[3]; |
|
232 grid-template-columns: repeat(3, 1fr); |
|
233 } |
|
234 |
|
235 .about__section.has-3-columns .is-section-header { |
|
236 -ms-grid-column: 1; |
|
237 grid-column-start: 1; |
|
238 -ms-grid-column-span: 3; |
|
239 grid-column-end: span 3; |
|
240 } |
|
241 |
|
242 .about__section.has-3-columns .column:nth-of-type(3n+1) { |
|
243 -ms-grid-column: 1; |
|
244 grid-column-start: 1; |
|
245 } |
|
246 |
|
247 .about__section.has-3-columns .column:nth-of-type(3n+2) { |
|
248 -ms-grid-column: 2; |
|
249 grid-column-start: 2; |
|
250 } |
|
251 |
|
252 .about__section.has-3-columns .column:nth-of-type(3n) { |
|
253 -ms-grid-column: 3; |
|
254 grid-column-start: 3; |
|
255 } |
|
256 |
|
257 .about__section.has-4-columns { |
|
258 -ms-grid-columns: (1fr)[4]; |
|
259 grid-template-columns: repeat(4, 1fr); |
|
260 } |
|
261 |
|
262 .about__section.has-4-columns .is-section-header { |
|
263 -ms-grid-column: 1; |
|
264 grid-column-start: 1; |
|
265 -ms-grid-column-span: 4; |
|
266 grid-column-end: span 4; |
|
267 } |
|
268 |
|
269 .about__section.has-4-columns .column:nth-of-type(4n+1) { |
|
270 -ms-grid-column: 1; |
|
271 grid-column-start: 1; |
|
272 } |
|
273 |
|
274 .about__section.has-4-columns .column:nth-of-type(4n+2) { |
|
275 -ms-grid-column: 2; |
|
276 grid-column-start: 2; |
|
277 } |
|
278 |
|
279 .about__section.has-4-columns .column:nth-of-type(4n+3) { |
|
280 -ms-grid-column: 3; |
|
281 grid-column-start: 3; |
|
282 } |
|
283 |
|
284 .about__section.has-4-columns .column:nth-of-type(4n) { |
|
285 -ms-grid-column: 4; |
|
286 grid-column-start: 4; |
|
287 } |
|
288 |
|
289 /* Any columns following a section header need to be expicitly put into the second row, for IE support. */ |
|
290 .about__section.has-2-columns .is-section-header ~ .column, |
|
291 .about__section.has-3-columns .is-section-header ~ .column, |
|
292 .about__section.has-4-columns .is-section-header ~ .column { |
|
293 -ms-grid-row: 2; |
|
294 grid-row-start: 2; |
|
295 } |
|
296 |
|
297 @media screen and (max-width: 782px) { |
|
298 .about__section.has-2-columns.is-wider-right, |
|
299 .about__section.has-2-columns.is-wider-left, |
|
300 .about__section.has-3-columns, |
|
301 .about__section.has-4-columns { |
|
302 display: block; |
|
303 padding-bottom: 16px; |
|
304 } |
|
305 |
|
306 .about__section.has-3-columns .column:nth-of-type(n), |
|
307 .about__section.has-4-columns .column:nth-of-type(n) { |
|
308 padding-top: 16px; |
|
309 padding-bottom: 16px; |
|
310 } |
|
311 } |
|
312 |
|
313 @media screen and (max-width: 600px) { |
|
314 .about__section.has-2-columns { |
|
315 display: flex; /* This is flex, not block, so we can use order below. */ |
|
316 flex-wrap: wrap; |
|
317 align-content: stretch; |
|
318 padding-bottom: 16px; |
|
319 } |
|
320 |
|
321 .about__section.has-2-columns .column:nth-of-type(n) { |
|
322 padding-top: 16px; |
|
323 padding-bottom: 16px; |
|
324 } |
|
325 |
|
326 .about__section.has-2-columns .is-edge-to-edge { |
|
327 order: -1; |
|
328 } |
|
329 } |
|
330 |
|
331 /* 1.2 - Typography & Elements */ |
|
332 |
|
333 .about__container { |
|
334 line-height: 1.4; |
|
335 } |
|
336 |
|
337 .about__container h1 { |
|
338 margin: 0 0 1em; |
|
339 padding: 0; |
|
340 font-weight: 600; |
|
341 color: inherit; |
|
342 } |
|
343 |
|
344 .about__container h1, |
|
345 .about__container h2 { |
|
346 margin-top: 0; |
|
347 font-size: 1.4em; |
|
348 line-height: 1.4; |
|
349 } |
|
350 |
|
351 .about__container h3, |
|
352 .about__container h2.is-smaller-heading { |
|
353 margin-top: 0; |
|
354 font-size: 1em; |
|
355 } |
|
356 |
|
357 .about__container p { |
|
358 font-size: inherit; |
|
359 line-height: inherit; |
|
360 } |
|
361 |
|
362 .about__section a { |
|
363 color: #b04329; |
|
364 color: var(--accent-3); |
|
365 text-decoration: underline; |
|
366 } |
|
367 |
|
368 .about__section a:hover, |
|
369 .about__section a:active, |
|
370 .about__section a:focus { |
|
371 color: #bd7331; |
|
372 color: var(--accent-2); |
|
373 text-decoration: none; |
|
374 } |
|
375 |
|
376 .wp-credits-list a { |
|
377 text-decoration: none; |
|
378 } |
|
379 |
|
380 .wp-credits-list a:hover, |
|
381 .wp-credits-list a:active, |
|
382 .wp-credits-list a:focus { |
|
383 text-decoration: underline; |
|
384 } |
|
385 |
|
386 .about__container ul { |
|
387 list-style: disc; |
|
388 margin-right: 16px; |
|
389 } |
|
390 |
|
391 .about__container img { |
|
392 margin: 0; |
|
393 max-width: 100%; |
|
394 vertical-align: middle; |
|
395 } |
|
396 |
|
397 .about__container .about__image { |
|
398 margin: 0; |
|
399 } |
|
400 |
|
401 .about__container .about__image img { |
|
402 max-width: 100%; |
|
403 width: 100%; |
|
404 height: auto; |
|
405 } |
|
406 |
|
407 .about__container .about__image .wp-video { |
|
408 margin-right: auto; |
|
409 margin-left: auto; |
|
410 } |
|
411 |
|
412 .about__container .about__image + h3 { |
|
413 margin-top: 1.5em; |
|
414 } |
|
415 |
|
416 .about__container hr { |
|
417 margin: 0; |
|
418 height: 32px; |
|
419 border: none; |
|
420 } |
|
421 |
|
422 .about__container hr.is-small { |
|
423 height: 8px; |
|
424 } |
|
425 |
|
426 .about__container div.updated, |
|
427 .about__container div.error, |
|
428 .about__container .notice { |
|
429 display: none !important; |
|
430 } |
|
431 |
|
432 .about__section { |
|
433 font-size: 1.2em; |
|
434 } |
|
435 |
|
436 .about__section.is-feature { |
|
437 font-size: 1.6em; |
|
438 font-weight: 600; |
|
439 text-align: center; |
|
440 } |
|
441 |
|
442 @media screen and (max-width: 480px) { |
|
443 .about__section.is-feature { |
|
444 font-size: 1.4em; |
|
445 font-weight: 500; |
|
446 } |
|
447 } |
|
448 |
|
449 /* 1.3 - Header */ |
|
450 |
|
451 .about__header { |
|
452 padding-top: 8em; |
|
453 margin-bottom: 32px; |
|
454 background-color: #ebcd3d; |
|
455 background-color: var(--accent-1); |
|
456 color: #322d2b; |
|
457 color: var(--text); |
|
458 } |
|
459 |
|
460 .about__header-title { |
|
461 display: flex; |
|
462 align-items: center; |
|
463 justify-content: center; |
|
464 height: 20vh; |
|
465 max-height: 16em; |
|
466 padding: 32px; |
|
467 margin-bottom: 4em; |
|
468 text-align: center; |
|
469 } |
|
470 |
|
471 .about__header-title p { |
|
472 margin: 0; |
|
473 padding: 0; |
|
474 font-size: 4em; |
|
475 line-height: 1; |
|
476 font-weight: 500; |
|
477 } |
|
478 |
|
479 .about__header-title p span { |
|
480 display: block; |
|
481 font-size: 2em; |
|
482 } |
|
483 |
|
484 .about__header-text { |
|
485 display: inline-block; |
|
486 margin-right: -16px; |
|
487 padding: 16px 48px; |
|
488 font-size: 1.5em; |
|
489 line-height: 1.4; |
|
490 background: #b04329; |
|
491 background: var(--accent-3); |
|
492 color: #f2edd4; |
|
493 color: var(--text-light); |
|
494 } |
|
495 |
|
496 .about__header-text p { |
|
497 margin: 0; |
|
498 } |
|
499 |
|
500 .about__header-navigation { |
|
501 clear: both; |
|
502 padding-top: 0; |
|
503 background: #f2edd4; |
|
504 background: var(--nav-background); |
|
505 color: #b04329; |
|
506 color: var(--nav-color); |
|
507 border-bottom: 3px solid #ebcd3d; |
|
508 border-bottom: 3px solid var(--nav-border); |
|
509 } |
|
510 |
|
511 .about__header-navigation .nav-tab { |
|
512 margin-right: 0; |
|
513 padding: 24px 32px; |
|
514 font-size: 1.4em; |
|
515 line-height: 1; |
|
516 border-width: 0 0 3px; |
|
517 border-style: solid; |
|
518 border-color: transparent; |
|
519 background: transparent; |
|
520 color: inherit; |
|
521 } |
|
522 |
|
523 .about__header-navigation .nav-tab:hover, |
|
524 .about__header-navigation .nav-tab:active { |
|
525 background-color: #322d2b; |
|
526 background-color: var(--text); |
|
527 color: #f2edd4; |
|
528 color: var(--text-light); |
|
529 } |
|
530 |
|
531 .about__header-navigation .nav-tab-active { |
|
532 margin-bottom: -3px; |
|
533 border-width: 0 0 6px; |
|
534 border-color: #b04329; |
|
535 border-color: var(--nav-current); |
|
536 } |
|
537 |
|
538 .about__header-navigation .nav-tab-active:hover, |
|
539 .about__header-navigation .nav-tab-active:active { |
|
540 background-color: #322d2b; |
|
541 background-color: var(--text); |
|
542 color: #f2edd4; |
|
543 color: var(--text-light); |
|
544 border-color: #b04329; |
|
545 border-color: var(--nav-current); |
|
546 } |
|
547 |
|
548 @media screen and (max-width: 782px) { |
|
549 .about__container .about__header-text { |
|
550 font-size: 1.4em; |
|
551 } |
|
552 |
|
553 .about__header-title { |
|
554 min-height: 0; |
|
555 max-height: none; |
|
556 height: auto; |
|
557 } |
|
558 |
|
559 .about__header-navigation .nav-tab { |
|
560 margin-top: 0; |
|
561 margin-left: 0; |
|
562 padding: 24px 16px; |
|
563 } |
|
564 } |
|
565 |
|
566 @media screen and (max-width: 480px) { |
|
567 .about__header-title p { |
|
568 font-size: 3.2em; |
|
569 } |
|
570 |
|
571 .about__header-navigation .nav-tab { |
|
572 float: none; |
|
573 display: block; |
|
574 margin-bottom: 0; |
|
575 padding: 16px 16px; |
|
576 border-right-width: 6px; |
|
577 border-bottom: none; |
|
578 } |
|
579 |
|
580 .about__header-navigation .nav-tab-active { |
|
581 border-bottom: none; |
|
582 border-right-width: 6px; |
|
583 } |
|
584 } |
|
585 |
|
586 |
|
587 /*------------------------------------------------------------------------------ |
|
588 2.0 - Credits Page |
|
589 ------------------------------------------------------------------------------*/ |
|
590 |
|
591 .about__section .wp-people-group { |
|
592 margin: 0; |
|
593 } |
|
594 |
|
595 .about__section .wp-person { |
|
596 display: inline-block; |
|
597 vertical-align: top; |
|
598 box-sizing: border-box; |
|
599 padding: 0 0 1em 1em; |
|
600 height: 6em; |
|
601 width: calc( 33% - 4px ); |
|
602 min-width: 280px; |
|
603 } |
|
604 |
|
605 .about__section .compact .wp-person { |
|
606 height: auto; |
|
607 width: calc( 25% - 4px ); |
|
608 min-width: 220px; |
|
609 padding-bottom: 0.5em; |
|
610 } |
|
611 |
|
612 .about__section .wp-person .gravatar { |
|
613 float: right; |
|
614 margin: -4px 0 0.85em 0.85em; |
|
615 padding: 1px; |
|
616 width: 80px; |
|
617 height: 80px; |
|
618 border-radius: 100%; |
|
619 } |
|
620 |
|
621 .about__section .compact .wp-person .gravatar { |
|
622 width: 40px; |
|
623 height: 40px; |
|
624 } |
|
625 |
|
626 .about__section .wp-person .web { |
|
627 font-size: 1.4em; |
|
628 font-weight: 600; |
|
629 text-decoration: none; |
|
630 color: #322d2b; |
|
631 color: var(--text); |
|
632 } |
|
633 |
|
634 .about__section .wp-person .web:hover { |
|
635 text-decoration: underline; |
|
636 } |
|
637 |
|
638 .about__section .compact .wp-person .web { |
|
639 font-size: 1.2em; |
|
640 } |
|
641 |
|
642 .about__section .wp-person .title { |
|
643 display: block; |
|
644 margin-top: 0.5em; |
|
645 } |
|
646 |
|
647 @media screen and (max-width: 480px) { |
|
648 .about__section .wp-person { |
|
649 min-width: 100%; |
|
650 } |
|
651 |
|
652 .about__section .wp-person .gravatar { |
|
653 width: 60px; |
|
654 height: 60px; |
|
655 } |
|
656 |
|
657 .about__section .wp-person .web { |
|
658 font-size: 1em; |
|
659 } |
|
660 |
|
661 .about__section .compact .wp-person .web { |
|
662 font-size: 1em; |
|
663 } |
|
664 } |
|
665 |
|
666 |
|
667 /*------------------------------------------------------------------------------ |
|
668 3.0 - Freedoms Page |
|
669 ------------------------------------------------------------------------------*/ |
|
670 |
|
671 .about__section .column .freedoms-image { |
|
672 margin-bottom: 1em; |
|
673 } |
|
674 |
|
675 |
|
676 /*------------------------------------------------------------------------------ |
|
677 x.2.0 - Legacy About Styles: Global |
16 ------------------------------------------------------------------------------*/ |
678 ------------------------------------------------------------------------------*/ |
17 |
679 |
18 .about-wrap { |
680 .about-wrap { |
19 position: relative; |
681 position: relative; |
20 margin: 25px 20px 0 40px; |
682 margin: 25px 20px 0 40px; |