Skip to content

Instantly share code, notes, and snippets.

@jsit
Created March 2, 2014 20:10
Show Gist options
  • Save jsit/9313029 to your computer and use it in GitHub Desktop.
Save jsit/9313029 to your computer and use it in GitHub Desktop.
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