Sha256: c5a2c5a1f8aa96d9ed1591762b73682d44aa2f46aa4c83f9ff4e4c3ddd369317

Contents?: true

Size: 958 Bytes

Versions: 7

Compression:

Stored size: 958 Bytes

Contents

// Needs refactoring
// stylelint-disable selector-max-compound-selectors, selector-max-specificity
// stylelint-disable selector-no-type
.markdown-body {
  // Headings
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-top: ($margin * 1.5);
    margin-bottom: $margin;
    font-weight: $font-weight-bold;
    line-height: $lh-condensed;

    .octicon-link {
      color: #000;
      vertical-align: middle;
      visibility: hidden;
    }

    &:hover .anchor {
      text-decoration: none;

      .octicon-link {
        visibility: visible;
      }
    }

    tt,
    code {
      font-size: inherit;
    }
  }

  h1 {
    padding-bottom: 0.3em;
    font-size: 2em;
    border-bottom: 1px solid #eee;
  }

  h2 {
    padding-bottom: 0.3em;
    font-size: 1.5em;
    border-bottom: 1px solid #eee;
  }

  h3 {
    font-size: 1.25em;
  }

  h4 {
    font-size: 1em;
  }

  h5 {
    font-size: 0.875em;
  }

  h6 {
    font-size: 0.85em;
    color: #777;
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jekyll-theme-primer-0.1.7 _sass/primer-markdown/lib/headings.scss
jekyll-theme-primer-0.1.6 _sass/primer-markdown/lib/headings.scss
jekyll-theme-primer-0.1.5 _sass/primer-markdown/lib/headings.scss
jekyll-theme-primer-0.1.4 _sass/primer-markdown/lib/headings.scss
jekyll-theme-primer-0.1.3 _sass/primer-markdown/lib/headings.scss
jekyll-theme-primer-0.1.2 _sass/primer-markdown/lib/headings.scss
jekyll-theme-primer-0.1.1 _sass/primer-markdown/lib/headings.scss