Make WordPress Core

Changeset 54109


Ignore:
Timestamp:
09/08/2022 11:55:36 PM (4 years ago)
Author:
audrasjb
Message:

Twenty Fifteen: Increase the font size used for h5 headings.

This changeset ensures h5 and h5 heading levels don't use the same font size.

Follow-up to [29892].

Props poena, akabarikalpesh, hellofromTonya, afrid1719, aezazshekh, sabernhardt, anitanenova, viralsampat, alansyue, pratiweb, russel07.
Fixes #52028.

Location:
trunk/src/wp-content/themes/twentyfifteen
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/css/editor-blocks.css

    r50358 r54109  
    122122                font-size: 20px;
    123123                line-height: 1.4;
    124                 padding: .7em 0 0.35em;
    125         }
    126 
    127         .edit-post-visual-editor .editor-block-list__block h5,
     124                padding: 0.7em 0 0.35em;
     125        }
     126
     127        .edit-post-visual-editor .editor-block-list__block h5 {
     128                font-size: 18px;
     129                line-height: 1.3333;
     130                padding: 1.3em 0 0.65em;
     131        }
     132
    128133        .edit-post-visual-editor .editor-block-list__block h6 {
    129134                font-size: 17px;
     
    170175        }
    171176
    172         .edit-post-visual-editor .editor-block-list__block h5,
     177        .edit-post-visual-editor .editor-block-list__block h5 {
     178                font-size: 20px;
     179                line-height: 1.4;
     180                padding: 0.7em 0 0.35em;
     181        }
     182
    173183        .edit-post-visual-editor .editor-block-list__block h6 {
    174184                font-size: 19px;
     
    215225        }
    216226
    217         .edit-post-visual-editor .editor-block-list__block h5,
     227        .edit-post-visual-editor .editor-block-list__block h5 {
     228                font-size: 16px;
     229                line-height: 1.25;
     230                padding: 0.875em 0 0.4375em;
     231        }
     232
    218233        .edit-post-visual-editor .editor-block-list__block h6 {
    219234                font-size: 15px;
     
    260275        }
    261276
    262         .edit-post-visual-editor .editor-block-list__block h5,
     277        .edit-post-visual-editor .editor-block-list__block h5 {
     278                font-size: 18px;
     279                line-height: 1.3333;
     280                padding: 0.65em 0 0.3em;
     281        }
     282
    263283        .edit-post-visual-editor .editor-block-list__block h6 {
    264284                font-size: 17px;
     
    293313        }
    294314
    295         .edit-post-visual-editor .editor-block-list__block h5,
     315        .edit-post-visual-editor .editor-block-list__block h5 {
     316                font-size: 20px;
     317                line-height: 1.4;
     318                padding: 0.7em 0 0.35em;
     319        }
     320
    296321        .edit-post-visual-editor .editor-block-list__block h6 {
    297322                font-size: 19px;
  • trunk/src/wp-content/themes/twentyfifteen/css/editor-style.css

    r50465 r54109  
    7070}
    7171
    72 h5,
     72h5 {
     73        font-size: 18px;
     74        letter-spacing: 0.1em;
     75        line-height: 1.3333;
     76        text-transform: uppercase;
     77}
     78
    7379h6 {
    7480        font-size: 17px;
  • trunk/src/wp-content/themes/twentyfifteen/css/ie.css

    r41382 r54109  
    511511
    512512.entry-content h5,
     513.entry-summary h5,
     514.page-content h5,
     515.comment-content h5 {
     516        font-size: 20px;
     517        line-height: 1.4;
     518        margin-top: 2.8em;
     519        margin-bottom: 1.4em;
     520}
     521
    513522.entry-content h6,
    514 .entry-summary h5,
    515523.entry-summary h6,
    516 .page-content h5,
    517524.page-content h6,
    518 .comment-content h5,
    519525.comment-content h6 {
    520526        font-size: 19px;
  • trunk/src/wp-content/themes/twentyfifteen/style.css

    r53418 r54109  
    33753375
    33763376        .entry-content h5,
     3377        .entry-summary h5,
     3378        .page-content h5,
     3379        .comment-content h5 {
     3380                font-size: 18px;
     3381                font-size: 1.8rem;
     3382                line-height: 1.3333;
     3383                margin-top: 2.6667em;
     3384                margin-bottom: 1.3333em;
     3385        }
     3386
    33773387        .entry-content h6,
    3378         .entry-summary h5,
    33793388        .entry-summary h6,
    3380         .page-content h5,
    33813389        .page-content h6,
    3382         .comment-content h5,
    33833390        .comment-content h6 {
    33843391                font-size: 17px;
     
    39493956
    39503957        .entry-content h5,
     3958        .entry-summary h5,
     3959        .page-content h5,
     3960        .comment-content h5 {
     3961                font-size: 20px;
     3962                font-size: 2rem;
     3963                line-height: 1.4;
     3964                margin-top: 2.8em;
     3965                margin-bottom: 1.4em;
     3966        }
     3967
    39513968        .entry-content h6,
    3952         .entry-summary h5,
    39533969        .entry-summary h6,
    3954         .page-content h5,
    39553970        .page-content h6,
    3956         .comment-content h5,
    39573971        .comment-content h6 {
    39583972                font-size: 19px;
     
    46224636
    46234637        .entry-content h5,
     4638        .entry-summary h5,
     4639        .page-content h5,
     4640        .comment-content h5 {
     4641                font-size: 16px;
     4642                font-size: 1.6rem;
     4643                line-height: 1.25;
     4644                margin-top: 3.25em;
     4645                margin-bottom: 1.625em;
     4646        }
     4647
    46244648        .entry-content h6,
    4625         .entry-summary h5,
    46264649        .entry-summary h6,
    4627         .page-content h5,
    46284650        .page-content h6,
    4629         .comment-content h5,
    46304651        .comment-content h6 {
    46314652                font-size: 15px;
     
    52055226
    52065227        .entry-content h5,
     5228        .entry-summary h5,
     5229        .page-content h5,
     5230        .comment-content h5 {
     5231                font-size: 18px;
     5232                font-size: 1.8rem;
     5233                line-height: 1.3333;
     5234                margin-top: 2.6667em;
     5235                margin-bottom: 1.3333em;
     5236        }
     5237
    52075238        .entry-content h6,
    5208         .entry-summary h5,
    52095239        .entry-summary h6,
    5210         .page-content h5,
    52115240        .page-content h6,
    5212         .comment-content h5,
    52135241        .comment-content h6 {
    52145242                font-size: 17px;
     
    57605788
    57615789        .entry-content h5,
     5790        .entry-summary h5,
     5791        .page-content h5,
     5792        .comment-content h5 {
     5793                font-size: 20px;
     5794                font-size: 2rem;
     5795                line-height: 1.4;
     5796                margin-top: 2.8em;
     5797                margin-bottom: 1.4em;
     5798        }
     5799
    57625800        .entry-content h6,
    5763         .entry-summary h5,
    57645801        .entry-summary h6,
    5765         .page-content h5,
    57665802        .page-content h6,
    5767         .comment-content h5,
    57685803        .comment-content h6 {
    57695804                font-size: 19px;
Note: See TracChangeset for help on using the changeset viewer.