Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.5)
// Compass (v1.0.0.alpha.18)
// ----
$base-line-height: 1.4em;
$base-font-size: 13px;
@mixin font-size($pixels) {
font-size: $pixels;
$line-height: ($base-font-size / $pixels) * $base-line-height;
line-height: $line-height;
margin-bottom: $line-height
}
.blockquote {
@include font-size(18px);
a {
color: lighten(#a31f34, 40%);
}
}
.blockquote--special {
@extend .blockquote;
}
.blockquote, .blockquote--special {
font-size: 18px;
line-height: 1.01111em;
margin-bottom: 1.01111em;
}
.blockquote a, .blockquote--special a {
color: #eda1ad;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment