_style.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. .wp-block-pullquote {
  2. border-top-color: #{map-deep-get($config-pullquote, "color", "border")};
  3. border-top-width: #{map-deep-get($config-pullquote, "border", "width")};
  4. border-bottom-color: #{map-deep-get($config-pullquote, "color", "border")};
  5. border-bottom-width: #{map-deep-get($config-pullquote, "border", "width")};
  6. color: #{map-deep-get($config-global, "color", "foreground", "default")};
  7. blockquote p {
  8. @include font-family( map-deep-get($config-pullquote, "font", "family") );
  9. font-size: #{map-deep-get($config-heading, "font", "size", "h4")};
  10. letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h4")};
  11. line-height: #{map-deep-get($config-heading, "font", "line-height", "h4")};
  12. }
  13. &.is-style-solid-color {
  14. blockquote p {
  15. font-size: #{map-deep-get($config-heading, "font", "size", "h4")};
  16. }
  17. }
  18. a {
  19. color: currentColor;
  20. }
  21. .wp-block-pullquote__citation,
  22. cite,
  23. footer {
  24. color: #{map-deep-get($config-global, "color", "foreground", "light")};
  25. font-size: #{map-deep-get($config-global, "font", "size", "sm")};
  26. letter-spacing: #{map-deep-get($config-global, "font", "letter-spacing", "sm")};
  27. }
  28. blockquote {
  29. padding-left: 0;
  30. }
  31. &.is-style-solid-color {
  32. color: #{map-deep-get($config-global, "color", "background", "default")};
  33. .wp-block-pullquote__citation,
  34. cite,
  35. footer {
  36. color: currentColor;
  37. }
  38. &:not(.has-background) {
  39. background-color: #{map-deep-get($config-pullquote, "color", "background")};
  40. }
  41. }
  42. }