Make WordPress Core

Changeset 53382


Ignore:
Timestamp:
05/10/2022 04:31:30 PM (22 months ago)
Author:
ryelle
Message:

Help/About: Update the About section for 6.0.

Switch the images to use the s.w.org CDN. Update the font style and spacing on the About page. Update the header images for Credits, Freedoms, and Privacy.

Props fcoveram, peterwilsoncc, SergeyBiryukov.
Fixes #55434.

Location:
trunk/src/wp-admin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r53354 r53382  
    3838        </div>
    3939
    40         <hr />
    41 
    4240        <div class="about__section">
    4341            <div class="column">
     
    5755        </div>
    5856
    59         <hr />
    60 
    6157        <div class="about__section has-2-columns">
    62             <div class="column about__image is-vertically-aligned-center">
    63                 <img src="https://make.wordpress.org/core/files/2022/05/about-60-writing-improvements.png" alt="" />
     58            <div class="column about__image is-vertically-aligned-top">
     59                <img src="https://s.w.org/images/core/6.0/about-60-writing-improvements.png" alt="" />
    6460            </div>
    6561            <div class="column">
     
    8985                </p>
    9086            </div>
    91             <div class="column about__image is-vertically-aligned-center">
    92                 <img src="https://make.wordpress.org/core/files/2022/05/about-60-style-switcher.gif" alt="" />
     87            <div class="column about__image is-vertically-aligned-top">
     88                <img src="https://s.w.org/images/core/6.0/about-60-style-switching.gif" alt="" />
    9389            </div>
    9490        </div>
    9591
    9692        <div class="about__section has-1-column">
    97             <div class="column about__image is-vertically-aligned-center">
    98                 <img src="https://make.wordpress.org/core/files/2022/05/about-60-templates.png" alt="" />
    99             </div>
    100             <div class="column">
     93            <div class="column about__image is-vertically-aligned-top">
     94                <img src="https://s.w.org/images/core/6.0/about-60-templates.png" alt="" />
     95            </div>
     96            <div class="column" style="padding-bottom:0">
    10197                <h3>
    10298                    <?php _e( 'More Template Choices' ); ?>
     
    111107            <div class="column">
    112108                <div class="about__image">
    113                     <img src="https://make.wordpress.org/core/files/2022/05/about-60-sub-feature-1.png" alt="" />
     109                    <img src="https://s.w.org/images/core/6.0/about-60-sub-feature-1.png" alt="" />
    114110                </div>
    115111                <p><?php _e( 'Featured images can be used in the cover block.' ); ?></p>
     
    118114            <div class="column">
    119115                <div class="about__image">
    120                     <img src="https://make.wordpress.org/core/files/2022/05/about-60-sub-feature-2.png" alt="" />
     116                    <img src="https://s.w.org/images/core/6.0/about-60-sub-feature-2.png" alt="" />
    121117                </div>
    122118                <p><?php _e( 'While editing a template, at the root, or between blocks, the quick inserter shows you patterns and template parts to help you work faster and discover new layout options.' ); ?></p>
     
    124120            <div class="column">
    125121                <div class="about__image">
    126                     <img src="https://make.wordpress.org/core/files/2022/05/about-60-sub-feature-3.png" alt="" />
     122                    <img src="https://s.w.org/images/core/6.0/about-60-sub-feature-3.png" alt="" />
    127123                </div>
    128124                <p><?php _e( 'The query block supports filtering on multiple authors, support for custom taxonomies, and support for customizing what is shown when there are no results.' ); ?></p>
     
    131127
    132128        <div class="about__section has-2-columns is-wider-left">
    133             <div class="column about__image is-vertically-aligned-center">
    134                 <img src="https://make.wordpress.org/core/files/2022/05/about-60-integrated-patterns.png" alt="" />
     129            <div class="column about__image is-vertically-aligned-top">
     130                <img src="https://s.w.org/images/core/6.0/about-60-integrated-patterns.png" alt="" />
    135131            </div>
    136132            <div class="column">
     
    159155                </p>
    160156            </div>
    161             <div class="column about__image is-vertically-aligned-center">
    162                 <img src="https://make.wordpress.org/core/files/2022/05/about-60-list-view.png" alt="" />
     157            <div class="column about__image is-vertically-aligned-top">
     158                <img src="https://s.w.org/images/core/6.0/about-60-list-view.png" alt="" />
    163159            </div>
    164160        </div>
    165161
    166162        <div class="about__section has-2-columns is-wider-left">
    167             <div class="column about__image is-vertically-aligned-center">
    168                 <img src="https://make.wordpress.org/core/files/2022/05/about-60-block-locking-controls.png" alt="" />
     163            <div class="column about__image is-vertically-aligned-top">
     164                <img src="https://s.w.org/images/core/6.0/about-60-block-locking-controls.png" alt="" />
    169165            </div>
    170166            <div class="column">
     
    177173            </div>
    178174        </div>
     175
     176        <hr class="is-large" />
    179177
    180178        <div class="about__section" style="margin-bottom:0;">
     
    257255
    258256        <div class="about__section has-2-columns is-wider-right">
    259             <div class="column about__image is-vertically-aligned-center">
     257            <div class="column about__image is-vertically-aligned-top">
    260258                <a href="#">
    261                     <img src="https://make.wordpress.org/core/files/2022/05/about-60-video.png" alt="<?php echo esc_attr( __( 'Exploring WordPress 6.0 video' ) ); ?>" />
     259                    <img src="https://s.w.org/images/core/6.0/about-60-video.png" alt="<?php echo esc_attr( __( 'Exploring WordPress 6.0 video' ) ); ?>" />
    262260                </a>
    263261            </div>
     
    285283
    286284        <div class="about__section has-3-columns">
    287             <div class="column">
     285            <div class="column" style="padding-top:0">
    288286                <p>
    289287                    <?php
     
    297295                </p>
    298296            </div>
    299             <div class="column">
     297            <div class="column" style="padding-top:0">
    300298                <p>
    301299                    <?php
     
    308306                </p>
    309307            </div>
    310             <div class="column">
     308            <div class="column" style="padding-top:0">
    311309                <p>
    312310                    <?php
  • trunk/src/wp-admin/css/about.css

    r53339 r53382  
    462462    margin-top: 0;
    463463    margin-bottom: 0.5em;
    464     font-size: 2em;
    465     line-height: 1.2;
     464    font-size: 2rem;
    466465    font-weight: 700;
     466    line-height: 1.16;
    467467}
    468468
     
    471471.about__container h2.is-smaller-heading {
    472472    margin-top: 0;
    473     font-size: 1.6em;
    474     line-height: 1.3;
    475     font-weight: 400;
     473    font-size: 1.625rem;
     474    font-weight: 700;
     475    line-height: 1.4;
    476476}
    477477
     
    483483.about__container p.is-subheading {
    484484    margin-top: 0;
    485     font-size: 1.5em;
     485    font-size: 1.5rem;
     486    font-weight: 300;
     487    line-height: 160%;
    486488}
    487489
     
    513515}
    514516
     517.about__container li {
     518    margin-bottom: 0.75rem;
     519}
     520
    515521.about__container img {
    516522    margin: 0;
     
    569575
    570576.about__section {
    571     font-size: 1.2em;
     577    font-size: 1.125rem;
     578    line-height: 1.55;
    572579}
    573580
     
    606613
    607614.credits-php .about__header {
    608     --about-header-image-width: 390px;
    609     --about-header-image-height: 325px;
    610     --about-header-bg-offset-inline: var(--gap);
     615    --about-header-image-width: 477px;
     616    --about-header-image-height: 470px;
     617    --about-header-bg-offset-inline: calc(var(--gap) * -4);
    611618
    612619    background-image: url('../images/about-header-credits.svg');
     
    615622
    616623.freedoms-php .about__header {
    617     --about-header-image-width: 380px;
    618     --about-header-image-height: 278px;
     624    --about-header-image-width: 411px;
     625    --about-header-image-height: 498px;
    619626    --about-header-bg-offset-inline: var(--gap);
    620627
    621628    background-image: url('../images/about-header-freedoms.svg');
    622     background-position: right var(--about-header-bg-offset-inline) bottom;
     629    background-position: right var(--about-header-bg-offset-inline) top calc(var(--gap) * 4);
    623630}
    624631
    625632.privacy-php .about__header {
    626     --about-header-image-width: 503px;
    627     --about-header-image-height: 553px;
    628     --about-header-bg-offset-inline: calc(var(--gap) * -2);
     633    --about-header-image-width: 277px;
     634    --about-header-image-height: 361px;
     635    --about-header-bg-offset-inline: var(--gap);
    629636
    630637    background-image: url('../images/about-header-privacy.svg');
     638    background-position: right var(--about-header-bg-offset-inline) top var(--gap);
    631639}
    632640
  • trunk/src/wp-admin/images/about-header-credits.svg

    r53339 r53382  
    1 <svg width="390" height="325" viewBox="0 0 390 325" fill="none" xmlns="http://www.w3.org/2000/svg">
    2     <path d="M277 195.113c0-15.824 5.204-29.175 15.612-40.053 10.903-11.374 24.285-17.06 40.145-17.06 16.355 0 29.984 5.686 40.888 17.06C384.548 165.938 390 179.289 390 195.113c0 15.329-5.452 28.432-16.355 39.311C362.741 244.808 349.112 250 332.757 250c-15.86 0-29.242-5.192-40.145-15.576C282.204 223.545 277 210.442 277 195.113Z" fill="#2F2F2F" style="mix-blend-mode:multiply"/>
    3     <path d="M0 85.159c0-23.594 7.737-43.501 23.21-59.722C39.422 8.479 59.317 0 82.896 0c24.316 0 44.579 8.479 60.789 25.437C159.895 41.657 168 61.565 168 85.159c0 22.856-8.105 42.395-24.316 58.616C127.474 159.258 107.211 167 82.894 167c-23.578 0-43.473-7.742-59.683-23.225C7.737 127.554 0 108.015 0 85.159Z" fill="#3858E9" style="mix-blend-mode:multiply"/>
    4     <path d="M57 196.113c0-37.157 12.204-68.508 36.612-94.054C119.182 75.353 150.564 62 187.757 62c38.355 0 70.318 13.353 95.888 40.059C309.215 127.605 322 158.956 322 196.113c0 35.995-12.785 66.766-38.355 92.311C258.075 312.808 226.112 325 187.757 325c-37.193 0-68.575-12.192-94.145-36.576C69.204 262.879 57 232.108 57 196.113Z" fill="#1B8362" style="mix-blend-mode:multiply"/>
     1<svg width="477" height="470" viewBox="0 0 477 470" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
     2    <path d="M323.709 61.043c8.293-9.882 18.511-15.518 30.656-16.906 12.71-1.44 23.973 1.96 33.791 10.198 10.125 8.495 15.582 19.127 16.371 31.893 1.049 12.459-2.573 23.629-10.866 33.512-8.033 9.574-18.276 14.926-30.727 16.057-12.191.822-23.35-3.015-33.474-11.51-9.818-8.239-15.381-18.432-16.688-30.582-.742-12.2 2.904-23.088 10.937-32.662Z" fill="#3858E9" style="mix-blend-mode:multiply"/>
     3    <path d="M414.825 156.402c12.705-2.241 24.155.011 34.351 6.753 10.662 7.067 17.105 16.912 19.331 29.533 2.295 13.016-.359 24.668-7.96 34.955-7.205 10.218-17.16 16.447-29.865 18.687-12.308 2.17-23.595-.313-33.859-7.45-9.868-7.208-15.949-17.319-18.245-30.335-2.225-12.622.066-24.006 6.874-34.153 7.274-9.824 17.065-15.82 29.373-17.99ZM423.332 288.021c11.173 6.45 18.497 15.535 21.973 27.254 3.625 12.267 2.233 23.95-4.175 35.049-6.609 11.446-16.131 18.666-28.567 21.66-12.086 3.196-23.716 1.569-34.889-4.882-10.823-6.249-17.873-15.406-21.149-27.471-2.926-11.864-1.085-23.519 5.523-34.965 6.408-11.099 15.481-18.348 27.219-21.745 11.886-2.849 23.241-1.149 34.065 5.1Z" fill="#2F2F2F" style="mix-blend-mode:multiply"/>
     4    <path d="M345.247 394.313c4.412 12.123 4.183 23.79-.686 35.002-5.109 11.727-13.685 19.782-25.728 24.165-12.42 4.521-24.355 3.931-35.806-1.769-11.313-5.321-19.176-14.043-23.589-26.166-4.274-11.744-3.789-23.291 1.458-34.639 5.384-10.969 14.286-18.714 26.705-23.234 12.044-4.384 23.653-4.104 34.828.838 10.937 5.458 18.543 14.059 22.818 25.803Z" fill="#1B8362" style="mix-blend-mode:multiply"/>
     5    <path d="M217.103 425.546c-4.413 12.123-12.087 20.914-23.024 26.372-11.451 5.7-23.199 6.358-35.242 1.975-12.42-4.521-21.184-12.644-26.292-24.372-5.246-11.348-5.663-23.083-1.251-35.206 4.275-11.745 12.069-20.277 23.382-25.598 11.176-4.942 22.973-5.153 35.393-.633 12.043 4.383 20.757 12.06 26.141 23.029 4.87 11.211 5.167 22.689.893 34.433Z" fill="#3858E9" style="mix-blend-mode:multiply"/>
     6    <path d="M98.866 367.102c-11.172 6.451-22.702 8.251-34.588 5.402-12.436-2.994-21.858-10.041-28.267-21.14-6.608-11.446-8.1-23.302-4.475-35.569 3.276-12.066 10.5-21.324 21.673-27.774 10.823-6.249 22.278-7.776 34.365-4.58 11.738 3.397 20.911 10.819 27.519 22.265 6.408 11.099 8.149 22.581 5.223 34.445-3.476 11.718-10.626 20.702-21.45 26.951Z" fill="#2F2F2F" style="mix-blend-mode:multiply"/>
     7    <path d="M45.857 246.331c-12.705-2.24-22.694-8.272-29.969-18.095-7.601-10.287-10.29-21.742-8.064-34.363 2.295-13.016 8.774-23.058 19.435-30.125 10.265-7.137 21.75-9.585 34.455-7.345 12.308 2.17 22.065 8.364 29.27 18.581 6.807 10.148 9.063 21.729 6.768 34.745-2.225 12.622-8.272 22.536-18.14 29.743-10.195 6.743-21.446 9.029-33.755 6.859Z" fill="#3858E9" style="mix-blend-mode:multiply"/>
     8    <path d="M82.88 119.74c-8.293-9.883-12.069-20.925-11.327-33.126.79-12.767 6.093-23.27 15.91-31.507 10.126-8.496 21.543-12.024 34.253-10.584 12.451 1.13 22.823 6.637 31.115 16.52 8.034 9.574 11.526 20.59 10.478 33.048-1.308 12.15-7.024 22.472-17.149 30.968-9.817 8.238-20.822 11.946-33.014 11.124-12.144-1.388-22.233-6.869-30.266-16.443ZM192.612 46.565c0-12.901 4.206-23.787 12.616-32.656C214.039 4.636 224.853 0 237.669 0c13.217 0 24.231 4.636 33.042 13.909 8.811 8.87 13.217 19.755 13.217 32.656 0 12.498-4.406 23.181-13.217 32.051-8.811 8.466-19.825 12.7-33.042 12.7-12.816 0-23.63-4.234-32.441-12.7-8.41-8.87-12.616-19.553-12.616-32.051Z" fill="#1B8362" style="mix-blend-mode:multiply"/>
    59</svg>
  • trunk/src/wp-admin/images/about-header-freedoms.svg

    r53339 r53382  
    1 <svg width="380" height="278" viewBox="0 0 380 278" fill="none" xmlns="http://www.w3.org/2000/svg">
    2     <path d="M317.283 636.325 297.983.802l65.268 4.802 16.19 627.838-62.158 2.883Z" fill="#2F2F2F"/>
    3     <path d="M237.772 636.803 211.16 9.443l66.772-4.323 26.612 633.123-66.772-1.44Z" fill="#1B8362"/>
    4     <path d="M122.645 631.162V3.998l59.68 3.836-4.59 627.164-55.09-3.836Z" fill="#2F2F2F"/>
    5     <path d="M.703 637.383 27.111 5.7l64.254-3.084-28.05 633.538-62.612 1.229Z" fill="#3858E9"/>
     1<svg width="411" height="498" viewBox="0 0 411 498" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
     2    <path d="M347.119 493.19L327.819 2.16856L393.087 5.87838L409.277 490.963L347.119 493.19Z" fill="#2F2F2F"/>
     3    <path d="M247.608 493.559L220.996 8.84435L287.768 5.50391L314.38 494.672L247.608 493.559Z" fill="#1B8362"/>
     4    <path d="M113.48 489.201L113.48 4.63739L173.161 7.60108L168.571 492.165L113.48 489.201Z" fill="#2F2F2F"/>
     5    <path d="M0.539062 494.008L26.947 5.95283L91.2011 3.5701L63.1516 493.058L0.539062 494.008Z" fill="#3858E9"/>
    66</svg>
  • trunk/src/wp-admin/images/about-header-privacy.svg

    r53339 r53382  
    1 <svg width="503" height="553" viewBox="0 0 503 553" fill="none" xmlns="http://www.w3.org/2000/svg">
    2     <path d="M411.561 552.354 107 92.978l51.604-30.168 300.735 461.913-47.778 27.631Z" fill="#3858E9" style="mix-blend-mode:multiply"/>
    3     <path d="M40.197 400.356 257.575 0l51.119 30.927L87.281 429.092l-47.084-28.736Z" fill="#2F2F2F" style="mix-blend-mode:multiply"/>
    4     <path d="m5.588 287.13 496.646 21.253-5.589 59.496L.195 342.04l5.393-54.91Z" fill="#1B8362" style="mix-blend-mode:multiply"/>
     1<svg width="396" height="515" viewBox="0 0 396 515" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
     2    <path d="M105.927 265.31V117.777C105.927 70.144 146.465 33 198.02 33c51.555 0 92.094 37.144 92.094 84.777V265.31" stroke="#3858E9" stroke-width="64.323"/>
     3    <path fill-rule="evenodd" clip-rule="evenodd" d="M17.904 193.434c-9.427 0-17.068 7.642-17.068 17.068v303.643h395V210.502c0-9.426-7.642-17.068-17.068-17.068H17.904Zm217.11 141.097c0 16.284-10.545 30.106-25.18 35.007l23.361 33.29c2.107 3.002-.041 7.132-3.708 7.132h-63.205c-3.667 0-5.814-4.13-3.708-7.132l23.446-33.41c-14.451-5.005-24.827-18.734-24.827-34.887 0-20.385 16.526-36.911 36.911-36.911s36.91 16.526 36.91 36.911Z" fill="#1B8362" style="mix-blend-mode:multiply"/>
    54</svg>
Note: See TracChangeset for help on using the changeset viewer.