Skip to content

Instantly share code, notes, and snippets.

@mdeltito
Created August 3, 2012 16:08
Show Gist options
  • Save mdeltito/3249043 to your computer and use it in GitHub Desktop.
Save mdeltito/3249043 to your computer and use it in GitHub Desktop.
Vertical Rhythm issue
/* SCSS */
$base-font-size: 16px;
$base-line-height: 24px;
@import "compass/typography/vertical_rhythm";
@include establish-baseline;
#content {
@include adjust-font-size-to(13px);
}
/* OUTPUT */
/* line 58, ../../../../../.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss */
body {
font-size: 100%;
line-height: 1.5em;
}
/* line 62, ../../../../../.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss */
html > body {
font-size: 16px;
}
#content {
font-size: 0.813em;
line-height: 1.846em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment