Changeset 58410 for trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss
- Timestamp:
- 06/13/2024 08:53:39 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss
r56567 r58410 4 4 margin: var(--global--spacing-vertical) auto var(--global--spacing-vertical) var(--global--spacing-horizontal); 5 5 padding-left: 1em; 6 font-family: var(--quote--font-family); 7 font-size: var(--quote--font-size); 8 font-style: var(--quote--font-style); 9 font-weight: var(--quote--font-weight); 10 line-height: var(--quote--line-height); 6 11 7 12 p { 8 font-family: var(--quote--font-family); 9 font-size: var(--quote--font-size); 10 font-style: var(--quote--font-style); 11 font-weight: var(--quote--font-weight); 12 line-height: var(--quote--line-height); 13 font-family: inherit; 14 font-size: inherit; 15 font-style: inherit; 16 font-weight: inherit; 17 line-height: inherit; 18 letter-spacing: inherit; 13 19 } 14 20 … … 19 25 &:before { 20 26 content: "\201C"; 21 font-size: var(--quote--font-size);22 line-height: var(--quote--line-height);23 27 left: 8px; 24 28 } … … 26 30 .wp-block-quote__citation { 27 31 color: currentColor; 28 font-size: var(--global--font-size-xs); 29 font-style: var(--quote--font-style-cite); 32 font-family: inherit; 33 font-style: inherit; 34 font-weight: inherit; 35 line-height: inherit; 36 letter-spacing: inherit; 30 37 31 38 .has-background &, … … 35 42 color: currentColor; 36 43 } 44 } 45 46 &:where(:not([style*="font-style"])) .wp-block-quote__citation { 47 font-style: var(--quote--font-style-cite); 48 } 49 50 // The cite has a lighter font-weight than the rest of the quote. 51 &:where(:not([style*="font-weight"])) .wp-block-quote__citation { 52 font-weight: normal; 37 53 } 38 54 … … 50 66 p:before { 51 67 content: "\201D"; 52 font-size: var(--quote--font-size);53 font-weight: normal;54 line-height: var(--quote--line-height);55 68 margin-right: 5px; 56 69 } … … 65 78 } 66 79 80 // The large style was removed in WordPress 6.0, the CSS is kept for backwards compatibility. 67 81 &.is-large, 68 82 &.is-style-large {
Note: See TracChangeset
for help on using the changeset viewer.