Skip to content

Commit

Permalink
Minor style updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sifex committed Dec 30, 2024
1 parent 609a901 commit 76f478c
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions .vitepress/theme/style/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Code
line-height: 12pt;
}

.VPSidebarItem .VPLink[target="_blank"] > * {
.VPSidebarItem .VPLink[target="_blank"]>* {
display: inline-block;
}

Expand All @@ -43,9 +43,17 @@ Layout
}

@media (min-width: 960px) {
/*.VPNavBarTitle.has-sidebar .title {*/
/* border-bottom-color: transparent !important;*/
/*}*/
.VPNavBarTitle.has-sidebar .title {
border-bottom-color: transparent !important;
}

html.dark .VPNavBar:not(.home.top) .content-body {
box-shadow: 0 20px 20px hsla(233, 22%, 10%, 0.6);
}

.divider-line {
display: none;
}
}

/** Between 960 and 1040 set .VPNav to fixed */
Expand Down Expand Up @@ -99,14 +107,14 @@ General
margin-left: -1.5rem;
}

.dark .vp-doc > div > ul li b,
.dark .vp-doc > div > ul li strong,
.dark .vp-doc > div > nav > ul li strong {
.dark .vp-doc>div>ul li b,
.dark .vp-doc>div>ul li strong,
.dark .vp-doc>div>nav>ul li strong {
color: #f2f2f5;
}

.dark .vp-doc > div > ul li:before,
.dark .vp-doc > div > nav > ul li:before {
.dark .vp-doc>div>ul li:before,
.dark .vp-doc>div>nav>ul li:before {
color: #43434d;
}

Expand All @@ -128,9 +136,9 @@ General
border-radius: 6px;
}

.dark div:not([class]) > p,
.dark .vp-doc > div > ul,
.dark .vp-doc > div > ol {
.dark div:not([class])>p,
.dark .vp-doc>div>ul,
.dark .vp-doc>div>ol {
color: var(--vp-c-text-2);
}

Expand Down Expand Up @@ -217,6 +225,7 @@ html:not(.dark) .dark-mode-only {
.DocSearch-Button[type="button"] {
background-color: var(--vp-c-bg-alt);
}

#local-search {
padding-right: 16px;
}
Expand All @@ -230,4 +239,4 @@ html:not(.dark) .dark-mode-only {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
}

0 comments on commit 76f478c

Please sign in to comment.