Sha256: def8669f41620a82b2552cc715d6912815d8661945e5e17692a11ad38a6618fb

Contents?: true

Size: 1.67 KB

Versions: 13

Compression:

Stored size: 1.67 KB

Contents

body {
  color: $base-font-color;
  font-family: $base-font-family;
  font-size: $base-font-size;
  -webkit-font-smoothing: antialiased;
  line-height: $base-line-height;
}

h1, h2, h3, h4, h5, h6 {
  font-family: $header-font-family;
  line-height: 1.25em;
  margin: 0;
  text-rendering: optimizeLegibility; // Fix the character spacing for headings
}

h1 {
  font-size: $base-font-size * 2.25; // 16 * 2.25 = 36px
}

h2 {
  font-size: $base-font-size * 2; // 16 * 2 = 32px
}

h3 {
  font-size: $base-font-size * 1.75; // 16 * 1.75 = 28px
}

h4 {
  font-size: $base-font-size * 1.5; // 16 * 1.5 = 24px
}

h5 {
  font-size: $base-font-size * 1.25; // 16 * 1.25 = 20px
}

h6 {
  font-size: $base-font-size;
}

p {
  margin: 0 0 ($base-line-height * .5);
}

a {
  color: $base-link-color;
  text-decoration: none;
  @include transition(color 0.1s linear);

  &:hover {
    color: $hover-link-color;
  }

  &:active, &:focus {
    color: $hover-link-color;
    outline: none;
  }
}

hr {
  border-bottom: 1px solid $base-border-color;
  border-left: none;
  border-right: none;
  border-top: none;
  margin: $base-line-height 0;
}

img {
  margin: 0;
  max-width: 100%;
}

abbr, acronym {
  border-bottom: 1px dotted $base-border-color;
  cursor: help;
}

address {
  display: block;
  margin: 0 0 ($base-line-height / 2);
}

hgroup {
  margin-bottom: $base-line-height / 2;
}

del {
  color: lighten($base-font-color, 15);
}

blockquote {
  border-left: 2px solid $base-border-color;
  color: lighten($base-font-color, 15);
  margin: $base-line-height 0;
  padding-left: $base-line-height / 2;
}

cite {
  color: lighten($base-font-color, 25);
  font-style: italic;

  &:before {
    content: '\2014 \00A0';
  }
}

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
bitters-compass-0.9.5 stylesheets/bitters/_typography.scss
bitters-0.9.5 app/assets/stylesheets/_typography.scss
bitters-0.9.4 app/assets/stylesheets/_typography.scss
growbot-web-0.0.6 lib/growbot/web/views/sass/bitters/_typography.scss
growbot-web-0.0.5 lib/growbot/web/views/sass/bitters/_typography.scss
growbot-web-0.0.4 lib/growbot/web/views/sass/bitters/_typography.scss
growbot-web-0.0.2 lib/growbot/web/views/sass/bitters/_typography.scss
growbot-web-0.0.1 lib/growbot/web/views/sass/bitters/_typography.scss
refills-0.0.2 source/stylesheets/bitters/_typography.scss
bitters-compass-0.9.3 stylesheets/bitters/_typography.scss
bitters-0.9.3 app/assets/stylesheets/_typography.scss
bitters-compass-0.9.2 stylesheets/bitters/_typography.scss
bitters-0.9.2 app/assets/stylesheets/_typography.scss