Make WordPress Core

Ticket #45239: 45239.patch

File 45239.patch, 2.6 KB (added by laurelfulford, 6 years ago)
  • src/wp-content/themes/twentyeleven/blocks.css

     
    130130        width: 100%;
    131131}
    132132
    133 /* Cover Image */
     133/* Cover */
    134134
    135 .wp-block-cover-image.aligncenter {
     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}
    147150
     
    260263        max-width: 100%;
    261264}
    262265
     266/* Media & Text */
     267
     268.wp-block-media-text {
     269        margin-bottom: 1.625em;
     270}
     271
    263272/*--------------------------------------------------------------
    2642735.0 Blocks - Widgets
    265274--------------------------------------------------------------*/
    266275
     276/* Archives, Categories & Latest Posts */
     277
     278.wp-block-archives.aligncenter,
     279.wp-block-categories.aligncenter,
     280.wp-block-latest-posts.aligncenter {
     281        margin-left: 2.5em;
     282        text-align: center;
     283}
     284
     285.rtl .wp-block-archives.aligncenter,
     286.rtl .wp-block-categories.aligncenter,
     287.rtl .wp-block-latest-posts.aligncenter {
     288        margin-left: 0;
     289        margin-right: 2.5em;
     290}
     291
    267292/* Latest Comments */
    268293
    269294.wp-block-latest-comments {
  • src/wp-content/themes/twentyeleven/editor-blocks.css

     
    7272
    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. */
    7977}
    8078
     79.wp-block {
     80        max-width: 614px; /* 584px + 30px to account for padding */
     81}
     82
    8183/* Link styles */
    8284
    8385.edit-post-visual-editor a,
     
    288290        font-size: 16px;
    289291}
    290292
     293/* Cover */
    291294
    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 {
    295297        font-size: 30px;
    296298        line-height: 37.5px;
    297299}