Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Eipert <git@leipert.io>2018-04-13 20:17:10 +0300
committerMarcia Ramos <virtua.creative@gmail.com>2018-04-13 20:17:10 +0300
commite18f29833e62a3204bd2e40776da4142e2bf8fb6 (patch)
treeac268794f0d5c99e96df4671efd25cc019995eaf /content
parent68e215aee55ce35ed43b8043453b7ae36c7d3667 (diff)
Fix footnotes alignment
Diffstat (limited to 'content')
-rw-r--r--content/assets/stylesheets/stylesheet.scss20
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;
+ }
}
//