diff options
author | David O'Regan <doregan@gitlab.com> | 2021-06-08 04:50:33 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2021-06-08 04:50:33 +0300 |
commit | 67b753ceab6916d0e34c60d7112044b9da4bba88 (patch) | |
tree | 25a19a7a4f761ce4f2f0ac08cc8225d26d14e5ad | |
parent | 2b939c475ea87fe110651808d896b1a15c4769a5 (diff) |
Feedback for docs site typescale update
-rw-r--r-- | content/assets/stylesheets/_typography.scss | 21 | ||||
-rw-r--r-- | content/assets/stylesheets/footer.scss | 6 | ||||
-rw-r--r-- | content/assets/stylesheets/stylesheet.scss | 8 |
3 files changed, 24 insertions, 11 deletions
diff --git a/content/assets/stylesheets/_typography.scss b/content/assets/stylesheets/_typography.scss index 4314138a..0d64f354 100644 --- a/content/assets/stylesheets/_typography.scss +++ b/content/assets/stylesheets/_typography.scss @@ -1,5 +1,5 @@ --- -version: 7 +version: 8 --- @import 'variables'; @@ -118,6 +118,9 @@ version: 7 fill: $white; background-color: $pre-code-color; border: 0; + position: absolute; + right: 0; + top: 1px; svg { opacity: 0.5; transition: opacity 0.3s ease-in; @@ -194,6 +197,18 @@ version: 7 .gl-h6 { @include gl-font-weight-bold; @include gl-mb-3; + } + + h2, + h3, + h4, + h5, + h6, + .gl-h2, + .gl-h3, + .gl-h4, + .gl-h5, + .gl-h6 { // Permalinks on header elements. .anchor { @@ -308,11 +323,11 @@ version: 7 .monospace { @include gl-font-monospace; - @include gl-font-size-monospace-lg; + @include gl-font-size-monospace; @include gl-line-height-24; &.sm { - @include gl-font-size-monospace; + @include gl-font-size-monospace-sm; @include gl-line-height-20; } } diff --git a/content/assets/stylesheets/footer.scss b/content/assets/stylesheets/footer.scss index f4de162e..5d5b7deb 100644 --- a/content/assets/stylesheets/footer.scss +++ b/content/assets/stylesheets/footer.scss @@ -1,10 +1,14 @@ --- -version: 10 +version: 11 --- @import 'variables'; .footer { + img { + border: transparent; + } + border-color: $gds-gray-100; a { color: $footer-gray-500; diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss index 7bc1447b..8c84e906 100644 --- a/content/assets/stylesheets/stylesheet.scss +++ b/content/assets/stylesheets/stylesheet.scss @@ -1,5 +1,5 @@ --- -version: 112 +version: 113 --- @import 'variables'; @@ -24,12 +24,6 @@ body { } } -h1 { - .anchor { - display: none; - } -} - .main { padding: 0 1rem; z-index: 1; |