Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
/*!
|
|
|
|
Twenty Nineteen Editor Styles
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** === Includes === */
|
|
|
|
|
|
|
|
@import "sass/variables-site/variables-site";
|
|
|
|
@import "sass/mixins/mixins-master";
|
|
|
|
|
|
|
|
/** === Editor Frame === */
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
.wp-block[data-align="full"],
|
|
|
|
.wp-block.alignfull {
|
2021-06-22 18:15:57 -04:00
|
|
|
max-width: calc(100% + 16px);
|
|
|
|
width: calc(100% + 16px);
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
.wp-block[data-align="left"],
|
2020-08-21 11:42:05 -04:00
|
|
|
.wp-block.alignleft {
|
2020-07-24 13:48:04 -04:00
|
|
|
margin-right: $size__spacing-unit;
|
|
|
|
width: inherit;
|
|
|
|
}
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
.wp-block[data-align="right"],
|
2020-08-21 11:42:05 -04:00
|
|
|
.wp-block.alignright {
|
2020-07-24 13:48:04 -04:00
|
|
|
margin-left: $size__spacing-unit;
|
|
|
|
width: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block[data-align="center"],
|
2020-08-21 11:42:05 -04:00
|
|
|
.wp-block.aligncenter {
|
2020-07-24 13:48:04 -04:00
|
|
|
margin-left: 0;
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
@include media(tablet) {
|
|
|
|
|
Twenty Nineteen: Add margins to editor iframe content.
At screen widths of at least 768px (tablet size), Twenty Nineteen should have a `max-width` and side margins for content in the post editor.
This commit applies that style to the new `.block-editor-iframe__body` class, resolving an issue where full-width blocks had a horizontal scrollbar in the editor iframe.
Props sabernhardt, smit08, nidhidhandhukiya, mukesh27, darshitrajyaguru97, oglekler, poena, shailu25, nicolefurlan.
Fixes #59449.
Built from https://develop.svn.wordpress.org/trunk@56832
git-svn-id: http://core.svn.wordpress.org/trunk@56344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-12 06:17:27 -04:00
|
|
|
&.block-editor-iframe__body,
|
2022-03-12 14:13:05 -05:00
|
|
|
&.block-editor-writing-flow,
|
2020-07-24 13:48:04 -04:00
|
|
|
.block-editor-writing-flow {
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
max-width: 80%;
|
|
|
|
margin: 0 10%;
|
|
|
|
}
|
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
.block-editor-default-block-appender,
|
|
|
|
.block-editor-block-list__block {
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
.wp-block[data-align="wide"],
|
|
|
|
.wp-block.alignwide {
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
.wp-block[data-align="full"],
|
|
|
|
.wp-block.alignfull {
|
2021-06-22 18:15:57 -04:00
|
|
|
width: calc(125% + 16px);
|
|
|
|
max-width: calc(125% + 16px);
|
2020-07-24 13:48:04 -04:00
|
|
|
position: relative;
|
|
|
|
left: -12.5%;
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
2021-06-22 18:15:57 -04:00
|
|
|
|
|
|
|
.wp-block[data-align="wide"] .wp-block[data-align="full"],
|
|
|
|
.wp-block[data-align="full"] .wp-block[data-align="full"],
|
|
|
|
.wp-block.alignwide .wp-block.alignfull,
|
|
|
|
.wp-block.alignfull .wp-block.alignfull {
|
|
|
|
left: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Content Width === */
|
|
|
|
|
|
|
|
.wp-block {
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
@include media(tablet) {
|
|
|
|
width: calc(8 * (100vw / 12));
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media(desktop) {
|
|
|
|
width: calc(6 * (100vw / 12 ));
|
|
|
|
}
|
|
|
|
|
|
|
|
// Only the top level blocks need specific widths, therefore override for every nested block.
|
|
|
|
.wp-block {
|
2020-04-16 10:56:16 -04:00
|
|
|
width: initial;
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Base Typography === */
|
|
|
|
|
|
|
|
body {
|
2022-09-08 18:42:13 -04:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
font-size: $font__size_base;
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__body );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
line-height: $font__line-height-body;
|
|
|
|
color: $color__text-main;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: $font__size_base;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__heading );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: $font__size-xl;
|
|
|
|
|
|
|
|
@include media(tablet) {
|
|
|
|
font-size: $font__size-xxl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-26 04:32:13 -04:00
|
|
|
.wp-block-post-title,
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
h2 {
|
|
|
|
font-size: $font__size-lg;
|
|
|
|
|
|
|
|
@include media(tablet) {
|
|
|
|
font-size: $font__size-xl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-26 04:32:13 -04:00
|
|
|
h1,
|
|
|
|
h2 {
|
|
|
|
@include post-section-dash;
|
|
|
|
}
|
|
|
|
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
h3 {
|
|
|
|
font-size: $font__size-lg;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: $font__size-md;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: $font__size-sm;
|
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
|
|
|
font-size: $font__size-xs;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
@include link-transition;
|
|
|
|
color: $color__link;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
color: $color__link-hover;
|
|
|
|
outline: 0;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Use white text against these backgrounds by default.
|
|
|
|
.has-primary-background-color,
|
|
|
|
.has-secondary-background-color,
|
|
|
|
.has-dark-gray-background-color,
|
|
|
|
.has-light-gray-background-color {
|
|
|
|
color: $color__background-body;
|
|
|
|
|
|
|
|
p,
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6,
|
|
|
|
a {
|
|
|
|
color: $color__background-body;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Use dark gray text against this background by default.
|
|
|
|
.has-white-background-color {
|
|
|
|
color: $color__text-main;
|
|
|
|
|
|
|
|
p,
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6,
|
|
|
|
a {
|
|
|
|
color: $color__text-main;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption,
|
|
|
|
.gallery-caption {
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__heading );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
font-size: $font__size-xs;
|
|
|
|
line-height: 1.6;
|
|
|
|
color: $color__text-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Post Title === */
|
|
|
|
|
|
|
|
.editor-post-title__block {
|
2020-07-24 13:48:04 -04:00
|
|
|
width: 100%;
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
@include post-section-dash;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
width: $font__size-xxl;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
2020-02-20 11:40:06 -05:00
|
|
|
margin-left: 1rem;
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
position: relative;
|
|
|
|
top: 0.5em;
|
2020-02-20 11:40:06 -05:00
|
|
|
|
|
|
|
@include media(mobile) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.editor-post-title__input {
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__heading );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
font-size: $font__size-xxl;
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Default Appender === */
|
|
|
|
|
2020-02-20 11:40:06 -05:00
|
|
|
.block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__body );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
font-size: $font__size_base;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Heading === */
|
|
|
|
|
|
|
|
.wp-block-heading {
|
|
|
|
strong {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/** === Paragraph === */
|
|
|
|
|
|
|
|
.wp-block-paragraph {
|
|
|
|
|
|
|
|
&.has-drop-cap:not(:focus)::first-letter {
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__heading );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
font-size: $font__size-xxxl;
|
|
|
|
line-height: 1;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 0 0.25em 0 0;
|
2020-06-15 11:13:09 -04:00
|
|
|
|
|
|
|
@-moz-document url-prefix() {
|
|
|
|
& {
|
|
|
|
margin-top: 0.2em;
|
|
|
|
}
|
|
|
|
}
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Table === */
|
|
|
|
|
|
|
|
.wp-block-table {
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__heading );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/** === Cover === */
|
|
|
|
|
|
|
|
.wp-block-cover {
|
|
|
|
|
|
|
|
h2,
|
|
|
|
.wp-block-cover-text {
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__heading );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
font-size: $font__size-lg;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 1.4;
|
|
|
|
padding-left: $size__spacing-unit;
|
|
|
|
padding-right: $size__spacing-unit;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media(tablet) {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media(tablet) {
|
|
|
|
padding-left: 10%;
|
|
|
|
padding-right: 10%;
|
|
|
|
|
|
|
|
h2,
|
|
|
|
.wp-block-cover-text {
|
|
|
|
font-size: $font__size-xl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block[data-type="core/cover"][data-align="left"],
|
|
|
|
.wp-block[data-type="core/cover"][data-align="right"] {
|
|
|
|
|
|
|
|
.editor-block-list__block-edit {
|
|
|
|
width: calc(4 * (100vw / 12));
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-cover {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
2018-12-18 22:24:11 -05:00
|
|
|
padding: calc(1.375 * #{$size__spacing-unit});
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
|
2018-12-18 22:24:11 -05:00
|
|
|
p {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
|
2018-12-18 22:24:11 -05:00
|
|
|
@include media(tablet) {
|
|
|
|
padding: calc(2.75 * #{$size__spacing-unit}) calc(2.75 * #{$size__spacing-unit}) calc(3.125 * #{$size__spacing-unit});
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block[data-type="core/cover"][data-align="wide"],
|
|
|
|
.wp-block[data-type="core/cover"][data-align="full"] {
|
|
|
|
|
|
|
|
@include media(tablet) {
|
|
|
|
|
|
|
|
h2,
|
|
|
|
.wp-block-cover-text {
|
|
|
|
max-width: calc(8 * (100vw / 12));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media(desktop) {
|
|
|
|
|
|
|
|
h2,
|
|
|
|
.wp-block-cover-text {
|
|
|
|
max-width: calc(6 * (100vw / 12));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block[data-type="core/cover"][data-align="full"] {
|
|
|
|
|
|
|
|
@include media(tablet) {
|
|
|
|
|
|
|
|
.wp-block-cover {
|
|
|
|
padding-left: calc(10% + 64px);
|
|
|
|
padding-right: calc(10% + 64px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Gallery === */
|
|
|
|
|
|
|
|
.wp-block-gallery {
|
|
|
|
|
|
|
|
.blocks-gallery-image figcaption,
|
|
|
|
.blocks-gallery-item figcaption,
|
|
|
|
.gallery-item .gallery-caption {
|
|
|
|
font-size: $font__size-xs;
|
|
|
|
line-height: 1.6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Button === */
|
|
|
|
|
Twenty Nineteen: Correct line height for Button block.
This commit moves `line-height` to the Buttons container and removes the duplicate `outline` property.
Props sabernhardt, nidhidhandhukiya, monzuralam, shailu25, hrrarya, karmatosed, harshgajipara, nicolefurlan, fnpen, oglekler, poena, huzaifaalmesbah, audrasjb.
Fixes #58443.
Built from https://develop.svn.wordpress.org/trunk@57599
git-svn-id: http://core.svn.wordpress.org/trunk@57100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-02-12 13:52:07 -05:00
|
|
|
.wp-block-buttons {
|
|
|
|
line-height: $font__line-height-heading;
|
|
|
|
}
|
|
|
|
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
.wp-block-button {
|
|
|
|
|
|
|
|
.wp-block-button__link {
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__heading );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
font-size: $font__size-sm;
|
|
|
|
font-weight: bold;
|
2024-06-24 15:24:10 -04:00
|
|
|
padding: ($font__size_base * .76) $font__size_base;
|
2021-06-08 13:21:59 -04:00
|
|
|
|
|
|
|
&:not(.has-text-color) {
|
|
|
|
color: #fff;
|
|
|
|
}
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.is-style-outline) .wp-block-button__link {
|
|
|
|
background: $color__background-button;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.is-style-squared) .wp-block-button__link {
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-style-outline,
|
|
|
|
&.is-style-outline:hover,
|
|
|
|
&.is-style-outline:focus,
|
|
|
|
&.is-style-outline:active {
|
|
|
|
background: transparent;
|
|
|
|
color: $color__background-button;
|
|
|
|
|
|
|
|
.wp-block-button__link {
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
&:not(.has-text-color) {
|
|
|
|
color: $color__background-button;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-26 11:27:12 -05:00
|
|
|
.wp-block-search {
|
|
|
|
.wp-block-search__button {
|
|
|
|
@include font-family( $font__heading );
|
|
|
|
font-size: $font__size-sm;
|
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 5px;
|
Bundled Themes: Removes measurement in px for zero and related fixes.
The measurement in px for zero values is not needed. It does this for Twenty Twenty-One, Twenty Ten, Twenty Eleven and Twenty Nineteen. This also adds short-hand-property-no-redudant-values to Twenty Twenty-One's stylelint rules. Included is removing box-shadow prefixed rules before the standard property in Twenty Ten. Finally, it also removes empty spaces at the ends of lines in Twenty Thirteen, Twenty Nineteen and Twenty Twenty.
Props ankitmaru, SergeyBiryukov, netweb, mukesh27, ryelle, audrasjb, sabernhardt.
Fixes #53874.
Built from https://develop.svn.wordpress.org/trunk@58178
git-svn-id: http://core.svn.wordpress.org/trunk@57641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-05-20 11:14:16 -04:00
|
|
|
|
2024-02-26 11:27:12 -05:00
|
|
|
&:not(.has-text-color) {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.has-background-color) {
|
|
|
|
background: $color__background-button;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
/** === Blockquote === */
|
|
|
|
|
|
|
|
.wp-block-quote {
|
|
|
|
|
|
|
|
&:not(.is-large):not(.is-style-large) {
|
2019-02-13 13:40:49 -05:00
|
|
|
border-width: 2px;
|
|
|
|
border-color: $color__link;
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.is-large,
|
|
|
|
&.is-style-large {
|
|
|
|
margin-top: $font__size-xxl;
|
|
|
|
margin-bottom: $font__size-xxl;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-large p,
|
|
|
|
&.is-style-large p {
|
|
|
|
font-size: $font__size-lg;
|
|
|
|
line-height: 1.3;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
cite,
|
|
|
|
footer,
|
|
|
|
.wp-block-quote__citation {
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__heading );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
font-size: $font__size-xs;
|
|
|
|
line-height: 1.6;
|
2022-06-16 19:17:08 -04:00
|
|
|
color: inherit;
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Pullquote === */
|
|
|
|
|
|
|
|
.wp-block-pullquote {
|
|
|
|
border-color: transparent;
|
|
|
|
border-width: 2px;
|
|
|
|
color: #000;
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
margin-top: calc(3 * #{ $size__spacing-unit});
|
|
|
|
margin-bottom: calc(3.33 * #{ $size__spacing-unit});
|
|
|
|
hyphens: auto;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.is-style-solid-color) .wp-block-pullquote__citation {
|
|
|
|
color: $color__text-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-style-solid-color {
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
width: calc(100% - (2 * #{ $size__spacing-unit}));
|
|
|
|
max-width: calc( 100% - (2 * #{ $size__spacing-unit}));
|
|
|
|
|
|
|
|
a,
|
|
|
|
&.has-text-color p,
|
|
|
|
&.has-text-color a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.has-text-color) {
|
|
|
|
color: $color__background-body;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media(tablet) {
|
|
|
|
max-width: 80%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.has-background-color) {
|
|
|
|
background-color: $color__link;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-08 12:50:57 -04:00
|
|
|
.wp-block-pullquote[data-type="core/pullquote"],
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
.wp-block[data-type="core/pullquote"],
|
|
|
|
.wp-block[data-type="core/pullquote"][data-align="left"],
|
|
|
|
.wp-block[data-type="core/pullquote"][data-align="right"] {
|
|
|
|
|
|
|
|
blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
|
|
|
blockquote > .editor-rich-text p,
|
|
|
|
p {
|
|
|
|
font-size: $font__size-lg;
|
|
|
|
font-style: italic;
|
|
|
|
line-height: 1.3;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
|
|
|
|
@include media(tablet) {
|
|
|
|
font-size: $font__size-xl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-pullquote__citation {
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__heading );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
font-size: $font__size-xs;
|
|
|
|
line-height: 1.6;
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
em {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-08 12:50:57 -04:00
|
|
|
.wp-block[data-align="left"] > .wp-block-pullquote,
|
|
|
|
.wp-block[data-align="right"] > .wp-block-pullquote {
|
|
|
|
max-width: 50%;
|
|
|
|
text-align: inherit;
|
|
|
|
|
|
|
|
&:not(.is-style-solid-color) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-style-solid-color {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
.wp-block[data-type="core/pullquote"][data-align="left"],
|
|
|
|
.wp-block[data-type="core/pullquote"][data-align="right"] {
|
|
|
|
|
|
|
|
.editor-block-list__block-edit {
|
|
|
|
width: calc(4 * (100vw / 12));
|
|
|
|
max-width: 50%;
|
|
|
|
|
|
|
|
.wp-block-pullquote:not(.is-style-solid-color) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-pullquote.is-style-solid-color {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
|
|
|
blockquote > .editor-rich-text p,
|
|
|
|
p,
|
|
|
|
.wp-block-pullquote__citation {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block[data-type="core/pullquote"][data-align="full"] {
|
|
|
|
|
|
|
|
@include media(tablet) {
|
|
|
|
|
|
|
|
.wp-block-pullquote blockquote {
|
|
|
|
max-width: calc(80% - 128px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/** === File === */
|
|
|
|
|
|
|
|
.wp-block-file {
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__heading );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
|
|
|
|
.wp-block-file__textlink {
|
|
|
|
text-decoration: underline;
|
|
|
|
color: $color__link;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $color__link-hover;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-file__button {
|
|
|
|
display: table;
|
|
|
|
line-height: 1.8;
|
|
|
|
font-size: $font__size-sm;
|
|
|
|
font-weight: bold;
|
|
|
|
background-color: $color__link;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-file__button-richtext-wrapper {
|
|
|
|
display: block;
|
|
|
|
margin-top: calc(0.75 * #{$size__spacing-unit});
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Verse === */
|
|
|
|
|
|
|
|
.wp-block-verse,
|
|
|
|
.wp-block-verse pre {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Code === */
|
|
|
|
|
|
|
|
.wp-block-code {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Table === */
|
|
|
|
|
|
|
|
.wp-block-table {
|
|
|
|
|
|
|
|
td, th {
|
|
|
|
border-color: $color__text-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Separator === */
|
|
|
|
|
|
|
|
.wp-block-separator {
|
|
|
|
|
|
|
|
&:not(.is-style-dots) {
|
2019-08-30 15:15:56 -04:00
|
|
|
background-color: $color__text-light;
|
|
|
|
height: 2px;
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.is-style-wide):not(.is-style-dots) {
|
|
|
|
width: $font__size-xl;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2019-08-30 15:15:56 -04:00
|
|
|
&.is-style-dots {
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
color: $color__text-light;
|
2019-08-30 15:15:56 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.is-style-dots:before {
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
font-size: $font__size-lg;
|
|
|
|
letter-spacing: calc(2 * #{$size__spacing-unit});
|
|
|
|
padding-left: calc(2 * #{$size__spacing-unit});
|
|
|
|
}
|
2023-06-26 11:50:23 -04:00
|
|
|
|
|
|
|
&.has-primary-background-color {
|
|
|
|
color: $color__link;
|
|
|
|
background-color: $color__link;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.has-secondary-background-color {
|
|
|
|
color: $color__border-link-hover;
|
|
|
|
background-color: $color__border-link-hover;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.has-dark-gray-background-color {
|
|
|
|
color: $color__text-main;
|
|
|
|
background-color: $color__text-main;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.has-light-gray-background-color {
|
|
|
|
color: $color__text-light;
|
|
|
|
background-color: $color__text-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.has-white-background-color {
|
|
|
|
color: #fff;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
|
2018-12-18 22:21:42 -05:00
|
|
|
/* Remove duplicate rule-line when a separator
|
|
|
|
* is followed by an H1, or H2 */
|
|
|
|
.wp-block[data-type="core/separator"] + .wp-block[data-type="core/heading"] h1:before,
|
|
|
|
.wp-block[data-type="core/separator"] + .wp-block[data-type="core/heading"] h2:before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
/** === Latest Posts, Archives, Categories === */
|
|
|
|
|
|
|
|
ul.wp-block-archives,
|
|
|
|
.wp-block-categories,
|
|
|
|
.wp-block-latest-posts {
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
|
2019-08-07 07:48:57 -04:00
|
|
|
> a {
|
|
|
|
@include font-family( $font__heading );
|
|
|
|
font-size: calc(#{$font__size_base} * #{$font__size-ratio});
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: $font__line-height-heading;
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding-left: $size__spacing-unit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-categories {
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding-top: ( .75 * $size__spacing-unit );
|
|
|
|
@include nestedSubMenuPadding();
|
|
|
|
}
|
|
|
|
|
|
|
|
li ul {
|
|
|
|
list-style: none;
|
|
|
|
padding-left: 0;
|
|
|
|
margin-bottom: ( -.75 * $size__spacing-unit );
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2024-07-02 16:01:16 -04:00
|
|
|
.wp-block[data-align="center"] > .wp-block-archives,
|
|
|
|
.wp-block[data-align="center"] > .wp-block-categories {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2019-08-07 07:48:57 -04:00
|
|
|
/** === Latest Posts === */
|
|
|
|
.wp-block-latest-posts {
|
|
|
|
|
|
|
|
.wp-block-latest-posts__post-date {
|
|
|
|
@include font-family( $font__heading );
|
|
|
|
font-size: $font__size-xs;
|
|
|
|
color: $color__text-light;
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-posts__post-full-content,
|
|
|
|
.wp-block-latest-posts__post-excerpt {
|
|
|
|
margin-top: $font__size_base;
|
|
|
|
margin-bottom: $font__size_base;
|
|
|
|
|
|
|
|
> div > p:first-child {
|
|
|
|
margin-top: $font__size_base;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding-bottom: ( .5 * $size__spacing-unit );
|
|
|
|
|
|
|
|
&.menu-item-has-children,
|
|
|
|
&:last-child {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
:not(:last-child) .wp-block-latest-posts__post-excerpt {
|
|
|
|
padding-bottom: ( .5 * $size__spacing-unit );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-grid {
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
li {
|
|
|
|
border-top: 2px solid $color__border;
|
|
|
|
padding-top: (1 * $size__spacing-unit);
|
|
|
|
margin-bottom: (2 * $size__spacing-unit);
|
|
|
|
a {
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: auto;
|
|
|
|
a:after {
|
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-08-07 07:48:57 -04:00
|
|
|
}
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
|
|
|
|
/** === Latest Comments === */
|
|
|
|
|
|
|
|
.wp-block-latest-comments {
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment-meta {
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__heading );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment-date {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment,
|
|
|
|
.wp-block-latest-comments__comment-date,
|
|
|
|
.wp-block-latest-comments__comment-excerpt p {
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment-date {
|
|
|
|
font-size: $font__size-xs;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** === Classic Editor === */
|
|
|
|
|
|
|
|
/* Properly center-align captions in the classic-editor block */
|
|
|
|
.wp-caption {
|
|
|
|
dd {
|
|
|
|
color: $color__text-light;
|
|
|
|
font-size: $font__size-xs;
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__heading );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
line-height: $font__line-height-pre;
|
|
|
|
margin: 0;
|
|
|
|
padding: ( $size__spacing-unit * .5 );
|
|
|
|
text-align: left;
|
|
|
|
text-align: center;
|
Bundled Themes: Removes measurement in px for zero and related fixes.
The measurement in px for zero values is not needed. It does this for Twenty Twenty-One, Twenty Ten, Twenty Eleven and Twenty Nineteen. This also adds short-hand-property-no-redudant-values to Twenty Twenty-One's stylelint rules. Included is removing box-shadow prefixed rules before the standard property in Twenty Ten. Finally, it also removes empty spaces at the ends of lines in Twenty Thirteen, Twenty Nineteen and Twenty Twenty.
Props ankitmaru, SergeyBiryukov, netweb, mukesh27, ryelle, audrasjb, sabernhardt.
Fixes #53874.
Built from https://develop.svn.wordpress.org/trunk@58178
git-svn-id: http://core.svn.wordpress.org/trunk@57641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-05-20 11:14:16 -04:00
|
|
|
-webkit-margin-start: 0;
|
|
|
|
margin-inline-start: 0;
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform {
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left: 2px solid $color__link;
|
|
|
|
|
|
|
|
cite {
|
2019-01-18 13:38:50 -05:00
|
|
|
@include font-family( $font__heading );
|
Default Themes: Import Twenty Nineteen from the 5.0 branch.
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424.
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 21:33:41 -05:00
|
|
|
font-size: $font__size-xs;
|
|
|
|
font-style: normal;
|
|
|
|
line-height: 1.6;
|
|
|
|
color: $color__text-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-07-07 16:11:57 -04:00
|
|
|
|
|
|
|
/** === Group Block === */
|
|
|
|
|
|
|
|
// This matches the 22px value for 1rem that used on the front end.
|
Bundled Themes: Removes measurement in px for zero and related fixes.
The measurement in px for zero values is not needed. It does this for Twenty Twenty-One, Twenty Ten, Twenty Eleven and Twenty Nineteen. This also adds short-hand-property-no-redudant-values to Twenty Twenty-One's stylelint rules. Included is removing box-shadow prefixed rules before the standard property in Twenty Ten. Finally, it also removes empty spaces at the ends of lines in Twenty Thirteen, Twenty Nineteen and Twenty Twenty.
Props ankitmaru, SergeyBiryukov, netweb, mukesh27, ryelle, audrasjb, sabernhardt.
Fixes #53874.
Built from https://develop.svn.wordpress.org/trunk@58178
git-svn-id: http://core.svn.wordpress.org/trunk@57641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-05-20 11:14:16 -04:00
|
|
|
// It must be specified in pixels for the editor, since the root font
|
|
|
|
// size is different here.
|
2019-07-07 16:11:57 -04:00
|
|
|
$group-block-background__padding: $font__size_base;
|
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
.wp-block-group {
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
// Child: Full alignment
|
|
|
|
> .wp-block-group__inner-container > .wp-block[data-align="full"],
|
|
|
|
> .wp-block-group__inner-container > .wp-block.alignfull {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
left: 0;
|
2019-07-07 16:11:57 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Group block with background color
|
2020-07-24 13:48:04 -04:00
|
|
|
&.has-background {
|
2019-07-07 16:11:57 -04:00
|
|
|
padding: $group-block-background__padding;
|
|
|
|
|
|
|
|
// Child: Full alignment
|
2020-07-24 13:48:04 -04:00
|
|
|
> .wp-block-group__inner-container > .wp-block[data-align="full"],
|
|
|
|
> .wp-block-group__inner-container > .wp-block.alignfull {
|
2019-07-07 16:11:57 -04:00
|
|
|
margin-left: -$group-block-background__padding;
|
|
|
|
width: calc(100% + #{$group-block-background__padding * 2});
|
|
|
|
max-width: calc(100% + #{$group-block-background__padding * 2});
|
|
|
|
}
|
|
|
|
}
|
2020-07-24 13:48:04 -04:00
|
|
|
}
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
// Wide and full alignments
|
|
|
|
.wp-block[data-align="wide"] > .wp-block-group {
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
> .wp-block-group__inner-container > .wp-block:not([data-align="wide"]):not([data-align="full"]):not(.alignwide):not(.alignfull) {
|
|
|
|
@include media(tablet) {
|
|
|
|
width: calc(8 * (100vw / 12));
|
|
|
|
}
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
@include media(desktop) {
|
|
|
|
width: calc(6 * (100vw / 12 ));
|
|
|
|
}
|
|
|
|
}
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
// Child blocks: Full alignment
|
|
|
|
> .wp-block-group__inner-container > .wp-block[data-align="full"],
|
|
|
|
> .wp-block-group__inner-container > .wp-block.alignfull {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2020-02-20 11:40:06 -05:00
|
|
|
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
// Group block with background color
|
|
|
|
&.has-background {
|
Bundled Themes: Removes measurement in px for zero and related fixes.
The measurement in px for zero values is not needed. It does this for Twenty Twenty-One, Twenty Ten, Twenty Eleven and Twenty Nineteen. This also adds short-hand-property-no-redudant-values to Twenty Twenty-One's stylelint rules. Included is removing box-shadow prefixed rules before the standard property in Twenty Ten. Finally, it also removes empty spaces at the ends of lines in Twenty Thirteen, Twenty Nineteen and Twenty Twenty.
Props ankitmaru, SergeyBiryukov, netweb, mukesh27, ryelle, audrasjb, sabernhardt.
Fixes #53874.
Built from https://develop.svn.wordpress.org/trunk@58178
git-svn-id: http://core.svn.wordpress.org/trunk@57641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-05-20 11:14:16 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
// Child blocks: Default alignments
|
|
|
|
> .wp-block-group__inner-container > .wp-block:not([data-align="wide"]):not([data-align="full"]):not(.alignwide):not(.alignfull) {
|
|
|
|
@include media(tablet) {
|
|
|
|
width: calc(8 * (100vw / 12) - #{$group-block-background__padding * 2});
|
|
|
|
}
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
@include media(desktop) {
|
|
|
|
width: calc(6 * (100vw / 12 ) - #{$group-block-background__padding * 2});
|
2019-07-07 16:11:57 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-07-24 13:48:04 -04:00
|
|
|
}
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
// Full alignment
|
|
|
|
.wp-block[data-align="full"] > .wp-block-group {
|
2019-07-07 16:11:57 -04:00
|
|
|
|
Bundled Themes: Removes measurement in px for zero and related fixes.
The measurement in px for zero values is not needed. It does this for Twenty Twenty-One, Twenty Ten, Twenty Eleven and Twenty Nineteen. This also adds short-hand-property-no-redudant-values to Twenty Twenty-One's stylelint rules. Included is removing box-shadow prefixed rules before the standard property in Twenty Ten. Finally, it also removes empty spaces at the ends of lines in Twenty Thirteen, Twenty Nineteen and Twenty Twenty.
Props ankitmaru, SergeyBiryukov, netweb, mukesh27, ryelle, audrasjb, sabernhardt.
Fixes #53874.
Built from https://develop.svn.wordpress.org/trunk@58178
git-svn-id: http://core.svn.wordpress.org/trunk@57641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-05-20 11:14:16 -04:00
|
|
|
// Margins & padding are added to this container to mimic
|
|
|
|
// the style + spacing of the .editor-writing-flow global
|
|
|
|
// container. This way, child items sync up with the placement
|
|
|
|
// and size of other top-level blocks.
|
2020-07-24 13:48:04 -04:00
|
|
|
> .wp-block-group__inner-container {
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
// 2px of extra padding are added to each side here
|
Bundled Themes: Removes measurement in px for zero and related fixes.
The measurement in px for zero values is not needed. It does this for Twenty Twenty-One, Twenty Ten, Twenty Eleven and Twenty Nineteen. This also adds short-hand-property-no-redudant-values to Twenty Twenty-One's stylelint rules. Included is removing box-shadow prefixed rules before the standard property in Twenty Ten. Finally, it also removes empty spaces at the ends of lines in Twenty Thirteen, Twenty Nineteen and Twenty Twenty.
Props ankitmaru, SergeyBiryukov, netweb, mukesh27, ryelle, audrasjb, sabernhardt.
Fixes #53874.
Built from https://develop.svn.wordpress.org/trunk@58178
git-svn-id: http://core.svn.wordpress.org/trunk@57641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-05-20 11:14:16 -04:00
|
|
|
// To better match up with the spacing of the whole
|
|
|
|
// document.
|
2020-07-24 13:48:04 -04:00
|
|
|
@include media(tablet) {
|
|
|
|
width: 80%;
|
|
|
|
margin-left: 10%;
|
Bundled Themes: Removes measurement in px for zero and related fixes.
The measurement in px for zero values is not needed. It does this for Twenty Twenty-One, Twenty Ten, Twenty Eleven and Twenty Nineteen. This also adds short-hand-property-no-redudant-values to Twenty Twenty-One's stylelint rules. Included is removing box-shadow prefixed rules before the standard property in Twenty Ten. Finally, it also removes empty spaces at the ends of lines in Twenty Thirteen, Twenty Nineteen and Twenty Twenty.
Props ankitmaru, SergeyBiryukov, netweb, mukesh27, ryelle, audrasjb, sabernhardt.
Fixes #53874.
Built from https://develop.svn.wordpress.org/trunk@58178
git-svn-id: http://core.svn.wordpress.org/trunk@57641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-05-20 11:14:16 -04:00
|
|
|
margin-right: 10%;
|
2020-07-24 13:48:04 -04:00
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
// Child blocks: Normal Alignments
|
|
|
|
> .wp-block:not([data-align="wide"]):not(.alignwide):not([data-align="full"]):not(.alignfull) {
|
2019-07-07 16:11:57 -04:00
|
|
|
|
|
|
|
@include media(tablet) {
|
2020-07-24 13:48:04 -04:00
|
|
|
max-width: calc(8 * (100vw / 12));
|
2019-07-07 16:11:57 -04:00
|
|
|
}
|
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
@include media(desktop) {
|
|
|
|
max-width: calc(6 * (100vw / 12));
|
|
|
|
}
|
|
|
|
}
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
// Child blocks: Not Full Alignments
|
|
|
|
> .wp-block:not([data-align="full"]):not(.alignfull) {
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
@include media(tablet) {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
2019-07-07 16:11:57 -04:00
|
|
|
}
|
2020-07-24 13:48:04 -04:00
|
|
|
}
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
// Child blocks: Right alignments
|
|
|
|
> .wp-block[data-align="right"] {
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
@include media(tablet) {
|
|
|
|
max-width: 125%;
|
2019-07-07 16:11:57 -04:00
|
|
|
}
|
2020-07-24 13:48:04 -04:00
|
|
|
}
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
// Child blocks: Wide alignments
|
|
|
|
> .wp-block[data-align="wide"],
|
|
|
|
> .wp-block.alignwide {
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
@include media(tablet) {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
2019-07-07 16:11:57 -04:00
|
|
|
}
|
2020-07-24 13:48:04 -04:00
|
|
|
}
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
// Child blocks: Full alignments
|
|
|
|
> .wp-block[data-align=full],
|
|
|
|
> .wp-block.alignfull {
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
@include media(tablet) {
|
|
|
|
left: calc( -12.5% - 13px );
|
|
|
|
width: calc( 125% + 26px );
|
|
|
|
max-width: calc( 125% + 25px );
|
2019-07-07 16:11:57 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Group block with background color
|
2020-07-24 13:48:04 -04:00
|
|
|
&.has-background {
|
2019-07-07 16:11:57 -04:00
|
|
|
|
2020-07-24 13:48:04 -04:00
|
|
|
// When the Group block is full width, we can remove the left/right padding.
|
2019-07-07 16:11:57 -04:00
|
|
|
padding: $group-block-background__padding 0;
|
|
|
|
|
|
|
|
@include media(mobile) {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Child blocks: Full alignment
|
2020-07-24 13:48:04 -04:00
|
|
|
> .wp-block-group__inner-container > .wp-block[data-align="full"],
|
|
|
|
> .wp-block-group__inner-container > .wp-block.alignfull {
|
2019-07-07 16:11:57 -04:00
|
|
|
margin-left: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
@include media(mobile) {
|
|
|
|
width: calc(100% + 92px);
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media(tablet) {
|
|
|
|
width: calc(125% + 120px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-06-22 18:15:57 -04:00
|
|
|
|
|
|
|
.wp-block-post-template {
|
|
|
|
|
|
|
|
.wp-block[data-align="full"],
|
|
|
|
.wp-block.alignfull {
|
|
|
|
left: 0;
|
|
|
|
max-width: 100%;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2024-02-09 13:25:04 -05:00
|
|
|
|
|
|
|
/** === Post Author Block === */
|
|
|
|
|
|
|
|
.avatar,
|
|
|
|
.wp-block-post-author__avatar img {
|
|
|
|
border-radius: 100%;
|
|
|
|
}
|