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