Sha256: 997019064658defad935b67bd48ad14894624164e61a2f207b29b1c62cf69b4f

Contents?: true

Size: 998 Bytes

Versions: 13

Compression:

Stored size: 998 Bytes

Contents

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

    .octicon-link {
      color: $black;
      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 lighten($gray-200, 3%);
  }

  h2 {
    padding-bottom: 0.3em;
    font-size: 1.5em;
    border-bottom: 1px solid lighten($gray-200, 3%);
  }

  h3 {
    font-size: 1.25em;
  }

  h4 {
    font-size: 1em;
  }

  h5 {
    font-size: 0.875em;
  }

  h6 {
    font-size: 0.85em;
    color: $gray-500;
  }
}

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
primery-0.1.0 _sass/primer-markdown/lib/headings.scss
jekyll-theme-primer-0.6.0 _sass/primer-markdown/lib/headings.scss
github-docs-0.0.5 _sass/primer-markdown/headings.scss
github-docs-0.0.4 _sass/primer-markdown/headings.scss
github-docs-0.0.3 _sass/primer-markdown/headings.scss
github-docs-0.0.2 _sass/primer-markdown/headings.scss
github-docs-0.0.1 _sass/primer-markdown/headings.scss
jekyll-theme-primer-0.5.4 _sass/primer-markdown/lib/headings.scss
jekyll-theme-primer-0.5.3 _sass/primer-markdown/lib/headings.scss
jekyll-theme-primer-0.5.2 _sass/primer-markdown/lib/headings.scss
jekyll-theme-primer-0.5.1 _sass/primer-markdown/lib/headings.scss
jekyll-theme-primer-0.5.0 _sass/primer-markdown/lib/headings.scss
jekyll-theme-primer-0.4.0 _sass/primer-markdown/lib/headings.scss