_pullquote.scss 911 B

1234567891011121314151617181920212223242526272829
  1. .wp-block-pullquote.is-style-solid-color,
  2. .wp-block-pullquote {
  3. text-align: var(--wp--custom--pullquote--typography--text-align); // See https://github.com/WordPress/gutenberg/pull/31996
  4. blockquote {
  5. padding: 0;
  6. margin: 0;
  7. p {
  8. font-size: 1em;
  9. padding: 0;
  10. margin: 0;
  11. line-height: inherit;
  12. }
  13. .wp-block-pullquote__citation, // For the editor
  14. cite {
  15. display: block;
  16. //See https://github.com/WordPress/gutenberg/issues/35735
  17. font-size: var(--wp--custom--pullquote--citation--typography--font-size);
  18. font-style: var(--wp--custom--pullquote--citation--typography--font-style);
  19. font-weight: var(--wp--custom--pullquote--citation--typography--font-weight);
  20. margin-top: var(--wp--custom--pullquote--citation--spacing--margin--top);
  21. }
  22. }
  23. &.is-style-solid-color {
  24. background-color: var(--wp--custom--color--foreground);
  25. color: var(--wp--custom--color--background);
  26. }
  27. }