Ticket #49843: 49843.4.patch
File 49843.4.patch, 22.8 KB (added by , 5 years ago) |
---|
-
src/wp-content/themes/twentynineteen/style-editor.css
550 550 } 551 551 552 552 /** === Editor Frame === */ 553 body .wp-block[data-align="full"] { 554 width: calc(100% + 28px); 555 max-width: calc(100% + 28px); 553 body .wp-block[data-align="full"], 554 body .wp-block.alignfull { 555 width: calc(100% + 20px); 556 max-width: calc(100% + 20px); 556 557 } 557 558 558 @media only screen and (min-width: 600px) { 559 body .wp-block[data-align="full"] { 560 width: calc( 100% + 116px); 561 max-width: calc( 100% + 115px); 562 } 559 body .wp-block[data-align="left"], 560 body .wp-block.alignleft { 561 margin-right: 1rem; 562 width: inherit; 563 563 } 564 564 565 body .wp-block[data-align="right"], 566 body .wp-block.alignright { 567 margin-left: 1rem; 568 width: inherit; 569 } 570 571 body .wp-block[data-align="center"], 572 body .wp-block.aligncenter { 573 margin-left: 0; 574 } 575 565 576 @media only screen and (min-width: 768px) { 566 body . editor-writing-flow {577 body .block-editor-writing-flow { 567 578 max-width: 80%; 568 579 margin: 0 10%; 569 580 } 570 body . editor-default-block-appender,571 body . editor-block-list__block {581 body .block-editor-default-block-appender, 582 body .block-editor-block-list__block { 572 583 margin-left: 0; 573 584 margin-right: 0; 574 585 } 575 body .wp-block[data-align="wide"] { 586 body .wp-block[data-align="wide"], 587 body .wp-block.alignwide { 576 588 width: 100%; 577 589 } 578 body .wp-block[data-align="right"] { 579 max-width: 125%; 590 body .wp-block[data-align="full"], 591 body .wp-block.alignfull { 592 width: calc( 125% + 20px); 593 max-width: calc( 125% + 20px); 594 position: relative; 595 left: -12.5%; 580 596 } 581 597 } 582 598 … … 777 793 } 778 794 779 795 /** === Post Title === */ 796 .editor-post-title__block { 797 width: 100%; 798 } 799 780 800 .editor-post-title__block:before { 781 801 background: #767676; 782 802 content: "\020"; … … 1346 1366 } 1347 1367 1348 1368 /** === Group Block === */ 1349 .wp-block[data-type="core/group"] > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { 1369 .wp-block-group > .wp-block-group__inner-container > .wp-block[data-align="full"], 1370 .wp-block-group > .wp-block-group__inner-container > .wp-block.alignfull { 1350 1371 margin-left: 0; 1351 1372 margin-right: 0; 1373 left: 0; 1352 1374 } 1353 1375 1354 .wp-block [data-type="core/group"] > .wp-block-group.has-background {1376 .wp-block-group .has-background { 1355 1377 padding: 22px; 1356 1378 } 1357 1379 1358 .wp-block[data-type="core/group"] > .wp-block-group.has-background > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { 1380 .wp-block-group .has-background > .wp-block-group__inner-container > .wp-block[data-align="full"], 1381 .wp-block-group .has-background > .wp-block-group__inner-container > .wp-block.alignfull { 1359 1382 margin-left: -22px; 1360 1383 width: calc(100% + 44px); 1361 1384 max-width: calc(100% + 44px); … … 1362 1385 } 1363 1386 1364 1387 @media only screen and (min-width: 768px) { 1365 .wp-block[data- type="core/group"][data-align="wide"] > .is-block-content > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:not([data-align="wide"]):not([data-align="full"]) {1388 .wp-block[data-align="wide"] > .wp-block-group > .wp-block-group__inner-container > .wp-block:not([data-align="wide"]):not([data-align="full"]):not(.alignwide):not(.alignfull) { 1366 1389 width: calc(8 * (100vw / 12)); 1367 1390 } 1368 1391 } 1369 1392 1370 1393 @media only screen and (min-width: 1168px) { 1371 .wp-block[data- type="core/group"][data-align="wide"] > .is-block-content > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:not([data-align="wide"]):not([data-align="full"]) {1394 .wp-block[data-align="wide"] > .wp-block-group > .wp-block-group__inner-container > .wp-block:not([data-align="wide"]):not([data-align="full"]):not(.alignwide):not(.alignfull) { 1372 1395 width: calc(6 * (100vw / 12 )); 1373 1396 } 1374 1397 } 1375 1398 1376 .wp-block[data-type="core/group"][data-align="wide"] > .is-block-content > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { 1399 .wp-block[data-align="wide"] > .wp-block-group > .wp-block-group__inner-container > .wp-block[data-align="full"], 1400 .wp-block[data-align="wide"] > .wp-block-group > .wp-block-group__inner-container > .wp-block.alignfull { 1377 1401 padding-left: 0; 1378 1402 padding-right: 0; 1379 1403 } 1380 1404 1381 1405 @media only screen and (min-width: 768px) { 1382 .wp-block[data- type="core/group"][data-align="wide"] > .is-block-content > .wp-block-group.has-background > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:not([data-align="wide"]):not([data-align="full"]) {1406 .wp-block[data-align="wide"] > .wp-block-group.has-background > .wp-block-group__inner-container > .wp-block:not([data-align="wide"]):not([data-align="full"]):not(.alignwide):not(.alignfull) { 1383 1407 width: calc(8 * (100vw / 12) - 44px); 1384 1408 } 1385 1409 } 1386 1410 1387 1411 @media only screen and (min-width: 1168px) { 1388 .wp-block[data- type="core/group"][data-align="wide"] > .is-block-content > .wp-block-group.has-background > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:not([data-align="wide"]):not([data-align="full"]) {1412 .wp-block[data-align="wide"] > .wp-block-group.has-background > .wp-block-group__inner-container > .wp-block:not([data-align="wide"]):not([data-align="full"]):not(.alignwide):not(.alignfull) { 1389 1413 width: calc(6 * (100vw / 12 ) - 44px); 1390 1414 } 1391 1415 } 1392 1416 1393 @media only screen and (min-width: 600px) {1394 .wp-block[data-type="core/group"][data-align="full"] > .is-block-content > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout {1395 padding-left: 46px;1396 padding-right: 46px;1397 }1398 }1399 1400 1417 @media only screen and (min-width: 768px) { 1401 .wp-block[data- type="core/group"][data-align="full"] > .is-block-content > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout{1418 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group__inner-container { 1402 1419 width: 80%; 1403 1420 margin-left: 10%; 1404 1421 margin-right: 10%; 1405 padding-left: 48px;1406 padding-right: 48px;1422 padding-left: 10px; 1423 padding-right: 10px; 1407 1424 } 1408 1425 } 1409 1426 1410 .wp-block[data-type="core/group"][data-align="full"] > .is-block-content > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:not([data-align="full"]) {1411 max-width: calc(100vw - (2 * 1rem));1412 }1413 1414 1427 @media only screen and (min-width: 768px) { 1415 .wp-block[data- type="core/group"][data-align="full"] > .is-block-content > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:not([data-align="full"]) {1428 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group__inner-container > .wp-block:not([data-align="wide"]):not(.alignwide):not([data-align="full"]):not(.alignfull) { 1416 1429 max-width: calc(8 * (100vw / 12)); 1417 1430 } 1418 1431 } 1419 1432 1420 1433 @media only screen and (min-width: 1168px) { 1421 .wp-block[data- type="core/group"][data-align="full"] > .is-block-content > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:not([data-align="full"]) {1434 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group__inner-container > .wp-block:not([data-align="wide"]):not(.alignwide):not([data-align="full"]):not(.alignfull) { 1422 1435 max-width: calc(6 * (100vw / 12)); 1423 1436 } 1424 1437 } 1425 1438 1426 1439 @media only screen and (min-width: 768px) { 1427 .wp-block[data- type="core/group"][data-align="full"] > .is-block-content > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout> .wp-block[data-align="right"] {1440 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group__inner-container > .wp-block[data-align="right"] { 1428 1441 max-width: 125%; 1429 1442 } 1430 1443 } 1431 1444 1432 1445 @media only screen and (min-width: 768px) { 1433 .wp-block[data-type="core/group"][data-align="full"] > .is-block-content > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="wide"] { 1434 width: calc(100% + 4px); 1435 max-width: calc(100% + 4px); 1446 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group__inner-container > .wp-block[data-align="wide"], 1447 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group__inner-container > .wp-block.alignwide { 1448 width: 100%; 1449 max-width: 100%; 1436 1450 } 1437 1451 } 1438 1452 1439 .wp-block[data-type="core/group"][data-align="full"] > .is-block-content > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align=full] {1440 max-width: calc(100vw + (2 * 1rem));1441 }1442 1443 @media only screen and (min-width: 600px) {1444 .wp-block[data-type="core/group"][data-align="full"] > .is-block-content > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align=full] {1445 width: calc(100% + 92px);1446 left: -46px;1447 }1448 }1449 1450 1453 @media only screen and (min-width: 768px) { 1451 .wp-block[data-type="core/group"][data-align="full"] > .is-block-content > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align=full] { 1452 left: calc(-12.5% - 58px); 1453 width: calc(125% + 120px); 1454 max-width: calc(125% + 119px); 1454 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group__inner-container > .wp-block[data-align=full], 1455 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group__inner-container > .wp-block.alignfull { 1456 left: calc( -12.5% - 13px); 1457 width: calc( 125% + 26px); 1458 max-width: calc( 125% + 25px); 1455 1459 } 1456 1460 } 1457 1461 1458 .wp-block[data- type="core/group"][data-align="full"] > .is-block-content> .wp-block-group.has-background {1462 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group.has-background { 1459 1463 padding: 22px 0; 1460 1464 } 1461 1465 1462 1466 @media only screen and (min-width: 600px) { 1463 .wp-block[data- type="core/group"][data-align="full"] > .is-block-content> .wp-block-group.has-background {1467 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group.has-background { 1464 1468 padding-left: 0; 1465 1469 padding-right: 0; 1466 1470 } 1467 1471 } 1468 1472 1469 .wp-block[data-type="core/group"][data-align="full"] > .is-block-content > .wp-block-group.has-background > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { 1473 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group.has-background > .wp-block-group__inner-container > .wp-block[data-align="full"], 1474 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group.has-background > .wp-block-group__inner-container > .wp-block.alignfull { 1470 1475 margin-left: 0; 1471 1476 width: 100%; 1472 1477 } 1473 1478 1474 1479 @media only screen and (min-width: 600px) { 1475 .wp-block[data-type="core/group"][data-align="full"] > .is-block-content > .wp-block-group.has-background > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { 1480 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group.has-background > .wp-block-group__inner-container > .wp-block[data-align="full"], 1481 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group.has-background > .wp-block-group__inner-container > .wp-block.alignfull { 1476 1482 width: calc(100% + 92px); 1477 1483 } 1478 1484 } 1479 1485 1480 1486 @media only screen and (min-width: 768px) { 1481 .wp-block[data-type="core/group"][data-align="full"] > .is-block-content > .wp-block-group.has-background > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { 1487 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group.has-background > .wp-block-group__inner-container > .wp-block[data-align="full"], 1488 .wp-block[data-align="full"] > .wp-block-group > .wp-block-group.has-background > .wp-block-group__inner-container > .wp-block.alignfull { 1482 1489 width: calc(125% + 120px); 1483 1490 } 1484 1491 } -
src/wp-content/themes/twentynineteen/style-editor.scss
11 11 12 12 body { 13 13 14 .wp-block[data-align="full"] { 15 width: calc(100% + 28px); 16 max-width: calc(100% + 28px); 14 .wp-block[data-align="full"], 15 .wp-block.alignfull { 16 width: calc(100% + 20px); 17 max-width: calc(100% + 20px); 17 18 } 18 19 19 @include media(mobile) { 20 .wp-block[data-align="left"], 21 .wp-block.alignleft, { 22 margin-right: $size__spacing-unit; 23 width: inherit; 24 } 20 25 21 .wp-block[data-align="full"] {22 width: calc( 100% + 116px );23 max-width: calc( 100% + 115px );24 }26 .wp-block[data-align="right"], 27 .wp-block.alignright, { 28 margin-left: $size__spacing-unit; 29 width: inherit; 25 30 } 26 31 32 .wp-block[data-align="center"], 33 .wp-block.aligncenter, { 34 margin-left: 0; 35 } 36 27 37 @include media(tablet) { 28 38 29 . editor-writing-flow {39 .block-editor-writing-flow { 30 40 max-width: 80%; 31 41 margin: 0 10%; 32 42 } 33 43 34 . editor-default-block-appender,35 . editor-block-list__block {44 .block-editor-default-block-appender, 45 .block-editor-block-list__block { 36 46 margin-left: 0; 37 47 margin-right: 0; 38 48 } 39 49 40 .wp-block[data-align="wide"] { 50 .wp-block[data-align="wide"], 51 .wp-block.alignwide { 41 52 width: 100%; 42 53 } 43 54 44 .wp-block[data-align="right"] { 45 max-width: 125%; 55 .wp-block[data-align="full"], 56 .wp-block.alignfull { 57 width: calc( 125% + 20px ); 58 max-width: calc( 125% + 20px ); 59 position: relative; 60 left: -12.5%; 46 61 } 47 62 } 48 63 } … … 190 205 /** === Post Title === */ 191 206 192 207 .editor-post-title__block { 208 width: 100%; 193 209 @include post-section-dash; 194 210 195 211 &:before { … … 779 795 // size is different here. 780 796 $group-block-background__padding: $font__size_base; 781 797 782 .wp-block [data-type="core/group"]{798 .wp-block-group { 783 799 784 // Group block base styles 785 > .wp-block-group { 786 787 // Child: Full alignment 788 > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { 789 margin-left: 0; 790 margin-right: 0; 791 } 800 // Child: Full alignment 801 > .wp-block-group__inner-container > .wp-block[data-align="full"], 802 > .wp-block-group__inner-container > .wp-block.alignfull { 803 margin-left: 0; 804 margin-right: 0; 805 left: 0; 792 806 } 793 807 794 808 // Group block with background color 795 > .wp-block-group.has-background {809 .has-background { 796 810 padding: $group-block-background__padding; 797 811 798 812 // Child: Full alignment 799 > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { 813 > .wp-block-group__inner-container > .wp-block[data-align="full"], 814 > .wp-block-group__inner-container > .wp-block.alignfull { 800 815 margin-left: -$group-block-background__padding; 801 816 width: calc(100% + #{$group-block-background__padding * 2}); 802 817 max-width: calc(100% + #{$group-block-background__padding * 2}); 803 818 } 804 819 } 820 } 805 821 806 807 &[data-align="wide"] > .is-block-content{822 // Wide and full alignments 823 .wp-block[data-align="wide"] > .wp-block-group { 808 824 809 // Group block base styles. 810 > .wp-block-group { 825 > .wp-block-group__inner-container > .wp-block:not([data-align="wide"]):not([data-align="full"]):not(.alignwide):not(.alignfull) { 826 @include media(tablet) { 827 width: calc(8 * (100vw / 12)); 828 } 811 829 812 // Child blocks: Default alignments 813 > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:not([data-align="wide"]):not([data-align="full"]) { 814 @include media(tablet) { 815 width: calc(8 * (100vw / 12)); 816 } 830 @include media(desktop) { 831 width: calc(6 * (100vw / 12 )); 832 } 833 } 817 834 818 @include media(desktop) { 819 width: calc(6 * (100vw / 12 )); 820 } 821 } 835 // Child blocks: Full alignment 836 > .wp-block-group__inner-container > .wp-block[data-align="full"], 837 > .wp-block-group__inner-container > .wp-block.alignfull { 838 padding-left: 0; 839 padding-right: 0; 840 } 822 841 823 // Child blocks: Full alignment 824 > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { 825 padding-left: 0; 826 padding-right: 0; 842 843 // Group block with background color 844 &.has-background { 845 846 // Child blocks: Default alignments 847 > .wp-block-group__inner-container > .wp-block:not([data-align="wide"]):not([data-align="full"]):not(.alignwide):not(.alignfull) { 848 @include media(tablet) { 849 width: calc(8 * (100vw / 12) - #{$group-block-background__padding * 2}); 827 850 } 828 }829 851 830 // Group block with background color 831 > .wp-block-group.has-background { 832 833 // Child blocks: Default alignments 834 > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block:not([data-align="wide"]):not([data-align="full"]) { 835 @include media(tablet) { 836 width: calc(8 * (100vw / 12) - #{$group-block-background__padding * 2}); 837 } 838 839 @include media(desktop) { 840 width: calc(6 * (100vw / 12 ) - #{$group-block-background__padding * 2}); 841 } 852 @include media(desktop) { 853 width: calc(6 * (100vw / 12 ) - #{$group-block-background__padding * 2}); 842 854 } 843 855 } 844 856 } 857 } 845 858 846 847 &[data-align="full"]{859 // Full alignment 860 .wp-block[data-align="full"] > .wp-block-group { 848 861 849 // Group block base styles 850 > .is-block-content > .wp-block-group { 862 // Margins & padding are added to this container to mimic 863 // the style + spacing of the .editor-writing-flow global 864 // container. This way, child items sync up with the placement 865 // and size of other top-level blocks. 866 > .wp-block-group__inner-container { 851 867 852 // Margins & padding are added to this container to mimic 853 // the style + spacing of the .editor-writing-flow global 854 // container. This way, child items sync up with the placement 855 // and size of other top-level blocks. 856 > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout { 868 // 2px of extra padding are added to each side here 869 // To better match up with the spacing of the whole 870 // document. 871 @include media(tablet) { 872 width: 80%; 873 margin-left: 10%; 874 margin-right: 10%; 875 padding-left: 10px; 876 padding-right: 10px; 877 } 857 878 858 @include media(mobile) { 859 padding-left: 46px; 860 padding-right: 46px; 861 } 879 // Child blocks: Normal Alignments 880 > .wp-block:not([data-align="wide"]):not(.alignwide):not([data-align="full"]):not(.alignfull) { 862 881 863 // 2px of extra padding are added to each side here864 // To better match up with the spacing of the whole865 // document.866 882 @include media(tablet) { 867 width: 80%; 868 margin-left: 10%; 869 margin-right: 10%; 870 padding-left: 48px; 871 padding-right: 48px; 883 max-width: calc(8 * (100vw / 12)); 872 884 } 873 885 874 // Child blocks: All alignments except full 875 > .wp-block:not([data-align="full"]) { 876 max-width: calc(100vw - (2 * 1rem)); 877 878 @include media(tablet) { 879 max-width: calc(8 * (100vw / 12)); 880 } 881 882 @include media(desktop) { 883 max-width: calc(6 * (100vw / 12)); 884 } 886 @include media(desktop) { 887 max-width: calc(6 * (100vw / 12)); 885 888 } 889 } 886 890 887 888 891 // Child blocks: Right alignments 892 > .wp-block[data-align="right"] { 889 893 890 @include media(tablet) { 891 max-width: 125%; 892 } 894 @include media(tablet) { 895 max-width: 125%; 893 896 } 897 } 894 898 895 // Child blocks: Wide alignments 896 > .wp-block[data-align="wide"] { 899 // Child blocks: Wide alignments 900 > .wp-block[data-align="wide"], 901 > .wp-block.alignwide { 897 902 898 @include media(tablet) { 899 width: calc(100% + 4px); 900 max-width: calc(100% + 4px); 901 } 903 @include media(tablet) { 904 width: 100%; 905 max-width: 100%; 902 906 } 907 } 903 908 904 905 > .wp-block[data-align=full] {906 max-width: calc(100vw + (2 * 1rem));909 // Child blocks: Full alignments 910 > .wp-block[data-align=full], 911 > .wp-block.alignfull { 907 912 908 @include media(mobile) { 909 width: calc(100% + 92px); 910 left: -46px; 911 } 912 913 @include media(tablet) { 914 left: calc(-12.5% - 58px); 915 width: calc(125% + 120px); 916 max-width: calc(125% + 119px); 917 } 913 @include media(tablet) { 914 left: calc( -12.5% - 13px ); 915 width: calc( 125% + 26px ); 916 max-width: calc( 125% + 25px ); 918 917 } 919 918 } 920 919 } 921 920 922 921 // Group block with background color 923 > . is-block-content > .wp-block-group.has-background {922 > .wp-block-group.has-background { 924 923 925 // When the Group block is full width, we can remove the left/right padding 926 // and let this inherit the 924 // When the Group block is full width, we can remove the left/right padding. 927 925 padding: $group-block-background__padding 0; 928 926 929 927 @include media(mobile) { … … 932 930 } 933 931 934 932 // Child blocks: Full alignment 935 > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { 933 > .wp-block-group__inner-container > .wp-block[data-align="full"], 934 > .wp-block-group__inner-container > .wp-block.alignfull { 936 935 margin-left: 0; 937 936 width: 100%; 938 937 … … 946 945 } 947 946 } 948 947 } 949 } -
src/wp-content/themes/twentynineteen/style-rtl.css
5640 5640 } 5641 5641 5642 5642 @-moz-document url-prefix() { 5643 .entry .entry-content .has-drop-cap:not(:focus): :first-letter {5643 .entry .entry-content .has-drop-cap:not(:focus):first-letter { 5644 5644 margin-top: 0.2em; 5645 5645 } 5646 5646 } … … 6023 6023 * is followed by an H1, or H2 */ 6024 6024 } 6025 6025 6026 .entry .entry-content .wp-block-separator:not(.wp-block-separator), 6027 .entry .entry-content hr:not(.wp-block-separator) { 6028 max-width: 100%; 6029 } 6030 6031 @media only screen and (min-width: 768px) { 6032 .entry .entry-content .wp-block-separator:not(.wp-block-separator), 6033 .entry .entry-content hr:not(.wp-block-separator) { 6034 max-width: calc(8 * (100vw / 12) - 28px); 6035 } 6036 } 6037 6038 @media only screen and (min-width: 1168px) { 6039 .entry .entry-content .wp-block-separator:not(.wp-block-separator), 6040 .entry .entry-content hr:not(.wp-block-separator) { 6041 max-width: calc(6 * (100vw / 12) - 28px); 6042 } 6043 } 6044 6026 6045 .entry .entry-content .wp-block-separator.is-style-wide, 6027 6046 .entry .entry-content hr.is-style-wide { 6028 6047 max-width: 100%;