Changeset 49728 for branches/5.6/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_style.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/quote/_style.scss
r49574 r49728 1 1 .wp-block-quote { 2 border-left: none; 3 4 &:before { 5 content: "\201C"; 6 font-size: var(--quote--font-size); 7 line-height: var(--quote--line-height); 8 left: 8px; 9 } 2 10 3 11 .wp-block-quote__citation, … … 5 13 footer { 6 14 7 .has-background :not(.has-background-background-color)&,8 [class*="background-color"] :not(.has-background-background-color)&,15 .has-background &, 16 [class*="background-color"] &, 9 17 [style*="background-color"] &, 10 18 .wp-block-cover[style*="background-image"] & { … … 21 29 border-right: none; 22 30 31 // Hide the left aligned quote. 23 32 &:before { 33 display: none; 34 } 35 36 // Align the quote left of the text. 37 p:before { 24 38 content: "\201D"; 25 left: initial; 26 right: calc(-0.5 * var(--global--spacing-horizontal)); 39 font-size: var(--quote--font-size); 40 font-weight: normal; 41 line-height: var(--quote--line-height); 42 margin-right: 5px; 27 43 } 28 44 } … … 59 75 &.has-text-align-right { 60 76 77 // Hide the left aligned quote. 61 78 &:before { 62 left: initial; 63 right: calc(-1 * var(--global--spacing-horizontal)); 79 display: none; 80 } 81 82 // Align the quote left of the text. 83 p:before { 84 content: "\201D"; 85 font-size: var(--quote--font-size-large); 86 font-weight: normal; 87 line-height: var(--quote--line-height-large); 88 margin-right: 10px; 64 89 } 65 90 }
Note: See TracChangeset
for help on using the changeset viewer.