2021-12-24 06:20:07 +00:00
|
|
|
@mixin pullquote {
|
|
|
|
content: attr(data-pullquote);
|
|
|
|
font-size: 1em;
|
2024-02-26 11:41:39 +00:00
|
|
|
line-height: 1.4;
|
2021-12-24 06:20:07 +00:00
|
|
|
display: flex;
|
|
|
|
font-family: serif;
|
|
|
|
color: #555;
|
|
|
|
font-size: 1.25em;
|
|
|
|
}
|
2024-03-13 06:54:20 +00:00
|
|
|
|
|
|
|
@mixin left {
|
|
|
|
float: left;
|
|
|
|
max-width: 30ch;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin right {
|
|
|
|
float: right;
|
|
|
|
max-width: 30ch;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2024-02-26 11:41:39 +00:00
|
|
|
.has-pullquote {
|
2024-03-13 06:54:20 +00:00
|
|
|
&.left:before {
|
|
|
|
@include pullquote;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
@media (min-width: 40rem) {
|
|
|
|
@include left;
|
|
|
|
}
|
|
|
|
@media (min-width: 80rem) {
|
|
|
|
margin-left: -9rem;
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
2021-12-24 06:20:07 +00:00
|
|
|
}
|
2024-03-13 06:54:20 +00:00
|
|
|
&.right:before {
|
|
|
|
@include pullquote;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
@media (min-width: 40rem) {
|
|
|
|
@include right;
|
|
|
|
}
|
|
|
|
@media (min-width: 80rem) {
|
|
|
|
margin-right: -9rem;
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
2021-12-24 06:20:07 +00:00
|
|
|
}
|
|
|
|
}
|