Ticket #45246: 45246.1.patch
| File 45246.1.patch, 3.3 KB (added by , 7 years ago) |
|---|
-
src/wp-content/themes/twentyseventeen/assets/css/blocks.css
97 97 width: 100%; 98 98 } 99 99 100 /* Cover Image*/100 /* Cover */ 101 101 102 102 .wp-block-cover-image.alignright, 103 .wp-block-cover.alignright, 103 104 .wp-block-cover-image.alignleft, 104 .wp-block-cover-image.aligncenter { 105 .wp-block-cover.alignleft, 106 .wp-block-cover-image.aligncenter, 107 .wp-block-cover.aligncenter { 105 108 display: flex; 106 109 } 107 110 … … 219 222 max-width: 100px; 220 223 } 221 224 225 /* Media & Text */ 226 227 .wp-block-media-text { 228 margin-bottom: 1.5em; 229 } 230 231 .wp-block-media-text *:last-child { 232 margin-bottom: 0; 233 } 234 222 235 /*-------------------------------------------------------------- 223 236 5.0 Blocks - Widgets 224 237 --------------------------------------------------------------*/ 225 238 239 /* Archives, Categories & Latest Posts */ 240 241 .wp-block-archives.aligncenter, 242 .wp-block-categories.aligncenter, 243 .wp-block-latest-posts.aligncenter { 244 list-style-position: inside; 245 text-align: center; 246 } 247 226 248 /* Comments */ 227 249 228 250 .wp-block-latest-comments article { -
src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css
25 25 font-size: 0.9375rem; 26 26 } 27 27 28 .editor-default-block-appender input[type="text"].editor-default-block-appender__content { 29 font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; 30 } 31 28 32 .edit-post-visual-editor .editor-block-list__block { 29 33 color: #333; 30 34 } … … 346 350 347 351 /* Main column width */ 348 352 349 body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block, 350 body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender, 351 body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block { 352 max-width: 740px; 353 .editor-styles-wrapper { 354 max-width: 100% !important; /* Override where editor-style.css is affecting this. */ 353 355 } 354 356 357 .wp-block { 358 max-width: 674px; /* Based on one-column post width; 644px + 30px to account for padding. */ 359 } 360 355 361 /* Background color */ 356 362 357 363 .gutenberg-editor-page .editor-block-list__block { … … 695 701 5.0 Blocks - Layout Elements 696 702 --------------------------------------------------------------*/ 697 703 698 /* Separator s*/704 /* Separator */ 699 705 700 706 .edit-post-visual-editor .wp-block-separator { 701 707 border: 0; … … 721 727 transition: background-color 0.2s ease-in-out; 722 728 white-space: nowrap; 723 729 } 730 731 /* Media & Text */ 732 733 .wp-block-media-text *:last-child { 734 margin-bottom: 0; 735 } 736 724 737 /*-------------------------------------------------------------- 725 738 6.0 Blocks - Widgets 726 739 --------------------------------------------------------------*/ 727 740 741 /* Archives, Categories & Latest Posts */ 742 743 [data-align="center"] .wp-block-archives ul, 744 [data-align="center"] .wp-block-categories ul, 745 [data-align="center"] .wp-block-latest-posts ul { 746 list-style-position: inside; 747 } 748 728 749 /* Latest Comments */ 729 750 730 751 .editor-block-list__block ol.wp-block-latest-comments > li:before {