_anchorjs.scss 394 B

123456789101112131415161718192021222324252627
  1. // AnchorJS Styles
  2. .anchorjs-link {
  3. color: inherit;
  4. transition: all .16s linear;
  5. text-decoration: none;
  6. &:link,
  7. &:visited {
  8. text-decoration: none;
  9. color: inherit;
  10. }
  11. @media (max-width: 480px) {
  12. display: none;
  13. }
  14. }
  15. *:hover > .anchorjs-link {
  16. opacity: .5;
  17. margin-left: -0.9em !important;
  18. }
  19. *:hover > .anchorjs-link:hover,
  20. .anchorjs-link:focus {
  21. opacity: 1;
  22. }