WordPress.org

Make WordPress Core

Changeset 44152 for trunk


Ignore:
Timestamp:
12/14/2018 02:54:17 AM (3 years ago)
Author:
desrosj
Message:

Bundled Themes: Expand initial block editor support.

A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.

Props pento, davidakennedy, laurelfulford.

Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.

Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.

Location:
trunk
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/wp-content/themes/twentyeleven/blocks.css

    r44139 r44152  
    131131}
    132132
    133 /* Cover Image */
    134 
    135 .wp-block-cover-image.aligncenter {
     133/* Cover */
     134
     135.wp-block-cover-image.aligncenter,
     136.wp-block-cover.aligncenter {
    136137    clear: both;
    137138    display: flex;
    138139}
    139140
    140 .wp-block-cover-image.alignleft {
     141.wp-block-cover-image.alignleft,
     142.wp-block-cover.alignleft {
    141143    margin-right: 1.625em;
    142144}
    143145
    144 .wp-block-cover-image.alignright {
     146.wp-block-cover-image.alignright,
     147.wp-block-cover.alignright {
    145148    margin-left: 1.625em;
    146149}
     
    261264}
    262265
     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
    263276/*--------------------------------------------------------------
    2642775.0 Blocks - Widgets
    265278--------------------------------------------------------------*/
     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}
    266296
    267297/* Latest Comments */
  • trunk/src/wp-content/themes/twentyeleven/editor-blocks.css

    r44139 r44152  
    7373/* Main column width */
    7474
    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. */
     77}
     78
     79.wp-block {
     80    max-width: 614px; /* 584px + 30px to account for padding */
    7981}
    8082
     
    289291}
    290292
    291 
    292 /* Cover Image */
    293 
    294 .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-image-text {
     293/* Cover */
     294
     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 {
    295297    font-size: 30px;
    296298    line-height: 37.5px;
     
    386388}
    387389
     390/* Media & Text */
     391
     392.wp-block-media-text *:last-child {
     393    margin-bottom: 0;
     394}
     395
    388396/*--------------------------------------------------------------
    3893976.0 Blocks - Widgets
    390398--------------------------------------------------------------*/
     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}
    391409
    392410/* Latest Comments */
  • trunk/src/wp-content/themes/twentyfifteen/css/blocks.css

    r44145 r44152  
    6060}
    6161
     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
    6275/*--------------------------------------------------------------
    63762.0 Blocks - Common Blocks
     
    8396}
    8497
    85 /* Cover Image */
     98/* Cover */
    8699
    87100.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 {
    89104    font-size: 29px;
    90105    line-height: 1.2069;
     
    188203
    189204.wp-block-cover-image.aligncenter,
     205.wp-block-cover.aligncenter,
    190206.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 {
    192210    display: flex;
    193211}
     
    440458}
    441459
     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
    442470/*--------------------------------------------------------------
    4434715.0 Blocks - Widgets
    444472--------------------------------------------------------------*/
     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}
    445482
    446483/* Latest Comments */
  • trunk/src/wp-content/themes/twentyfifteen/css/editor-blocks.css

    r44145 r44152  
    306306/* Main column width */
    307307
    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. */
    312314}
    313315
     
    557559}
    558560
    559 /* Cover Image */
     561/* Cover */
    560562
    561563.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 {
    563567    font-size: 29px;
    564568    line-height: 1.2069;
    565569}
    566 
    567570
    568571/* File */
     
    765768}
    766769
     770/* Media & Text */
     771
     772.wp-block-media-text *:last-child {
     773    margin-bottom: 0;
     774}
     775
    767776
    768777/*--------------------------------------------------------------
    7697786.0 Blocks - Widgets
    770779--------------------------------------------------------------*/
     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
    771789
    772790/* Latest Comments */
  • trunk/src/wp-content/themes/twentyfourteen/css/blocks.css

    r44144 r44152  
    128128}
    129129
    130 /* Cover Image */
    131 
    132 .wp-block-cover-image.aligncenter {
     130/* Cover */
     131
     132.wp-block-cover-image.aligncenter,
     133.wp-block-cover.aligncenter {
    133134    display: flex;
    134135}
    135 
    136136
    137137/* File */
     
    243243}
    244244
    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 
    255245/* Separator */
    256246
     
    262252.wp-block-separator.is-style-wide {
    263253    max-width: 100%;
     254}
     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;
    264264}
    265265
     
    273273.wp-block-categories.aligncenter,
    274274.wp-block-latest-posts.aligncenter {
     275    list-style-position: inside;
    275276    margin-left: 20px;
    276277    text-align: center;
  • trunk/src/wp-content/themes/twentyfourteen/css/editor-blocks.css

    r44144 r44152  
    2222.edit-post-visual-editor .editor-block-list__block p,
    2323.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
     24    font-size: 16px;
    2425    line-height: 1.5;
     26}
     27
     28.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
     29    font-family: Lato, sans-serif;
    2530}
    2631
     
    6974/* Main column width */
    7075
    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 */
    7578}
    7679
     
    308311}
    309312
    310 /* Cover Image */
    311 
    312 .wp-block-cover-image.aligncenter {
     313/* Cover */
     314
     315.wp-block-cover-image.aligncenter,
     316.wp-block-cover.aligncenter {
    313317    display: flex;
    314318}
     
    401405}
    402406
     407/* Media & Text */
     408
     409.wp-block-media-text *:last-child {
     410    margin-bottom: 0;
     411}
     412
    403413/*--------------------------------------------------------------
    4044146.0 Blocks - Widgets
     
    406416
    407417/* Archives, Categories & Latest Posts */
     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}
    408424
    409425.wp-block-archives li a,
  • trunk/src/wp-content/themes/twentyseventeen/assets/css/blocks.css

    r44148 r44152  
    9898}
    9999
    100 /* Cover Image */
     100/* Cover */
    101101
    102102.wp-block-cover-image.alignright,
     103.wp-block-cover.alignright,
    103104.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 {
    105108    display: flex;
    106109}
     
    220223}
    221224
     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
    222235/*--------------------------------------------------------------
    2232365.0 Blocks - Widgets
    224237--------------------------------------------------------------*/
     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}
    225247
    226248/* Comments */
  • trunk/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css

    r44148 r44152  
    2424    font-size: 15px;
    2525    font-size: 0.9375rem;
     26}
     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;
    2630}
    2731
     
    347351/* Main column width */
    348352
    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. */
     355}
     356
     357.wp-block {
     358    max-width: 674px; /* Based on one-column post width; 644px + 30px to account for padding. */
    353359}
    354360
     
    696702--------------------------------------------------------------*/
    697703
    698 /* Separators */
     704/* Separator */
    699705
    700706.edit-post-visual-editor .wp-block-separator {
     
    722728    white-space: nowrap;
    723729}
     730
     731/* Media & Text */
     732
     733.wp-block-media-text *:last-child {
     734    margin-bottom: 0;
     735}
     736
    724737/*--------------------------------------------------------------
    7257386.0 Blocks - Widgets
    726739--------------------------------------------------------------*/
     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}
    727748
    728749/* Latest Comments */
  • trunk/src/wp-content/themes/twentysixteen/css/blocks.css

    r44147 r44152  
    7575    display: block;
    7676    width: 100%;
     77}
     78
     79/* Cover */
     80
     81.wp-block-cover-image.aligncenter,
     82.wp-block-cover.aligncenter {
     83    display: flex;
    7784}
    7885
     
    241248}
    242249
     250/* Media & Text */
     251
     252.wp-block-media-text {
     253    margin-bottom: 1.75em;
     254}
     255
     256.wp-block-media-text *:last-child {
     257    margin-bottom: 0;
     258}
     259
    243260/*--------------------------------------------------------------
    2442615.0 Blocks - Widget Blocks
    245262--------------------------------------------------------------*/
     263
     264/* Archives, Categories & Latest Posts */
     265
     266.wp-block-archives.aligncenter,
     267.wp-block-categories.aligncenter,
     268.wp-block-latest-posts.aligncenter {
     269    list-style-position: inside;
     270    text-align: center;
     271}
    246272
    247273/* Latest Comments */
  • trunk/src/wp-content/themes/twentysixteen/css/editor-blocks.css

    r44147 r44152  
    2121.edit-post-visual-editor .editor-block-list__block,
    2222.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
    23     color: #1a1a1a;
    2423    font-family: Merriweather, Georgia, serif;
    2524    font-size: 16px;
     
    174173/* Main column width */
    175174
    176 body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block,
    177 body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender,
    178 body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block {
    179     max-width: 630px; /* 600px + 30px for padding; should be 840px for pages */
     175.editor-styles-wrapper {
     176    max-width: 100% !important; /* Override where editor-style.css is affecting this */
     177}
     178
     179.wp-block {
     180    max-width: 630px; /* 600px + 30px to account for padding. */
    180181}
    181182
     
    536537
    537538/* Buttons */
     539
    538540.wp-block-button .wp-block-button__link {
    539541    background: #1a1a1a;
     
    549551}
    550552
     553/* Media & Text */
     554
     555.wp-block-media-text *:last-child {
     556    margin-bottom: 0;
     557}
     558
    551559/*--------------------------------------------------------------
    5525606.0 Blocks - Widgets
    553561--------------------------------------------------------------*/
     562
     563/* Archives, Categories & Latest Posts */
     564
     565[data-align="center"] .wp-block-archives ul,
     566[data-align="center"] .wp-block-categories ul,
     567[data-align="center"] .wp-block-latest-posts ul {
     568    list-style-position: inside;
     569}
    554570
    555571/* Latest Comments */
  • trunk/src/wp-content/themes/twentyten/blocks.css

    r44137 r44152  
    156156--------------------------------------------------------------*/
    157157
    158 /* Columns */
    159 
    160 .wp-block-columns {
    161     margin: 0 -0.5em;
    162 }
    163 .wp-block-column {
    164     margin: 0 0.5em;
    165 }
    166 
    167158/* Separator */
    168159
    169160.wp-block-separator {
    170161    border: 0;
     162}
     163
     164/* Media & Text */
     165
     166.wp-block-media-text {
     167    margin-bottom: 24px;
    171168}
    172169
  • trunk/src/wp-content/themes/twentyten/editor-blocks.css

    r44137 r44152  
    1818--------------------------------------------------------------*/
    1919
     20.edit-post-visual-editor .editor-block-list__block,
     21.edit-post-visual-editor .editor-block-list__block p,
     22.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
     23    font-size: 16px;
     24}
     25
     26.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
     27    font-family: Georgia, "Bitstream Charter", serif;
     28}
     29
    2030.edit-post-visual-editor .editor-block-list__block .mce-content-body,
    2131.wp-block-freeform.block-library-rich-text__tinymce p,
     
    6676/* Main column width */
    6777
    68 body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block,
    69 body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender,
    70 body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block {
    71     max-width: 670px; /* 640px + 30px for padding */
     78.wp-block {
     79    max-width: 670px; /* 640px + 30px to account for padding */
    7280}
    7381
     
    219227}
    220228
    221 /* Cover Image */
    222 
    223 .wp-block-cover-image-text {
     229/* Cover */
     230
     231.wp-block-cover-image-text,
     232.wp-block-cover-text {
    224233    font-size: 32px;
    225234}
  • trunk/src/wp-content/themes/twentythirteen/css/blocks.css

    r44142 r44152  
    8787}
    8888
    89 /* Make sure the full and wide blocks still stay in Twenty Thirteen's wide container */
    90 
    9189@media (min-width: 1600px) {
     90
     91    /* Make sure the full and wide blocks still stay in Twenty Thirteen's wide container */
    9292    body:not(.sidebar) .alignfull {
    9393        margin-left: calc(50% - 800px);
     
    9797    }
    9898
     99    body:not(.sidebar) .wp-block-columns.alignfull,
     100    body:not(.sidebar) .wp-block-audio.alignfull,
     101    body:not(.sidebar) .wp-block-table.alignfull,
     102    body:not(.sidebar) .wp-block-latest-comments.alignfull {
     103        margin-left: calc(50% - 780px);
     104        margin-right: calc(50% - 780px);
     105    }
     106
    99107    body:not(.sidebar) .wp-block-gallery.alignfull {
    100108        margin-left: calc(50% - 808px); /* Adjust for gallery margins */
     
    102110        width: auto;
    103111        max-width: 1000%;
     112    }
     113
     114    /* Make sure the 'wide' alignment doesn't get too wide. */
     115    body:not(.sidebar) .alignwide {
     116        margin-left: -230px;
     117        margin-right: -230px;
    104118    }
    105119}
     
    173187}
    174188
    175 /* Cover Image */
    176 
    177 .wp-block-cover-image.aligncenter {
     189/* Cover */
     190
     191.wp-block-cover-image.aligncenter,
     192.wp-block-cover.aligncenter {
    178193    clear: both;
    179194    display: flex;
     
    263278}
    264279
     280body:not(.sidebar) .wp-block-table.alignwide,
     281body:not(.sidebar) .wp-block-table.alignfull {
     282    width: 100%;
     283}
     284
     285/* Some acrobatics to make sure the table blocks always fill the available space. */
     286
     287@media (max-width: 1599px) {
     288    body:not(.sidebar) .wp-block-table.alignwide {
     289        width: calc(302px + 50vw); /* Half the content area width plus half the screen width. */
     290    }
     291
     292    body:not(.sidebar) .wp-block-table.alignfull {
     293        width: 96vw;
     294    }
     295}
     296
     297@media (max-width: 999px) {
     298    body.sidebar .wp-block-table.alignwide {
     299        width: calc(302px + 50vw); /* Half the content area width plus half the screen width. */
     300    }
     301
     302    body.sidebar .wp-block-table.alignfull {
     303        width: 96vw;
     304    }
     305}
     306
     307@media (max-width: 654px) {
     308    body:not(.sidebar) .wp-block-table.alignwide,
     309    body.sidebar .wp-block-table.alignwide {
     310        width: 96vw;
     311    }
     312}
     313
     314@media (min-width: 1600px) {
     315    body:not(.sidebar) .wp-block-table.alignwide {
     316        width: 1064px;
     317    }
     318
     319    body:not(.sidebar) .wp-block-table.alignfull {
     320        width: 1560px;
     321    }
     322}
     323
    265324/*--------------------------------------------------------------
    2663255.0 Blocks - Layout Elements
     
    320379}
    321380
     381/* Media & Text */
     382
     383.wp-block-media-text {
     384    margin-bottom: 24px;
     385}
     386
     387.wp-block-media-text *:last-child {
     388    margin-bottom: 0;
     389}
     390
    322391/*--------------------------------------------------------------
    3233926.0 Blocks - Widgets
    324393--------------------------------------------------------------*/
     394
     395/* Archives, Categories & Latest Posts */
     396
     397.wp-block-archives.aligncenter,
     398.wp-block-categories.aligncenter,
     399.wp-block-latest-posts.aligncenter {
     400    list-style-position: inside;
     401    text-align: center;
     402}
    325403
    326404/* Latest Comments */
  • trunk/src/wp-content/themes/twentythirteen/css/editor-blocks.css

    r44142 r44152  
    5353--------------------------------------------------------------*/
    5454
    55 /* Main column width */
    56 
    57 .edit-post-visual-editor .editor-post-title__block,
    58 .edit-post-visual-editor .editor-default-block-appender,
    59 .edit-post-visual-editor .editor-block-list__block {
    60     max-width: 634px; /* 604 + 30 for editor block padding */
     55/* Main content width */
     56
     57.wp-block {
     58    max-width: 634px; /* 604px + 30px to account for padding */
     59}
     60
     61.wp-block.alignwide,
     62.wp-block.alignfull {
     63    max-width: inherit;
     64}
     65
     66[class^="wp-block-"] .wp-block {
     67    max-width: 100%;
    6168}
    6269
     
    231238}
    232239
    233 /* Cover Image */
    234 
    235 .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-image-text {
     240/* Cover */
     241
     242.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-image-text,
     243.edit-post-visual-editor .editor-block-list__block .wp-block-cover p.wp-block-cover-text {
    236244    font-size: 32px;
    237245    line-height: 1.25;
     
    340348}
    341349
     350/* Media & Text */
     351
     352.wp-block-media-text *:last-child {
     353    margin-bottom: 0;
     354}
     355
    342356/*--------------------------------------------------------------
    3433577.0 Blocks - Widgets
    344358--------------------------------------------------------------*/
     359
     360/* Archives, Categories & Latest Posts */
     361
     362[data-align="center"] .wp-block-archives ul,
     363[data-align="center"] .wp-block-categories ul,
     364[data-align="center"] .wp-block-latest-posts ul {
     365    list-style-position: inside;
     366    text-align: center;
     367}
    345368
    346369/* Latest Comments */
  • trunk/src/wp-content/themes/twentytwelve/css/blocks.css

    r44140 r44152  
    128128}
    129129
    130 /* Cover Image */
    131 
    132 .wp-block-cover-image.aligncenter {
     130/* Cover */
     131
     132.wp-block-cover-image.aligncenter,
     133.wp-block-cover.aligncenter {
    133134    display: flex;
    134135}
     
    297298}
    298299
     300/* Media & Text */
     301
     302.wp-block-media-text {
     303    margin-bottom: 24px;
     304    margin-bottom: 1.714285714rem;
     305}
     306
     307.wp-block-media-text *:last-child {
     308    margin-bottom: 0;
     309}
     310
    299311/*--------------------------------------------------------------
    3003125.0 Blocks - Widgets
    301313--------------------------------------------------------------*/
     314
     315/* Archives, Categories & Latest Posts */
     316
     317.wp-block-archives.aligncenter,
     318.wp-block-categories.aligncenter,
     319.wp-block-latest-posts.aligncenter {
     320    list-style-position: inside;
     321    text-align: center;
     322}
    302323
    303324/* Latest Comments */
  • trunk/src/wp-content/themes/twentytwelve/css/editor-blocks.css

    r44140 r44152  
    2525}
    2626
     27.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
     28    font-family: "Open Sans", Helvetica, Arial, sans-serif;
     29}
     30
    2731.edit-post-visual-editor .editor-block-list__block {
    2832    color: #444;
     
    7175/* Main column width */
    7276
    73 body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block,
    74 body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender,
    75 body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block {
    76     max-width: 655px;
     77.wp-block {
     78    max-width: 655px; /* 625px + 30px for padding */
    7779}
    7880
     
    219221}
    220222
    221 /* Cover Image */
    222 
    223 .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p {
     223/* Cover */
     224
     225.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p,
     226.edit-post-visual-editor .editor-block-list__block .wp-block-cover p {
    224227    font-size: 28px;
    225228}
     
    360363}
    361364
     365/* Media & Text */
     366
     367.wp-block-media-text *:last-child {
     368    margin-bottom: 0;
     369}
     370
    362371/*--------------------------------------------------------------
    3633726.0 Blocks - Widgets
    364373--------------------------------------------------------------*/
    365374
     375/* Archives, Categories & Latest Posts */
     376
     377[data-align="center"] .wp-block-archives ul,
     378[data-align="center"] .wp-block-categories ul,
     379[data-align="center"] .wp-block-latest-posts ul {
     380    list-style-position: inside;
     381}
     382
    366383/* Archives */
     384
    367385.gutenberg ul.wp-block-archives {
    368386    padding-left: 0;
Note: See TracChangeset for help on using the changeset viewer.