Sha256: 6a156e19a7eef79be1f2a3f57de766a75f299b99c2a746c037836addc13c6583

Contents?: true

Size: 1.32 KB

Versions: 14

Compression:

Stored size: 1.32 KB

Contents

// Headings -------------------------------------------------------------- */

%h1, %h2, %h3, %h4, %h5, %h6 {
  @extend %headers;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

%h1 {
  @if $adjust-font-size-to == true {
    @include adjust-font-size-to(nth($header-sizes, 1));
  }
  @else {
    font-size: nth($header-sizes, 1);
  }
}

%h2 {
  @if $adjust-font-size-to == true {
    @include adjust-font-size-to(nth($header-sizes, 2));
  }
  @else {
    font-size: nth($header-sizes, 2);
  }
}

%h3 {
  @if $adjust-font-size-to == true {
    @include adjust-font-size-to(nth($header-sizes, 3));
  }
  @else {
    font-size: nth($header-sizes, 3);
  }
}

%h4 {
  @if $adjust-font-size-to == true {
    @include adjust-font-size-to(nth($header-sizes, 4));
  }
  @else {
    font-size: nth($header-sizes, 4);
  }
}

%h5 {
  @if $adjust-font-size-to == true {
    @include adjust-font-size-to(nth($header-sizes, 5));
  }
  @else {
    font-size: nth($header-sizes, 5);
  }
}

%h6 {
  @if $adjust-font-size-to == true {
    @include adjust-font-size-to(nth($header-sizes, 6));
  }
  @else {
    font-size: nth($header-sizes, 6);
  }
}

h1 {
  @extend %h1;
}

h2 {
  @extend %h2;
}

h3 {
  @extend %h3;
}

h4 {
  @extend %h4;
}

h5 {
  @extend %h5;
}

h6 {
  @extend %h6;
}

@if $header-ampersands == true {
  @include header-ampersands;
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
survivalkit-1.0.beta.15 templates/shared/partials/04-base/_headers.scss
survivalkit-1.0.beta.14 templates/shared/partials/04-base/_headers.scss
survivalkit-1.0.beta.13 templates/shared/partials/04-base/_headers.scss
survivalkit-1.0.beta.12 templates/shared/partials/04-base/_headers.scss
survivalkit-1.0.beta.11 templates/shared/partials/04-base/_headers.scss
survivalkit-1.0.beta.10 templates/shared/partials/04-base/_headers.scss
survivalkit-1.0.beta.9 templates/shared/partials/04-base/_headers.scss
survivalkit-1.0.beta.8 templates/shared/partials/04-base/_headers.scss
survivalkit-1.0.beta.7 templates/shared/partials/04-base/_headers.scss
survivalkit-1.0.beta.6 templates/shared/partials/04-base/_headers.scss
survivalkit-1.0.beta.5 templates/shared/partials/04-base/_headers.scss
survivalkit-1.0.beta.4 templates/shared/partials/04-base/_headers.scss
survivalkit-1.0.beta.3 templates/shared/partials/04-base/_headers.scss
survivalkit-1.0.beta.2 templates/shared/partials/04-base/_headers.scss