bookmark.styl 416 B

123456789101112131415161718192021222324
  1. .book-mark-link {
  2. border-bottom: none;
  3. display: inline-block;
  4. position: fixed;
  5. right: $b2t-position-right;
  6. top: -10px;
  7. transition: .3s;
  8. +tablet-mobile() {
  9. display: none;
  10. }
  11. &::before {
  12. color: unquote(hexo-config('bookmark.color'));
  13. content: '\f02e';
  14. font-size: 32px;
  15. line-height: 1;
  16. font-family-icons();
  17. }
  18. }
  19. .book-mark-link:hover, .book-mark-link-fixed {
  20. top: -2px;
  21. }