.wp-block-pullquote { padding: calc( 2 * var(--global--spacing-unit) ) 0; text-align: left; // Theme? border-top-color: var(--pullquote--border-color); border-top-width: var(--pullquote--border-width); border-bottom-color: var(--pullquote--border-color); border-bottom-width: var(--pullquote--border-width); color: var(--pullquote--color-foreground); p { font-family: var(--pullquote--font-family); font-size: var(--pullquote--font-size); font-style: var(--pullquote--font-style); letter-spacing: var(--pullquote--letter-spacing); line-height: var(--pullquote--line-height); margin: 0; } a { color: currentColor; } .wp-block-pullquote__citation, cite, footer { color: var(--global--color-foreground-low-contrast); font-size: var(--global--font-size-xs); } // Block Options &:not(.is-style-solid-color) { background: none; } &.is-style-solid-color { background-color: var(--pullquote--color-foreground); color: var(--pullquote--color-background); padding: calc( 2 * var(--global--spacing-unit) ); &.alignleft blockquote, &.alignright blockquote { padding-left: var(--global--spacing-unit); padding-right: var(--global--spacing-unit); max-width: inherit; } blockquote { margin: 0; text-align: left; max-width: 100%; } .wp-block-pullquote__citation, cite, footer { color: currentColor; } } } .wp-block[data-align="full"] { .wp-block-pullquote:not(.is-style-solid-color) { blockquote { padding: 0 calc( 2 * var(--global--spacing-unit)); } } }