diff options
1 files changed, 25 insertions, 10 deletions
| -rw-r--r-- | docs/src/docs.less | 35 |
diff --git a/docs/src/docs.less b/docs/src/docs.less index 97ac6d4..06910f2 100644 --- a/docs/src/docs.less +++ b/docs/src/docs.less @@ -1,7 +1,7 @@ /*! Spectre.css Docs | MIT License | github.com/picturepan2/spectre */ /* Spectre version */ .version::after { - content: "0.2.13"; + content: "0.2.14"; } // Core variables and mixins @import '../../src/variables.less'; @@ -49,7 +49,7 @@ } .navbar-brand { - color: lighten(@body-font-color, 5%); + color: @body-font-color; } .btn-link { @@ -71,7 +71,7 @@ margin-bottom: 4rem; h1 { - color: lighten(@body-font-color, 5%); + color: @body-font-color; font-size: 3.2rem; font-weight: 400; } @@ -84,7 +84,7 @@ margin-bottom: 3rem; u { - border-bottom: .2rem solid lighten(@body-font-color, 5%); + border-bottom: .2rem solid currentColor; padding-bottom: .1rem; text-decoration: none; } @@ -115,7 +115,6 @@ } .docs-content { - color: lighten(@body-font-color, 10%); padding-top: 0; .container { @@ -123,8 +122,28 @@ } header { - color: @body-font-color; padding-top: 6rem; + + &:hover { + .anchor { + height: auto; + width: auto; + } + } + } + + .anchor { + height: 0; + margin-left: -1em; + position: absolute; + overflow: hidden; + width: 0; + &:focus, + &:hover { + height: auto; + text-decoration: none; + width: auto; + } } .notes { @@ -201,10 +220,6 @@ font-size: 4rem; } - .navbar-brand .icon { - font-size: 3rem; - } - .form-autocomplete .menu { position: static; } |