Changeset 43874
- Timestamp:
- 11/06/2018 05:56:54 AM (6 years ago)
- Location:
- branches/5.0/src/wp-content/themes/twentyfifteen/css
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-content/themes/twentyfifteen/css/blocks.css
r43798 r43874 60 60 } 61 61 62 /* Alignments */ 63 64 [class^="wp-block-"].alignleft, 65 [class^="wp-block-"] .alignleft { 66 margin-right: 1em; 67 } 68 69 [class^="wp-block-"].alignright, 70 [class^="wp-block-"] .alignright { 71 margin-left: 1em; 72 } 73 74 62 75 /*-------------------------------------------------------------- 63 76 2.0 Blocks - Common Blocks … … 83 96 } 84 97 85 /* Cover Image*/98 /* Cover */ 86 99 87 100 .wp-block-cover-image .wp-block-cover-image-text, 88 .wp-block-cover-image h2 { 101 .wp-block-cover .wp-block-cover-text, 102 .wp-block-cover-image h2, 103 .wp-block-cover h2 { 89 104 font-size: 29px; 90 105 line-height: 1.2069; … … 188 203 189 204 .wp-block-cover-image.aligncenter, 205 .wp-block-cover.aligncenter, 190 206 .wp-block-cover-image.alignleft, 191 .wp-block-cover-image.alignright { 207 .wp-block-cover.alignleft, 208 .wp-block-cover-image.alignright, 209 .wp-block-cover.alignright { 192 210 display: flex; 193 211 } … … 440 458 } 441 459 460 /* Media & Text */ 461 462 .wp-block-media-text { 463 margin-bottom: 1.6em; 464 } 465 466 .wp-block-media-text *:last-child { 467 margin-bottom: 0; 468 } 469 442 470 /*-------------------------------------------------------------- 443 471 5.0 Blocks - Widgets 444 472 --------------------------------------------------------------*/ 473 474 /* Archives, Categories & Latest Posts */ 475 476 .wp-block-archives.aligncenter, 477 .wp-block-categories.aligncenter, 478 .wp-block-latest-posts.aligncenter { 479 list-style-position: inside; 480 text-align: center; 481 } 445 482 446 483 /* Latest Comments */ -
branches/5.0/src/wp-content/themes/twentyfifteen/css/editor-blocks.css
r43798 r43874 306 306 /* Main column width */ 307 307 308 body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block, 309 body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender, 310 body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block { 311 max-width: 690px; /* 660px + 30px for the editor padding */ 308 .editor-styles-wrapper { 309 max-width: 100% !important; /* Override where editor-style.css is affecting this. */ 310 } 311 312 .wp-block { 313 max-width: 690px; /* 660px + 30px to account for padding. */ 312 314 } 313 315 … … 557 559 } 558 560 559 /* Cover Image*/561 /* Cover */ 560 562 561 563 .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p, 562 .wp-block-cover-image h2 { 564 .edit-post-visual-editor .editor-block-list__block .wp-block-cover p, 565 .wp-block-cover-image h2, 566 .wp-block-cover h2 { 563 567 font-size: 29px; 564 568 line-height: 1.2069; 565 569 } 566 567 570 568 571 /* File */ … … 765 768 } 766 769 770 /* Media & Text */ 771 772 .wp-block-media-text *:last-child { 773 margin-bottom: 0; 774 } 775 767 776 768 777 /*-------------------------------------------------------------- 769 778 6.0 Blocks - Widgets 770 779 --------------------------------------------------------------*/ 780 781 /* Archives, Categories & Latest Posts */ 782 783 [data-align="center"] .wp-block-archives ul, 784 [data-align="center"] .wp-block-categories ul, 785 [data-align="center"] .wp-block-latest-posts ul { 786 list-style-position: inside; 787 } 788 771 789 772 790 /* Latest Comments */
Note: See TracChangeset
for help on using the changeset viewer.