Making WordPress.org


Ignore:
Timestamp:
04/12/2024 03:44:43 AM (13 months ago)
Author:
adamwood
Message:

wporg-support-2024: Fix heading hierarchy

Adds h1 headings to many pages and adjusts styles

Fixes #4117

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sass/site/_bbpress.scss

    r13503 r13506  
    1010    line-height: inherit;
    1111    overflow: inherit;
     12
     13    h1 {
     14        font-size: var(--wp--preset--font-size--heading-1);
     15        line-height: var(--wp--custom--heading--level-1--typography--line-height);
     16        padding-bottom: unset;
     17    }
    1218}
    1319
     
    517523        }
    518524
     525        h1 + .bbp-pagination {
     526            display: none !important;
     527        }
     528
    519529        .bbp-topic-pagination a {
    520530            border: 1px solid #ddd;
     
    793803}
    794804
    795 .single-forum .bbp-topic-form,
     805body.single-forum #bbpress-forums .bbp-topic-form,
    796806.bbp-view .bbp-topic-form {
    797     margin-top: 1rem;
    798     padding-top: 1rem;
    799     border-top: 1px solid var(--wp--custom--color--border);
     807    margin-top: var(--wp--preset--spacing--30);
    800808    clear: both;
     809    border-top: none;
    801810
    802811    ul {
     
    11641173        }
    11651174    }
    1166 
    1167     div.bbp-breadcrumb {
    1168         float: none;
    1169     }
    11701175}
    11711176
    11721177div.bbp-breadcrumb {
    1173     font-size: ms(-2);
     1178    font-size: var(--wp--preset--font-size--small);
    11741179    margin-bottom: 15px;
    11751180    color: var(--wp--preset--color--charcoal-3);
    1176     line-height: 27px;
     1181    float: none;
    11771182
    11781183    p {
Note: See TracChangeset for help on using the changeset viewer.