20 lines
No EOL
318 B
SCSS
20 lines
No EOL
318 B
SCSS
@mixin pullquote {
|
|
content: attr(data-pullquote);
|
|
font-size: 1em;
|
|
line-height: 1.4;
|
|
display: flex;
|
|
font-family: serif;
|
|
color: #555;
|
|
padding: 1em;
|
|
font-size: 1.25em;
|
|
}
|
|
.has-pullquote {
|
|
&.before:before {
|
|
@include pullquote;
|
|
margin-bottom: 1rem;
|
|
}
|
|
&.after:after {
|
|
@include pullquote;
|
|
margin-top: 1rem;
|
|
}
|
|
} |