Skip to content

Instantly share code, notes, and snippets.

@fubhy
Created November 20, 2013 16:38
Show Gist options
  • Save fubhy/7566383 to your computer and use it in GitHub Desktop.
Save fubhy/7566383 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
@import "compass";
// =============================================================================
// sass/variables/_typography.scss
// =============================================================================
// Base variables for vertical rhythm.
$base-font-size: 14px;
$base-line-height: 4px;
// =============================================================================
// sass/base/_typography.scss
// =============================================================================
@include establish-baseline;
html {
// We use a very small base-line-height to allow for more fine-grained control
// of the vertical-rhythm functions. In order to not affect the default line
// height we adjust it by multiplying it with 5.
@include adjust-leading-to(5);
}
html {
font-size: 87.5%;
line-height: 0.28571em;
}
html {
line-height: 1.42857em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment