Changeset 49728 for branches/5.6/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/utilities/_editor.scss
- Timestamp:
- 12/01/2020 07:25:43 PM (4 years ago)
- Location:
- branches/5.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.6
-
branches/5.6/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/utilities/_editor.scss
r49574 r49728 27 27 28 28 // Gutenberg text color options 29 30 29 .has-primary-color[class] { 31 30 color: var(--global--color-primary); … … 39 38 .has-background { 40 39 41 &:not(.has-background-background-color) a:not(.wp-block-button__link),40 a, 42 41 p, 43 42 h1, … … 71 70 } 72 71 73 /** 74 * Spacing Overrides 75 */ 76 72 // Spacing Overrides 77 73 [data-block] { 78 74 margin-top: var(--global--spacing-vertical); 79 75 margin-bottom: var(--global--spacing-vertical); 80 81 [data-block]:first-child {82 margin-top: 0;83 }84 85 // Needs to be the second-last child to avoid applying this to the appender.86 [data-block]:nth-last-child(2) {87 margin-bottom: 0;88 }89 76 } 90 77 91 / * Block Alignments */78 // Block Alignments 92 79 .wp-block { 93 80 … … 142 129 } 143 130 } 131 132 // Remove the border of blockquotes inside the classic block. 133 .wp-block-freeform.block-library-rich-text__tinymce blockquote { 134 border: none; 135 } 136 137 // Adjust the position of the quote symbol for blockquotes inside the classic block. 138 .wp-block-freeform.block-library-rich-text__tinymce blockquote:before { 139 left: 5px; 140 }
Note: See TracChangeset
for help on using the changeset viewer.