;(function () {
'use strict'
- anchors.options.placement = 'left'
- anchors.add('.bd-content > h1, .bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5')
+ anchors.options = {
+ icon: '#'
+ }
+ anchors.add('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5')
}())
// scss-lint:disable ImportantRule
.anchorjs-link {
- padding-right: .25em !important;
- margin-left: -.75em !important;
- color: inherit;
-}
-
-@media (max-width: 480px) {
- .anchorjs-link {
- display: none;
- }
-}
-
-*:hover > .anchorjs-link {
- opacity: .75;
+ font-weight: normal;
+ color: rgba($link-color, .5);
transition: color .16s linear;
-}
-*:hover > .anchorjs-link:hover,
-.anchorjs-link:focus {
- text-decoration: none;
- opacity: 1;
+ &:hover {
+ color: $link-color;
+ text-decoration: none;
+ }
}