0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-30 12:24:19 +01:00
Bootstrap/docs/assets/scss/_anchor.scss
2016-09-04 22:04:58 -07:00

25 lines
391 B
SCSS

// 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;
transition: color .16s linear;
}
*:hover > .anchorjs-link:hover,
.anchorjs-link:focus {
text-decoration: none;
opacity: 1;
}