diff --git src/wp-admin/about.php src/wp-admin/about.php
index df5df6b713..7a36fe19e9 100644
|
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
26 | 26 | </h1> |
27 | 27 | </div> |
28 | 28 | |
29 | | <div class="about__header-badge"> |
30 | | <img src="https://wordpress.org/images/core/5.4/code-is-poetry-rc.svg" alt="<?php _e( 'Code is Poetry' ); ?>" /> |
31 | | </div> |
| 29 | <div class="about__header-badge"></div> |
32 | 30 | |
33 | 31 | <div class="about__header-text"> |
34 | 32 | <p> |
diff --git src/wp-admin/credits.php src/wp-admin/credits.php
index 5d8b1a7eba..529aac7fbb 100644
|
|
$credits = wp_credits(); |
28 | 28 | </h1> |
29 | 29 | </div> |
30 | 30 | |
31 | | <div class="about__header-badge"> |
32 | | <img src="https://wordpress.org/images/core/5.4/code-is-poetry-rc.svg" alt="<?php _e( 'Code is Poetry' ); ?>" /> |
33 | | </div> |
| 31 | <div class="about__header-badge"></div> |
34 | 32 | |
35 | 33 | <div class="about__header-text"> |
36 | 34 | <p> |
diff --git src/wp-admin/css/about.css src/wp-admin/css/about.css
index 54336002fd..3b11fb8fc6 100644
|
|
|
18 | 18 | x.5.0 Legacy About Styles: Media Queries |
19 | 19 | ------------------------------------------------------------------------------*/ |
20 | 20 | |
21 | | :root { |
22 | | /* Beiges, used as text backgrounds. */ |
23 | | --base-1: #FEFCF7; |
24 | | --base-2: #F4EFE1; |
25 | | --base-3: #D7D2C5; |
26 | | --base-4: #7B776C; |
27 | | --text: #413E38; |
28 | | /* Reds, used as accents, backgrounds, etc */ |
29 | | --accent-1: #BD3854; |
30 | | --accent-2: #5F1B29; |
| 21 | .about__container { |
| 22 | /* Section backgrounds */ |
| 23 | --background: #f4efe1; |
| 24 | --subtle-background: #d7d2c5; |
| 25 | /* Main text color */ |
| 26 | --text: #413e38; |
| 27 | /* Navigation colors. */ |
| 28 | --nav-background: #fefcf7; |
| 29 | --nav-color: #716d64; |
| 30 | /* Reds, used as accents & in header. */ |
| 31 | --accent-1: #bd3854; |
| 32 | --accent-2: #5f1b29; |
31 | 33 | --accent-3: #321017; |
32 | 34 | } |
33 | 35 | |
… |
… |
|
35 | 37 | 1.0 - Global: About, Credits, Freedoms, Privacy |
36 | 38 | ------------------------------------------------------------------------------*/ |
37 | 39 | |
| 40 | .about-php, |
| 41 | .credits-php, |
| 42 | .freedoms-php, |
| 43 | .privacy-php { |
| 44 | background: #fff; |
| 45 | } |
| 46 | |
38 | 47 | .about-php #wpcontent, |
39 | 48 | .credits-php #wpcontent, |
40 | 49 | .freedoms-php #wpcontent, |
… |
… |
|
55 | 64 | .about__container { |
56 | 65 | max-width: 1000px; |
57 | 66 | margin: 24px auto; |
| 67 | clear: both; |
58 | 68 | } |
59 | 69 | |
60 | 70 | .about__container .alignleft { |
… |
… |
|
86 | 96 | |
87 | 97 | .about__section { |
88 | 98 | background: #F4EFE1; |
89 | | background: var(--base-2); |
| 99 | background: var(--background); |
90 | 100 | } |
91 | 101 | |
92 | 102 | .about__container .has-accent-background-color { |
… |
… |
|
96 | 106 | |
97 | 107 | .about__container .has-subtle-background-color { |
98 | 108 | background-color: #D7D2C5; |
99 | | background-color: var(--base-3); |
| 109 | background-color: var(--subtle-background); |
100 | 110 | } |
101 | 111 | |
102 | 112 | /* 1.1 - Layout */ |
… |
… |
|
295 | 305 | line-height: inherit; |
296 | 306 | } |
297 | 307 | |
| 308 | .about__section a, |
| 309 | .about__section a:hover, |
| 310 | .about__section a:active, |
| 311 | .about__section a:focus { |
| 312 | color: inherit; |
| 313 | } |
| 314 | |
298 | 315 | .about__container ul { |
299 | 316 | list-style: disc; |
300 | 317 | margin-left: 16px; |
… |
… |
|
325 | 342 | border: none; |
326 | 343 | } |
327 | 344 | |
| 345 | .about__container div.updated, |
| 346 | .about__container div.error, |
| 347 | .about__container .notice { |
| 348 | display: none !important; |
| 349 | } |
| 350 | |
328 | 351 | .about__section { |
329 | 352 | font-size: 1.2em; |
330 | 353 | } |
331 | 354 | |
332 | 355 | .about__section.is-feature { |
333 | 356 | font-size: 1.6em; |
334 | | font-weight: bold; |
| 357 | font-weight: 600; |
335 | 358 | } |
336 | 359 | |
337 | 360 | @media screen and (max-width: 782px) { |
… |
… |
|
394 | 417 | |
395 | 418 | .about__header-title h1 span { |
396 | 419 | display: block; |
397 | | font-weight: bold; |
| 420 | font-weight: 600; |
398 | 421 | font-size: 1.2em; |
399 | 422 | line-height: 1; |
400 | 423 | } |
… |
… |
|
425 | 448 | background-color: #321017; |
426 | 449 | background-color: var(--accent-3); |
427 | 450 | color: white; |
428 | | font-size: 1.6em; |
| 451 | font-size: 1.5em; |
429 | 452 | line-height: 1.4; |
430 | 453 | } |
431 | 454 | |
… |
… |
|
441 | 464 | grid-row: 3; |
442 | 465 | padding-top: 0; |
443 | 466 | background: #FEFCF7; |
444 | | background: var(--base-1); |
445 | | color: #7B776C; |
446 | | color: var(--base-4); |
| 467 | background: var(--nav-background); |
| 468 | color: #716d64; |
| 469 | color: var(--nav-color); |
447 | 470 | border-bottom: 3px solid currentColor; |
448 | 471 | } |
449 | 472 | |
450 | 473 | .about__header-navigation .nav-tab { |
451 | 474 | margin-left: 0; |
452 | | margin-bottom: -3px; |
453 | 475 | padding: 24px 32px; |
454 | 476 | font-size: 1.4em; |
455 | 477 | line-height: 1; |
… |
… |
|
460 | 482 | color: inherit; |
461 | 483 | } |
462 | 484 | |
| 485 | .about__header-navigation .nav-tab:hover, |
| 486 | .about__header-navigation .nav-tab:active { |
| 487 | background-color: #F4EFE1; |
| 488 | background-color: var(--background); |
| 489 | } |
| 490 | |
463 | 491 | .about__header-navigation .nav-tab-active { |
| 492 | margin-bottom: -3px; |
| 493 | border-width: 0 0 6px; |
464 | 494 | color: #BD3854; |
465 | 495 | color: var(--accent-1); |
466 | 496 | border-color: currentColor; |
467 | 497 | } |
468 | 498 | |
| 499 | .about__header-navigation .nav-tab-active:hover, |
| 500 | .about__header-navigation .nav-tab-active:active { |
| 501 | background-color: transparent; |
| 502 | border-color: currentColor; |
| 503 | } |
| 504 | |
469 | 505 | @media screen and (max-width: 782px) { |
470 | 506 | .about__container .about__header-text { |
471 | 507 | font-size: 1.4em; |
… |
… |
|
505 | 541 | border-bottom: none; |
506 | 542 | border-left-width: 3px; |
507 | 543 | background: #F4EFE1; |
508 | | background: var(--base-2); |
| 544 | background: var(--background); |
509 | 545 | } |
510 | 546 | } |
511 | 547 | |
… |
… |
|
556 | 592 | |
557 | 593 | .about__section .wp-person .web { |
558 | 594 | font-size: 1.4em; |
559 | | font-weight: 700; |
| 595 | font-weight: 600; |
560 | 596 | text-decoration: none; |
561 | 597 | color: #413E38; |
562 | 598 | color: var(--text); |
… |
… |
|
575 | 611 | margin-top: 0.5em; |
576 | 612 | } |
577 | 613 | |
| 614 | @media screen and (max-width: 480px) { |
| 615 | .about__section .wp-person { |
| 616 | min-width: 100%; |
| 617 | } |
| 618 | |
| 619 | .about__section .wp-person .gravatar { |
| 620 | width: 60px; |
| 621 | height: 60px; |
| 622 | } |
| 623 | |
| 624 | .about__section .wp-person .web { |
| 625 | font-size: 1em; |
| 626 | } |
| 627 | |
| 628 | .about__section .compact .wp-person .web { |
| 629 | font-size: 1em; |
| 630 | } |
| 631 | } |
| 632 | |
578 | 633 | |
579 | 634 | /*------------------------------------------------------------------------------ |
580 | 635 | 3.0 - Freedoms Page |
… |
… |
|
684 | 739 | } |
685 | 740 | |
686 | 741 | .about-wrap h2 { |
687 | | margin: 40px 0 .6em; |
| 742 | margin: 40px 0 0.6em; |
688 | 743 | font-size: 2.7em; |
689 | 744 | line-height: 1.3; |
690 | 745 | font-weight: 300; |
… |
… |
|
692 | 747 | } |
693 | 748 | |
694 | 749 | .about-wrap h3 { |
695 | | margin: 1.25em 0 .6em; |
| 750 | margin: 1.25em 0 0.6em; |
696 | 751 | font-size: 1.4em; |
697 | 752 | line-height: 1.5; |
698 | 753 | } |
diff --git src/wp-admin/freedoms.php src/wp-admin/freedoms.php
index 3305a07301..dcb2eeb794 100644
|
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
31 | 31 | </h1> |
32 | 32 | </div> |
33 | 33 | |
34 | | <div class="about__header-badge"> |
35 | | <img src="https://wordpress.org/images/core/5.4/code-is-poetry-rc.svg" alt="<?php _e( 'Code is Poetry' ); ?>" /> |
36 | | </div> |
| 34 | <div class="about__header-badge"></div> |
37 | 35 | |
38 | 36 | <div class="about__header-text"> |
39 | 37 | <p> |
diff --git src/wp-admin/privacy.php src/wp-admin/privacy.php
index 1f2d6c2f57..25dc75e00b 100644
|
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
25 | 25 | </h1> |
26 | 26 | </div> |
27 | 27 | |
28 | | <div class="about__header-badge"> |
29 | | <img src="https://wordpress.org/images/core/5.4/code-is-poetry-rc.svg" alt="<?php _e( 'Code is Poetry' ); ?>" /> |
30 | | </div> |
| 28 | <div class="about__header-badge"></div> |
31 | 29 | |
32 | 30 | <div class="about__header-text"> |
33 | 31 | <p> |