feat: adjust sidebar font size and spacing

pull/654/head
Kia Ishii 3 years ago
parent d9decd9412
commit 562e345f07

@ -103,12 +103,12 @@ watchPostEffect(async () => {
.group + .group {
margin-top: 32px;
border-top: 1px solid var(--vp-c-divider-light);
padding-top: 8px;
padding-top: 10px;
}
@media (min-width: 960px) {
.group {
padding-top: 8px;
padding-top: 10px;
}
.group + .group {

@ -28,16 +28,10 @@ const { page } = useData()
padding: 6px 0;
}
@media (min-width: 960px) {
.title {
padding: 4px 0;
}
}
.title-text {
line-height: 20px;
font-size: 13px;
font-weight: 600;
font-size: 14px;
font-weight: 700;
color: var(--vp-c-text-1);
transition: color 0.5s;
}

@ -31,25 +31,18 @@ const closeSideBar = inject('close-sidebar') as () => void
}
.link:hover .link-text {
color: var(--vp-c-brand);
color: var(--vp-c-text-1);
transition: color 0.25s;
}
.link.active .link-text {
font-weight: 600;
color: var(--vp-c-brand);
transition: color 0.25s;
}
@media (min-width: 960px) {
.link {
padding: 4px 0;
}
}
.link-text {
line-height: 20px;
font-size: 13px;
font-size: 14px;
font-weight: 500;
color: var(--vp-c-text-2);
transition: color 0.5s;

Loading…
Cancel
Save