Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: sidebar #1005

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions docs/.vitepress/theme/style/sidebar.styl
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
.VPSidebar
.group
padding-top 40px
& + .group
padding 0
border-top none
.VPSidebarItem
.text
font-weight 400
padding 13px 0 14px
color var(--color-dark-primary)
font-size var(--font-size-s)
line-height var(--line-height-s)
Expand All @@ -16,7 +14,6 @@
.item h3
line-height var(--line-height-s)
.VPLink .text
padding 13px 0 14px
color var(--color-dark-primary)
.caret
height 14px
Expand All @@ -28,12 +25,10 @@
.VPSidebarItem.level-2 .items
.VPSidebarItem.level-3 .items
.VPSidebarItem.level-4 .items
padding-left 12px
margin-left 32px
border-left 2px solid var(--color-gray-4)
.indicator
width 2px
left - 14px
left - 18px
.VPSidebarItem.level-2 .items
margin-left 0

Expand All @@ -52,12 +47,10 @@
font-size 18px
.item
align-items center
padding 0 14px 0 8px
box-shadow 0px 1px 0px 0px #D1CED5
padding 0 14px 0 0
h2.text
padding 13px 0 14px
.VPSidebarItem.level-1 .item
box-shadow none
padding-left 32px
.VPSidebarItem.level-2 .item
padding-left 0
1 change: 1 addition & 0 deletions docs/auto-imports.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
export {}
declare global {
Expand Down
Loading