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