five-for-the-future/themes/wporg-5ftf/css/utilities/_pullquote.scss
Kelly Dwan 157b73e13f
Homepage: clean up item positioning
- Remove accidental drop-shadow (mistake in Figma)
- Use the correct fonts for callout text
- Switch to a fixed width of rems over percentages to make alignment easier
- Use rems to outdent quote so it lines up with the edge of the photo
- Overlap the blue box + photo on larger screens, and offset the quote down
- Remove unused selectors
- Fix quote display in the editor
2019-10-24 13:10:40 -04:00

35 lines
503 B
SCSS

.wp-block-pullquote.is-style-wporg-home-pullquote {
padding: 0;
margin-bottom: 0;
font-family: $font__serif;
border: none;
blockquote {
max-width: 100%;
margin: 0;
padding: 0;
border: none;
text-align: left;
}
@include breakpoint( $breakpoint-tablet ) {
position: absolute;
top: 14rem;
left: -17.5rem;
max-width: 16rem;
blockquote {
border-left: none;
color: $color__text-heading;
}
p {
font-size: 2.8rem;
&:first-child {
margin-top: 0;
}
}
}
}