WordPress.org

Make WordPress Core

Ticket #49699: 49699-alt.patch

File 49699-alt.patch, 3.0 KB (added by kjellr, 5 months ago)
  • src/wp-content/themes/twentynineteen/sass/elements/_elements.scss

     
    5555h1:not(.site-title),
    5656h2 {
    5757        @include post-section-dash;
     58
     59        &.has-text-align-center:before,
     60        &.has-text-align-right:before {
     61                display: none;
     62        }
    5863}
    5964
    6065hr {
  • src/wp-content/themes/twentynineteen/style-editor.css

     
    636636  width: 1em;
    637637}
    638638
     639h1.has-text-align-center:before, h1.has-text-align-right:before {
     640  display: none;
     641}
     642
    639643@media only screen and (min-width: 768px) {
    640644  h1 {
    641645    font-size: 2.8125em;
     
    655659  width: 1em;
    656660}
    657661
     662h2.has-text-align-center:before, h2.has-text-align-right:before {
     663  display: none;
     664}
     665
    658666@media only screen and (min-width: 768px) {
    659667  h2 {
    660668    font-size: 2.25em;
  • src/wp-content/themes/twentynineteen/style-editor.scss

     
    9393        font-size: $font__size-xl;
    9494        @include post-section-dash;
    9595
     96        &.has-text-align-center:before,
     97        &.has-text-align-right:before {
     98                display: none;
     99        }
     100
    96101        @include media(tablet) {
    97102                font-size: $font__size-xxl;
    98103        }
     
    101106h2 {
    102107        font-size: $font__size-lg;
    103108        @include post-section-dash;
     109       
     110        &.has-text-align-center:before,
     111        &.has-text-align-right:before {
     112                display: none;
     113        }
    104114
    105115        @include media(tablet) {
    106116                font-size: $font__size-xl;
  • src/wp-content/themes/twentynineteen/style-rtl.css

     
    25272527  width: 1em;
    25282528}
    25292529
     2530h1:not(.site-title).has-text-align-center:before, h1:not(.site-title).has-text-align-right:before,
     2531h2.has-text-align-center:before,
     2532h2.has-text-align-right:before {
     2533  display: none;
     2534}
     2535
    25302536hr {
    25312537  background-color: #767676;
    25322538  border: 0;
  • src/wp-content/themes/twentynineteen/style.css

     
    25272527  width: 1em;
    25282528}
    25292529
     2530h1:not(.site-title).has-text-align-center:before, h1:not(.site-title).has-text-align-right:before,
     2531h2.has-text-align-center:before,
     2532h2.has-text-align-right:before {
     2533  display: none;
     2534}
     2535
    25302536hr {
    25312537  background-color: #767676;
    25322538  border: 0;