From dfb6e1f80754c1c8f2d4d332c5292319f008a67b Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Wed, 27 May 2020 22:53:13 +0800 Subject: v2 original port --- assets/sass/@primer/css/markdown/headings.scss | 72 -------------------------- 1 file changed, 72 deletions(-) delete mode 100644 assets/sass/@primer/css/markdown/headings.scss (limited to 'assets/sass/@primer/css/markdown/headings.scss') diff --git a/assets/sass/@primer/css/markdown/headings.scss b/assets/sass/@primer/css/markdown/headings.scss deleted file mode 100644 index 26347bb..0000000 --- a/assets/sass/@primer/css/markdown/headings.scss +++ /dev/null @@ -1,72 +0,0 @@ -// 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: $text-black; - vertical-align: middle; - visibility: hidden; - } - - &:hover .anchor { - text-decoration: none; - - .octicon-link { - visibility: visible; - } - } - - tt, - code { - font-size: inherit; - } - } - - h1 { - // stylelint-disable-next-line primer/spacing - padding-bottom: 0.3em; - // stylelint-disable-next-line primer/typography - font-size: 2em; - border-bottom: $border-width $border-style $border-gray-light; - } - - h2 { - // stylelint-disable-next-line primer/spacing - padding-bottom: 0.3em; - // stylelint-disable-next-line primer/typography - font-size: 1.5em; - border-bottom: $border-width $border-style $border-gray-light; - } - - h3 { - // stylelint-disable-next-line primer/typography - font-size: 1.25em; - } - - h4 { - font-size: 1em; - } - - h5 { - // stylelint-disable-next-line primer/typography - font-size: 0.875em; - } - - h6 { - // stylelint-disable-next-line primer/typography - font-size: 0.85em; - color: $text-gray-light; - } -} -- cgit v1.2.3