Make WordPress Core

Timestamp:
11/16/2018 12:13:32 AM (6 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/style.css

    r43892 r43904  
    5454    ## Galleries
    5555--------------------------------------------------------------*/
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
    5668/* If we add the border using a regular CSS border, it won't look good on non-retina devices,
    5769 * since its edges can look jagged due to lack of antialiasing. In this case, we are several
     
    402414  -moz-osx-font-smoothing: grayscale;
    403415  color: #111;
    404   font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
     416  font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
    405417  font-weight: 400;
    406418  font-size: 1em;
     
    416428textarea {
    417429  color: #111;
    418   font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
     430  font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
    419431  font-weight: 400;
    420432  line-height: 1.8;
     
    477489
    478490.page-title {
    479   font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
     491  font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
    480492}
    481493
     
    845857blockquote {
    846858  border-left: 2px solid #0073aa;
    847   margin-left: -2rem;
     859  margin-left: ;
    848860  padding: 0 0 0 1rem;
    849861}
     
    861873  border-collapse: collapse;
    862874  width: 100%;
     875
    863876}
    864877
     
    881894  border-radius: 5px;
    882895  box-sizing: border-box;
    883   color: white;
     896  color: ;
    884897  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    885898  font-size: 0.88889em;
    886   font-weight: 600;
     899  font-weight: 00;
    887900  line-height: 1.2;
    888901  outline: none;
    889902  padding: 0.76rem 1rem;
     903
    890904  vertical-align: bottom;
    891905}
     
    896910input[type="reset"]:hover,
    897911input[type="submit"]:hover {
     912
    898913  cursor: pointer;
    899914}
    900915
    901 .button:hover, .button:focus,
    902 button:hover,
    903 button:focus,
    904 input[type="button"]:hover,
    905 input[type="button"]:focus,
    906 input[type="reset"]:hover,
    907 input[type="reset"]:focus,
    908 input[type="submit"]:hover,
    909 input[type="submit"]:focus {
    910   background: #111;
     916.button:visited,
     917button:visited,
     918input[type="button"]:visited,
     919input[type="reset"]:visited,
     920input[type="submit"]:visited {
     921  color: #fff;
     922  text-decoration: none;
    911923}
    912924
     
    916928input[type="reset"]:focus,
    917929input[type="submit"]:focus {
     930
    918931  outline: thin dotted;
    919932  outline-offset: -4px;
     
    942955  outline: none;
    943956  padding: 0.36rem 0.66rem;
     957
     958
     959
    944960}
    945961
     
    965981}
    966982
     983
     984
     985
     986
    967987textarea {
    968988  box-sizing: border-box;
     
    10151035     */
    10161036  /**
     1037
     1038
     1039
    10171040     * Full-screen touch device styles
    10181041     */
     
    10971120}
    10981121
     1122
     1123
     1124
     1125
    10991126.main-navigation .main-menu > li.menu-item-has-children .submenu-expand svg {
    11001127  position: relative;
     
    11051132.main-navigation .main-menu > li:last-child.menu-item-has-children .submenu-expand {
    11061133  margin-right: 0;
    1107 }
    1108 
    1109 .main-navigation .main-menu .is-hidden {
    1110   display: none;
    11111134}
    11121135
     
    11161139  list-style: none;
    11171140  padding-left: 0;
    1118   display: none;
    11191141  position: absolute;
    11201142  opacity: 0;
    1121   left: -999px;
     1143  left: -999px;
    11221144  z-index: 99999;
    11231145}
     
    11831205.main-navigation .sub-menu > li > .menu-item-link-return:focus:after {
    11841206  background: #005177;
     1207
     1208
     1209
     1210
    11851211}
    11861212
     
    13211347
    13221348.main-navigation .main-menu .menu-item-has-children:not(.off-canvas)[focus-within] > .sub-menu .sub-menu li > a:before {
    1323   font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
     1349  font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
    13241350  font-weight: normal;
    13251351}
    13261352
    13271353.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu li > a:before {
    1328   font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
     1354  font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
    13291355  font-weight: normal;
    13301356}
     
    14861512.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu .sub-menu li > a:before,
    14871513.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu .sub-menu li > a:before {
    1488   font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
     1514  font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
    14891515  font-weight: normal;
    14901516}
     
    15441570}
    15451571
    1546 .main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu {
     1572.main-navigation .main-menu .sub-menu {
    15471573  animation: fade_in 0.1s forwards;
    15481574}
     
    16091635    top: 0;
    16101636  }
     1637
     1638
     1639
     1640
    16111641}
    16121642
     
    26962726}
    26972727
    2698 .entry .entry-content a:hover {
     2728.entry .entry-content a:hover {
    26992729  text-decoration: none;
     2730
     2731
     2732
     2733
     2734
     2735
     2736
     2737
     2738
     2739
    27002740}
    27012741
     
    34023442.widget_recent_entries ul ul li > a:before,
    34033443.widget_rss ul ul li > a:before {
    3404   font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
     3444  font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
    34053445  font-weight: normal;
    34063446}
     
    35173557.widget_calendar .calendar_wrap {
    35183558  text-align: center;
    3519   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    35203559}
    35213560
     
    37393778}
    37403779
    3741 .entry .entry-content .wp-block-audio.aligncenter {
    3742   margin: 32px calc(2 * (100vw / 12));
    3743   max-width: calc(6 * (100vw / 12));
    3744 }
    3745 
    37463780.entry .entry-content .wp-block-video video {
    37473781  width: 100%;
     
    38343868
    38353869.entry .entry-content .wp-block-categories ul li > a:before {
    3836   font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
     3870  font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
    38373871  font-weight: normal;
    38383872}
     
    38993933
    39003934.entry .entry-content .wp-block-verse {
    3901   font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
     3935  font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
    39023936  font-size: 22px;
    39033937  line-height: 1.8;
     
    42904324
    42914325.entry .entry-content .wp-block-embed-twitter {
    4292   overflow: hidden;
     4326  ;
    42934327}
    42944328
     
    43034337
    43044338.entry .entry-content .wp-block-file .wp-block-file__button {
     4339
    43054340  transition: background 150ms ease-in-out;
    43064341  border: none;
     
    43144349  padding: 0.75rem 1rem;
    43154350  color: #fff;
     4351
     4352
    43164353}
    43174354
     
    43324369  outline: thin dotted;
    43334370  outline-offset: -4px;
    4334 }
    4335 
    4336 .entry .entry-content .wp-block-file * + .wp-block-file__button {
    4337   margin-left: 0.75rem;
    43384371}
    43394372
Note: See TracChangeset for help on using the changeset viewer.