WordPress.org

Make WordPress Core

Ticket #45238: 45238.patch

File 45238.patch, 2.3 KB (added by laurelfulford, 3 years ago)
  • src/wp-content/themes/twentyten/blocks.css

     
    1551554.0 Blocks - Layout Elements
    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;
    171162}
    172163
     164/* Media & Text */
     165
     166.wp-block-media-text {
     167        margin-bottom: 24px;
     168}
     169
    173170/*--------------------------------------------------------------
    1741715.0 Blocks - Widgets
    175172--------------------------------------------------------------*/
  • src/wp-content/themes/twentyten/editor-blocks.css

     
    17171.0 General Typography
    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,
    2232.wp-block-freeform.block-library-rich-text__tinymce li {
     
    6575
    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
    7482/* Link styles */
     
    218226        font-size: 18px;
    219227}
    220228
    221 /* Cover Image */
     229/* Cover */
    222230
    223 .wp-block-cover-image-text {
     231.wp-block-cover-image-text,
     232.wp-block-cover-text {
    224233        font-size: 32px;
    225234}
    226235