Ticket #45243: 45243.2.patch
File 45243.2.patch, 3.2 KB (added by , 6 years ago) |
---|
-
src/wp-content/themes/twentyfourteen/css/blocks.css
127 127 width: 100%; 128 128 } 129 129 130 /* Cover Image*/130 /* Cover */ 131 131 132 .wp-block-cover-image.aligncenter { 132 .wp-block-cover-image.aligncenter, 133 .wp-block-cover.aligncenter { 133 134 display: flex; 134 135 } 135 136 136 137 137 /* File */ 138 138 139 139 .wp-block-file .wp-block-file__button { … … 242 242 background-color: #55d737; 243 243 } 244 244 245 /* Columns */246 247 .wp-block-columns {248 margin: 0 -0.5em;249 }250 251 .wp-block-column {252 margin: 0 0.5em;253 }254 255 245 /* Separator */ 256 246 257 247 .wp-block-separator { … … 263 253 max-width: 100%; 264 254 } 265 255 256 /* Media & Text */ 257 258 .wp-block-media-text { 259 margin-bottom: 24px; 260 } 261 262 .wp-block-media-text *:last-child { 263 margin-bottom: 0; 264 } 265 266 266 /*-------------------------------------------------------------- 267 267 5.0 Blocks - Widgets 268 268 --------------------------------------------------------------*/ … … 272 272 .wp-block-archives.aligncenter, 273 273 .wp-block-categories.aligncenter, 274 274 .wp-block-latest-posts.aligncenter { 275 list-style-position: inside; 275 276 margin-left: 20px; 276 277 text-align: center; 277 278 } -
src/wp-content/themes/twentyfourteen/css/editor-blocks.css
21 21 .edit-post-visual-editor .editor-block-list__block, 22 22 .edit-post-visual-editor .editor-block-list__block p, 23 23 .editor-default-block-appender input[type="text"].editor-default-block-appender__content { 24 font-size: 16px; 24 25 line-height: 1.5; 25 26 } 26 27 28 .editor-default-block-appender input[type="text"].editor-default-block-appender__content { 29 font-family: Lato, sans-serif; 30 } 31 27 32 .edit-post-visual-editor .editor-block-list__block { 28 33 color: #2b2b2b; 29 34 } … … 68 73 69 74 /* Main column width */ 70 75 71 body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block, 72 body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender, 73 body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block { 74 max-width: 504px; /* 474 + 30 for editor block padding */ 76 .wp-block { 77 max-width: 504px; /* 474px + 30px to account for padding */ 75 78 } 76 79 77 80 /* Link styles */ … … 307 310 } 308 311 } 309 312 310 /* Cover Image*/313 /* Cover */ 311 314 312 .wp-block-cover-image.aligncenter { 315 .wp-block-cover-image.aligncenter, 316 .wp-block-cover.aligncenter { 313 317 display: flex; 314 318 } 315 319 … … 400 404 line-height: normal; 401 405 } 402 406 407 /* Media & Text */ 408 409 .wp-block-media-text *:last-child { 410 margin-bottom: 0; 411 } 412 403 413 /*-------------------------------------------------------------- 404 414 6.0 Blocks - Widgets 405 415 --------------------------------------------------------------*/ … … 406 416 407 417 /* Archives, Categories & Latest Posts */ 408 418 419 [data-align="center"] .wp-block-archives ul, 420 [data-align="center"] .wp-block-categories ul, 421 [data-align="center"] .wp-block-categories ul { 422 list-style-position: inside; 423 } 424 409 425 .wp-block-archives li a, 410 426 .wp-block-categories__list li a, 411 427 .wp-block-latest-posts li a {