Ticket #55991: 55991--3.diff
| File 55991--3.diff, 4.1 KB (added by , 3 years ago) |
|---|
-
src/wp-content/themes/twentytwentyone/assets/sass/04-elements/blockquote.scss
3 3 position: relative; 4 4 margin: var(--global--spacing-vertical) 0 var(--global--spacing-vertical) var(--global--spacing-horizontal); 5 5 6 &:not([style*="font-weight"]) p { 7 font-weight: var(--quote--font-weight); 8 } 9 6 10 > * { 7 11 margin-top: var(--global--spacing-unit); 8 12 margin-bottom: var(--global--spacing-unit); … … 16 20 } 17 21 } 18 22 19 p {20 letter-spacing: var(--heading--letter-spacing-h4);21 font-family: var(--quote--font-family);22 font-size: var(--quote--font-size);23 font-style: var(--quote--font-style);24 font-weight: var(--quote--font-weight);25 line-height: var(--quote--line-height);26 }27 28 cite,29 footer {30 font-weight: normal;31 color: var(--global--color-primary);32 font-size: var(--global--font-size-xs);33 letter-spacing: var(--global--letter-spacing);34 }35 36 23 &.alignleft, 37 24 &.alignright { 38 39 25 padding-left: inherit; 40 26 41 27 p { 42 font-size: var(--heading--font-size-h5);43 28 max-width: inherit; 44 29 width: inherit; 45 30 } 46 47 cite,48 footer {49 font-size: var(--global--font-size-xs);50 letter-spacing: var(--global--letter-spacing);51 }52 31 } 53 32 54 strong {55 font-weight: var(--quote--font-weight-strong);56 }57 58 33 &:before { 59 34 content: "\201C"; 60 font-size: var(--quote--font-size);61 line-height: var(--quote--line-height);62 35 position: absolute; 63 36 left: calc(-0.5 * var(--global--spacing-horizontal)); 64 37 } 65 38 66 .wp-block-quote__citation,67 cite,68 footer {69 color: var(--global--color-primary);70 font-size: var(--global--font-size-xs);71 font-style: var(--quote--font-style-cite);72 }73 74 39 @include media(mobile-only) { 75 40 padding-left: calc(0.5 * var(--global--spacing-horizontal)); 76 41 -
src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss
3 3 border-left: none; 4 4 margin: var(--global--spacing-vertical) auto var(--global--spacing-vertical) var(--global--spacing-horizontal); 5 5 6 p {7 font-family: var(--quote--font-family);8 font-size: var(--quote--font-size);9 font-style: var(--quote--font-style);10 font-weight: var(--quote--font-weight);11 line-height: var(--quote--line-height);12 }13 14 strong {15 font-weight: var(--quote--font-weight-strong);16 }17 18 6 &:before { 19 7 content: "\201C"; 20 font-size: var(--quote--font-size);21 line-height: var(--quote--line-height);22 8 left: calc(-0.5 * var(--global--spacing-horizontal)); 23 9 } 24 10 25 11 .wp-block-quote__citation { 26 12 color: currentColor; 27 font-size: var(--global--font-size-xs);28 font-style: var(--quote--font-style-cite);29 13 30 14 .has-background &, 31 15 [class*="background-color"] &, … … 48 32 // Align the quote left of the text. 49 33 p:before { 50 34 content: "\201D"; 51 font-size: var(--quote--font-size);52 font-weight: normal;53 line-height: var(--quote--line-height);54 35 margin-right: 5px; 55 36 } 56 37 } -
src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_style.scss
3 3 4 4 &:before { 5 5 content: "\201C"; 6 font-size: var(--quote--font-size);7 line-height: var(--quote--line-height);8 6 left: 8px; 9 7 } 10 8 … … 36 34 // Align the quote left of the text. 37 35 p:before { 38 36 content: "\201D"; 39 font-size: var(--quote--font-size);40 font-weight: normal;41 line-height: var(--quote--line-height);42 37 margin-right: 5px; 43 38 } 44 39 }