Make WordPress Core

Ticket #45243: 45243.1.patch

File 45243.1.patch, 2.7 KB (added by laurelfulford, 6 years ago)
  • src/wp-content/themes/twentyfourteen/css/blocks.css

     
    127127        width: 100%;
    128128}
    129129
    130 /* Cover Image */
     130/* Cover */
    131131
    132 .wp-block-cover-image.aligncenter {
     132.wp-block-cover-image.aligncenter,
     133.wp-block-cover.aligncenter {
    133134        display: flex;
    134135}
    135136
    136 
    137137/* File */
    138138
    139139.wp-block-file .wp-block-file__button {
     
    242242        background-color: #55d737;
    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
    257247.wp-block-separator {
     
    263253        max-width: 100%;
    264254}
    265255
     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
    266266/*--------------------------------------------------------------
    2672675.0 Blocks - Widgets
    268268--------------------------------------------------------------*/
  • src/wp-content/themes/twentyfourteen/css/editor-blocks.css

     
    2121.edit-post-visual-editor .editor-block-list__block,
    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;
    2526}
    2627
     28.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
     29        font-family: Lato, sans-serif;
     30}
     31
    2732.edit-post-visual-editor .editor-block-list__block {
    2833        color: #2b2b2b;
    2934}
     
    6873
    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
    7780/* Link styles */
     
    307310        }
    308311}
    309312
    310 /* Cover Image */
     313/* Cover */
    311314
    312 .wp-block-cover-image.aligncenter {
     315.wp-block-cover-image.aligncenter,
     316.wp-block-cover.aligncenter {
    313317        display: flex;
    314318}
    315319
     
    400404        line-height: normal;
    401405}
    402406
     407/* Media & Text */
     408
     409.wp-block-media-text *:last-child {
     410        margin-bottom: 0;
     411}
     412
    403413/*--------------------------------------------------------------
    4044146.0 Blocks - Widgets
    405415--------------------------------------------------------------*/