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