Make WordPress Core

Ticket #45240: 45240.patch

File 45240.patch, 2.2 KB (added by laurelfulford, 6 years ago)
  • src/wp-content/themes/twentytwelve/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
     
    296297        border: 0;
    297298}
    298299
     300/* Media & Text */
     301
     302.wp-block-media-text {
     303        margin-bottom: 24px;
     304        margin-bottom: 1.714285714rem;
     305}
     306
    299307/*--------------------------------------------------------------
    3003085.0 Blocks - Widgets
    301309--------------------------------------------------------------*/
    302310
     311/* Archives, Categories & Latest Posts */
     312
     313.wp-block-archives.aligncenter,
     314.wp-block-categories.aligncenter,
     315.wp-block-latest-posts.aligncenter {
     316        text-align: center;
     317}
     318
    303319/* Latest Comments */
    304320
    305321.wp-block-latest-comments {
  • src/wp-content/themes/twentytwelve/css/editor-blocks.css

     
    2424        font-size: 14px;
    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;
    2933}
     
    7074
    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
    7981/* Link styles */
     
    218220        font-size: 18px;
    219221}
    220222
    221 /* Cover Image */
     223/* Cover */
    222224
    223 .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p {
     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}
    226229