diff options
author | Lukas Eipert <git@leipert.io> | 2018-04-13 20:17:10 +0300 |
---|---|---|
committer | Marcia Ramos <virtua.creative@gmail.com> | 2018-04-13 20:17:10 +0300 |
commit | e18f29833e62a3204bd2e40776da4142e2bf8fb6 (patch) | |
tree | ac268794f0d5c99e96df4671efd25cc019995eaf /content | |
parent | 68e215aee55ce35ed43b8043453b7ae36c7d3667 (diff) |
Fix footnotes alignment
Diffstat (limited to 'content')
-rw-r--r-- | content/assets/stylesheets/stylesheet.scss | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss index 7ad029b8..65b946a6 100644 --- a/content/assets/stylesheets/stylesheet.scss +++ b/content/assets/stylesheets/stylesheet.scss @@ -689,19 +689,15 @@ li { } } -.footnotes { - li::before { - display: none; - } -} - // https://gitlab.com/gitlab-com/gitlab-docs/issues/107#note_36655246 -*[id]:not(sup)::before { - display: block; - content: " "; - margin-top: -75px; - height: 75px; - visibility: hidden; +h1, h2, h3, h4, h5, h6 { + &[id]::before { + display: block; + content: " "; + margin-top: -75px; + height: 75px; + visibility: hidden; + } } // |