Making WordPress.org

Changeset 14076


Ignore:
Timestamp:
09/25/2024 03:45:47 AM (2 years ago)
Author:
adamwood
Message:

Make 2024: Style updates

Mostly spacing changes to sidebar, local nav icons, headings.
Includes a fix for positioning of the page actions button.
Closes ​https://github.com/WordPress/wordpress.org/issues/363

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/style.css

    r14054 r14076  
    208208
    209209/* For sites with no welcome box */
    210 .wp-block-wporg-local-navigation-bar + .site {
     210.wp-block-wporg-local-navigation-bar + .site,
     211.custom-menu .wp-block-wporg-local-navigation-bar + .site {
    211212        margin-top: var(--wp--preset--spacing--50);
    212213}
    … …  
    293294        -webkit-font-smoothing: antialiased;
    294295        display: inline-block;
    295         font: normal 24px/1 'dashicons';
     296        font: normal 24px/var(--wp--custom--body--small--typography--line-height) 'dashicons';
    296297        vertical-align: middle;
    297298        width: 32px;
    … …  
    563564/* Sidebar */
    564565
     566#secondary-content {
     567        line-height: var(--wp--custom--body--short-text--typography--line-height);
     568}
     569
    565570#secondary-content a {
    566571        overflow-wrap: anywhere;
     572}
     573
     574#secondary-content ul {
     575        margin-top: var(--wp--style--block-gap);
     576}
     577
     578#secondary-content .wp-block-latest-comments {
     579        padding-left: unset;
    567580}
    568581
    … …  
    641654article.page .entry-content h5 {
    642655        margin: var(--wp--preset--spacing--40) 0 var(--wp--style--block-gap);
     656}
     657
     658article.post .entry-content h2 + h3,
     659article.post .entry-content h3 + h4,
     660article.post .entry-content h4 + h5,
     661article.page .entry-content h2 + h3,
     662article.page .entry-content h3 + h4,
     663article.page .entry-content h4 + h5 {
     664        margin-top: var(--wp--style--block-gap);
    643665}
    644666
    … …  
    935957.entry-date {
    936958        display: block;
     959}
     960
     961article.page .o2-post {
     962        border-top: none;
     963}
     964
     965article.page .entry-header .entry-meta .o2-post-actions {
     966        position: absolute;
     967        right: 0;
     968        top: -70px;
    937969}
    938970
    … …  
    12881320.make-welcome .entry-content h2 {
    12891321        font-size: var(--wp--preset--font-size--normal);
     1322        line-height: var(--wp--custom--body--short-text--typography--line-height);
    12901323        font-weight: 600;
    12911324}
    … …  
    13711404
    13721405        .make-welcome .entry-content .welcome p:first-child {
    1373                 font-size: 22px;
    1374                 margin: 12px 0 23px;
     1406                font-size: var(--wp--preset--font-size--heading-4);
     1407                line-height: var(--wp--custom--body--short-text--typography--line-height);
    13751408        }
    13761409}
    … …  
    20312064/** Make Core local nav items with icons only **/
    20322065.wp-block-wporg-local-navigation-bar .wp-block-navigation-item a:before {
    2033         font: 20px/1 'dashicons';
     2066        font: 20px/var(--wp--custom--body--small--typography--line-height) 'dashicons';
    20342067        display: inline-block;
    20352068        -webkit-font-smoothing: antialiased;
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/theme.json

    r14054 r14076  
    170170                                        }
    171171                                }
     172                        },
     173                        "wporg/notice": {
     174                                "spacing": {
     175                                        "margin": {
     176                                                "bottom": "var(--wp--style--block-gap)"
     177                                        }
     178                                }
    172179                        }
    173180                }
Note: See TracChangeset for help on using the changeset viewer.