2022-05-21 20:34:09 +08:00
|
|
|
@if $bookmark_enable {
|
2022-05-21 17:47:26 +08:00
|
|
|
.book-mark-link {
|
|
|
|
border-bottom: 0;
|
|
|
|
position: fixed;
|
|
|
|
top: -10px;
|
2022-05-28 15:48:52 +08:00
|
|
|
|
2022-05-21 17:47:26 +08:00
|
|
|
transition: top .3s;
|
2022-05-28 15:48:52 +08:00
|
|
|
-moz-transition:top .3s;
|
|
|
|
-webkit-transition:top .3s;
|
|
|
|
-o-transition:top .3s;
|
|
|
|
|
|
|
|
@if not $github_banner_enable {
|
|
|
|
@include sidebar-toggle-position(true);
|
|
|
|
} @else {
|
|
|
|
left: 30px;
|
|
|
|
}
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
@include tablet-mobile() {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
2022-05-28 15:48:52 +08:00
|
|
|
color: $bookmark_color;
|
2022-05-21 17:47:26 +08:00
|
|
|
font-size: 32px;
|
|
|
|
line-height: 1;
|
|
|
|
@include font-family-icons('\f02e');
|
|
|
|
}
|
|
|
|
|
2022-05-28 15:48:52 +08:00
|
|
|
&:hover {
|
|
|
|
top: 0px;
|
|
|
|
}
|
2022-05-21 17:47:26 +08:00
|
|
|
}
|
|
|
|
}
|