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:
authorMarcia Ramos <marcia@gitlab.com>2021-03-01 18:40:58 +0300
committerMarcia Ramos <marcia@gitlab.com>2021-03-01 18:40:58 +0300
commite587ff227392b19b44089e7bff0228d50b3a2e76 (patch)
treeb5a38622ae1d2d91827cc69d208327a4bcf90381
parent72c5ad3430de0cb72a0baaec6f143bc4ded185c8 (diff)
parent6b961f9437094f765e377da5a0583279c28d6a61 (diff)
Merge branch 'h1-before' into 'master'docs-preview-ee-55416
fix(H1): remove h1 before elements for breadcrumbs See merge request gitlab-org/gitlab-docs!1568
-rw-r--r--content/assets/stylesheets/stylesheet.scss27
1 files changed, 9 insertions, 18 deletions
diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss
index 108dd44f..1bd9b60d 100644
--- a/content/assets/stylesheets/stylesheet.scss
+++ b/content/assets/stylesheets/stylesheet.scss
@@ -1,5 +1,5 @@
---
-version: 100
+version: 101
---
@import "variables";
@@ -196,6 +196,7 @@ hr {
}
// Make code in headers match the font size of the given header.
+// https://gitlab.com/gitlab-org/gitlab-docs/issues/107#note_36655246
h2,
h3,
h4,
@@ -206,6 +207,13 @@ h6 {
code {
@include code-color;
}
+ &[id]::before {
+ display: block;
+ content: " ";
+ margin-top: -75px;
+ height: 75px;
+ visibility: hidden;
+ }
@media all and (min-width: $sm-width) {
.anchor {
opacity: 0;
@@ -1048,23 +1056,6 @@ h6 {
}
}
-// End of landing wrapper
-// https://gitlab.com/gitlab-org/gitlab-docs/issues/107#note_36655246
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- &[id]::before {
- display: block;
- content: " ";
- margin-top: -75px;
- height: 75px;
- visibility: hidden;
- }
-}
-
//badges
.badges-drop {
display: inline-block;