|
|
|
@ -10,6 +10,30 @@
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
padding-right: 8px;
|
|
|
|
|
gap: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bookmarkButton {
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 4px;
|
|
|
|
|
color: var(--ifm-color-emphasis-600);
|
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bookmarkButton:hover {
|
|
|
|
|
color: var(--ifm-color-primary);
|
|
|
|
|
transform: scale(1.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bookmarked {
|
|
|
|
|
color: var(--ifm-color-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bookmarkedItem {
|
|
|
|
@ -23,7 +47,7 @@
|
|
|
|
|
|
|
|
|
|
/* 确保侧边栏项目有足够的空间显示按钮 */
|
|
|
|
|
:global(.menu__link-wrapper) {
|
|
|
|
|
padding-right: 60px !important;
|
|
|
|
|
padding-right: 80px !important;
|
|
|
|
|
position: relative !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|