WordPress.org

Make WordPress Core

Ticket #45245: 45245.1.patch

File 45245.1.patch, 3.0 KB (added by laurelfulford, 3 years ago)
  • src/wp-content/themes/twentysixteen/css/blocks.css

     
    7676        width: 100%;
    7777}
    7878
     79/* Cover */
     80
     81.wp-block-cover-image.aligncenter,
     82.wp-block-cover.aligncenter {
     83        display: flex;
     84}
     85
    7986/* File */
    8087
    8188.wp-block-file .wp-block-file__button {
     
    240247        max-width: 100%;
    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--------------------------------------------------------------*/
    246263
     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}
     272
    247273/* Latest Comments */
    248274
    249275.wp-block-latest-comments__comment-meta a {
  • src/wp-content/themes/twentysixteen/css/editor-blocks.css

     
    2020
    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;
    2625        font-size: 1rem;
     
    173172
    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 */
    180177}
    181178
     179.wp-block {
     180        max-width: 630px; /* 600px + 30px to account for padding. */
     181}
     182
    182183/* Link styles */
    183184
    184185.edit-post-visual-editor a,
     
    535536--------------------------------------------------------------*/
    536537
    537538/* Buttons */
     539
    538540.wp-block-button .wp-block-button__link {
    539541        background: #1a1a1a;
    540542        border: 0;
     
    548550        text-transform: uppercase;
    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--------------------------------------------------------------*/
    554562
     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}
     570
    555571/* Latest Comments */
    556572
    557573.editor-block-list__block .wp-block-latest-comments__comment-meta a {