Ticket #45239: 45239.1.patch
File 45239.1.patch, 3.3 KB (added by , 6 years ago) |
---|
-
src/wp-content/themes/twentyeleven/blocks.css
130 130 width: 100%; 131 131 } 132 132 133 /* Cover Image*/133 /* Cover */ 134 134 135 .wp-block-cover-image.aligncenter { 135 .wp-block-cover-image.aligncenter, 136 .wp-block-cover.aligncenter { 136 137 clear: both; 137 138 display: flex; 138 139 } 139 140 140 .wp-block-cover-image.alignleft { 141 .wp-block-cover-image.alignleft, 142 .wp-block-cover.alignleft { 141 143 margin-right: 1.625em; 142 144 } 143 145 144 .wp-block-cover-image.alignright { 146 .wp-block-cover-image.alignright, 147 .wp-block-cover.alignright { 145 148 margin-left: 1.625em; 146 149 } 147 150 … … 260 263 max-width: 100%; 261 264 } 262 265 266 /* Media & Text */ 267 268 .wp-block-media-text { 269 margin-bottom: 1.625em; 270 } 271 272 .wp-block-media-text *:last-child { 273 margin-bottom: 0; 274 } 275 263 276 /*-------------------------------------------------------------- 264 277 5.0 Blocks - Widgets 265 278 --------------------------------------------------------------*/ 266 279 280 /* Archives, Categories & Latest Posts */ 281 282 .wp-block-archives.aligncenter, 283 .wp-block-categories.aligncenter, 284 .wp-block-latest-posts.aligncenter { 285 list-style-position: inside; 286 margin-left: 2.5em; 287 text-align: center; 288 } 289 290 .rtl .wp-block-archives.aligncenter, 291 .rtl .wp-block-categories.aligncenter, 292 .rtl .wp-block-latest-posts.aligncenter { 293 margin-left: 0; 294 margin-right: 2.5em; 295 } 296 267 297 /* Latest Comments */ 268 298 269 299 .wp-block-latest-comments { -
src/wp-content/themes/twentyeleven/editor-blocks.css
72 72 73 73 /* Main column width */ 74 74 75 body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block, 76 body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender, 77 body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block { 78 max-width: 614px; 75 .editor-styles-wrapper { 76 max-width: 100% !important; /* Override where editor-style.css is affecting this. */ 79 77 } 80 78 79 .wp-block { 80 max-width: 614px; /* 584px + 30px to account for padding */ 81 } 82 81 83 /* Link styles */ 82 84 83 85 .edit-post-visual-editor a, … … 288 290 font-size: 16px; 289 291 } 290 292 293 /* Cover */ 291 294 292 /* Cover Image */ 293 294 .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-image-text { 295 .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-image-text, 296 .edit-post-visual-editor .editor-block-list__block .wp-block-cover p.wp-block-cover-text { 295 297 font-size: 30px; 296 298 line-height: 37.5px; 297 299 } … … 385 387 text-shadow: 0 -1px 0 rgba(0,0,0,0.3); 386 388 } 387 389 390 /* Media & Text */ 391 392 .wp-block-media-text *:last-child { 393 margin-bottom: 0; 394 } 395 388 396 /*-------------------------------------------------------------- 389 397 6.0 Blocks - Widgets 390 398 --------------------------------------------------------------*/ 391 399 400 /* Archives, Categories & Latest Posts */ 401 402 [data-align="center"] .wp-block-archives ul, 403 [data-align="center"] .wp-block-categories ul, 404 [data-align="center"] .wp-block-latest-posts ul { 405 list-style-position: inside; 406 margin-left: 2.5em; 407 text-align: center; 408 } 409 392 410 /* Latest Comments */ 393 411 394 412 .wp-block-latest-comments {