Ticket #55991: 55991-4.diff
| File 55991-4.diff, 4.0 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 25 … … 39 26 padding-left: inherit; 40 27 41 28 p { 42 font-size: var(--heading--font-size-h5);43 29 max-width: inherit; 44 30 width: inherit; 45 31 } 46 47 cite,48 footer {49 font-size: var(--global--font-size-xs);50 letter-spacing: var(--global--letter-spacing);51 }52 32 } 53 33 54 strong {55 font-weight: var(--quote--font-weight-strong);56 }57 58 34 &:before { 59 35 content: "\201C"; 60 font-size: var(--quote--font-size);61 line-height: var(--quote--line-height);62 36 position: absolute; 63 37 left: calc(-0.5 * var(--global--spacing-horizontal)); 64 38 } 65 39 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 40 @include media(mobile-only) { 75 41 padding-left: calc(0.5 * var(--global--spacing-horizontal)); 76 42 -
src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss
4 4 margin: var(--global--spacing-vertical) auto var(--global--spacing-vertical) var(--global--spacing-horizontal); 5 5 padding-left: 1em; 6 6 7 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 }14 15 strong {16 font-weight: var(--quote--font-weight-strong);17 }18 19 7 &:before { 20 8 content: "\201C"; 21 font-size: var(--quote--font-size);22 line-height: var(--quote--line-height);23 9 left: 8px; 24 10 } 25 11 26 12 .wp-block-quote__citation { 27 13 color: currentColor; 28 font-size: var(--global--font-size-xs);29 font-style: var(--quote--font-style-cite);30 14 31 15 .has-background &, 32 16 [class*="background-color"] &, … … 49 33 // Align the quote left of the text. 50 34 p:before { 51 35 content: "\201D"; 52 font-size: var(--quote--font-size);53 font-weight: normal;54 line-height: var(--quote--line-height);55 36 margin-right: 5px; 56 37 } 57 38 } -
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 }