Make WordPress Core


Ignore:
Timestamp:
11/16/2018 12:13:32 AM (5 years ago)
Author:
allancole
Message:

Updating Twenty Nineteen, our new default theme for 2019, set for 5.0.

This update changes the following:

  • Improve menu UI to support keyboard navigation in both directions
  • Improve more-menu-link visibility when no menu items are hidden
  • Improve text-selection custom colors for better contrast and legibility
  • Improve support for sticky toolbars in the editor
  • Improve table element fonts
  • Add .button class support
  • Remove translation escaping
  • Fix menu JS to prevent unused touched event listeners
  • Fix duplicate more-menu-link issue on selective refresh in the customizer
  • Fix editor font-weights for headings
  • Fix search form input style
  • Fix nested blockquote styles
  • Fix download block button style when download text stretches more than one line
  • Fix audio block centering issue
  • Fix align-full blocks in the editor so they don’t create horizontal scrollbars
  • Fix editor to prevent Gutenberg's meta boxes area from overlapping the content

Initial development occurred on GitHub. See: https://github.com/WordPress/twentynineteen

Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, aaronjorbin, ntwb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins12, peterwilsoncc, DannyCooper, WPprodigy, siriokun, briannaorg, 00travelgirl00, shahjehanali1, ianbelanger79, nadim1992, Ismail-elkorchi, nativeinside, iamchetanp, grappler, ocean90, joshfeck, frankew, abdulwahab610, mendezcode, eliorivero, melchoyce, jasmussen, laurelfulford, mdawaffe, kraftbj, dereksmart, naokomc, mayukojpn, enodekciw, chetansatasiya, ketuchetan, atanas-angelov-dev, carolinan, sharazghouri, artisan-asad, mukeshpanchal27, mukesh27, burhandodhy, @crunnells, aryaprakasa, tlxo, themeroots, whizbangik, yingles, tlxo, youthkee, brentswisher, smy315, ahmadawais, desi-developer, 2ndkauboy, mor10.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentynineteen/print.scss

    r43842 r43904  
    2222  @page {
    2323    margin: 2cm;
     24  }
     25
     26  .entry {
     27    margin-top: 1em;
    2428  }
    2529
     
    121125  .site-branding-container:before,
    122126  .entry .entry-title:before,
    123   .entry-meta, .entry-footer,
     127  .entry-footer,
    124128  .author-description:before,
    125   .post-navigation {
     129  .post-navigation,
     130  .widget-area,
     131  .comment-form-flex {
    126132    display: none;
    127133  }
     134
     135  /* Site Header (With Featured Image) */
     136  .site-header.featured-image {
     137    min-height: 0;
     138   
     139    .main-navigation a,
     140    .main-navigation a + svg,
     141    .social-navigation a,
     142    .site-title a,
     143    .site-featured-image a,
     144    .site-branding .site-title,
     145    .site-branding .site-description,
     146    .main-navigation a:after,
     147    .main-navigation .main-menu > li.menu-item-has-children:after,
     148    .main-navigation li,
     149    .social-navigation li,
     150    .entry-meta,
     151    .entry-title {
     152      color: #000;
     153      text-shadow: none;
     154    }
     155
     156    .site-featured-image .entry-header,
     157    .site-branding-container {
     158      margin-top: 0;
     159      margin-bottom: 0;
     160    }
     161
     162    .site-featured-image .post-thumbnail img {
     163      position: relative;
     164      height: initial;
     165      width: initial;
     166      object-fit: none;
     167      min-width: 0;
     168      min-height: 0;
     169      max-width: 100%;
     170      margin-top: 1rem;
     171    }
     172  }
     173 
     174  /* Remove image filters from featured image */
     175  .image-filters-enabled {
     176
     177    *:after {
     178      display: none !important;
     179    }
     180
     181    .site-header.featured-image .site-featured-image .post-thumbnail img {
     182      filter: none;
     183    }
     184  }
    128185}
Note: See TracChangeset for help on using the changeset viewer.