-
-
Save billerickson/bbacc1991d27355320afde0a35257019 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Blockquote | |
--------------------------------------------- */ | |
blockquote, | |
blockquote.wp-block-quote { | |
background: transparent; | |
text-align: left; | |
p { | |
font-size: 24px; | |
font-style: normal; | |
font-weight: 400; | |
} | |
cite, | |
.wp-block-quote__citation { | |
display: block; | |
font-size: 16px; | |
font-weight: 700; | |
margin-top: 12px; | |
text-transform: uppercase; | |
} | |
p:last-of-type { | |
margin-bottom: 0; | |
} | |
&.is-large, | |
&.is-style-large { | |
margin: calc( 2 * $block-margin ) auto; | |
p { | |
@include font-sizes( 24px, 36px ); | |
} | |
} | |
} | |
/* Pull Quote | |
--------------------------------------------- */ | |
.wp-block-pullquote { | |
border: none; | |
padding: 0; | |
blockquote { | |
border-left: 0; | |
border-top: 8px solid $highlight; | |
border-bottom: 8px solid $highlight; | |
padding: 16px 0; | |
text-align: center; | |
max-width: 50%; | |
margin: 0 auto; | |
} | |
&.alignleft, | |
&.alignright { | |
blockquote { | |
max-width: 100%; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment