mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-02 11:29:37 +00:00
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. Built from https://develop.svn.wordpress.org/branches/5.0@43904 git-svn-id: http://core.svn.wordpress.org/branches/5.0@43736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
93 lines
1.0 KiB
SCSS
93 lines
1.0 KiB
SCSS
html {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
::-moz-selection {
|
|
background-color: $color__background_selection;
|
|
}
|
|
|
|
::selection {
|
|
background-color: $color__background_selection;
|
|
}
|
|
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
body {
|
|
background-color: $color__background-body;
|
|
}
|
|
|
|
a {
|
|
@include link-transition;
|
|
color: $color__link;
|
|
}
|
|
|
|
a:visited {
|
|
|
|
}
|
|
|
|
a:hover,
|
|
a:active {
|
|
color: $color__link-hover;
|
|
outline: 0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:focus {
|
|
outline: thin;
|
|
outline-style: dotted;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
clear: both;
|
|
margin: $size__spacing-unit 0;
|
|
}
|
|
|
|
h1:not(.site-title),
|
|
h2 {
|
|
@include post-section-dash;
|
|
}
|
|
|
|
hr {
|
|
background-color: $color__text-light;
|
|
border: 0;
|
|
height: 2px;
|
|
}
|
|
|
|
@import "lists";
|
|
|
|
img {
|
|
height: auto;
|
|
max-width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
figure {
|
|
margin: 0;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 2px solid $color__link;
|
|
margin-left: 0;
|
|
padding: 0 0 0 $size__spacing-unit;
|
|
|
|
> p {
|
|
margin: 0 0 $size__spacing-unit;
|
|
}
|
|
|
|
cite {
|
|
color: $color__text-light;
|
|
}
|
|
}
|
|
|
|
@import "tables";
|