Skip to content

Commit

Permalink
fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
marcolarosa committed Jul 24, 2024
1 parent de8bbcc commit a2e2e4a
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .vitepress/theme/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,21 @@
max-width: 100% !important;
}

.VPNavBarSearch {
flex-grow: 0 !important
}
/* min-width: 1440px same as original min-width: 960px */
/* @media (min-width: 1440px) {
.VPNavBarSearch {
padding-left: 0;
flex-grow: 1
}
@media (min-width: 1440px) {

.VPNavBar.has-sidebar .container {
background-color: white !important;
}
.VPNavBar.has-sidebar .title {
background-color: var(--vp-sidebar-bg-color) !important;
}
.VPNavBar.has-sidebar .content {
padding-right: 0 !important;
}
.VPSidebar {
z-index: 1000;
width: var(--vp-sidebar-width) !important;
Expand All @@ -34,7 +37,7 @@
}
}

/ Add additional min-width: 1680px /
/* Add additional min-width: 1680px */
@media (min-width: 1680px) {
.VPSidebar {
padding-left: calc((100% - (var(--vp-layout-max-width) - 64px)) / 2) !important;
Expand All @@ -48,7 +51,7 @@
.container {
max-width: 1680px !important
}
} */
}

/* Add additional min-width: 1680px */
/* @media (min-width: 2000px) {
Expand All @@ -65,7 +68,8 @@
.container {
max-width: 1800px !important
}
} */
}
*/

.medium-zoom-overlay {
}
Expand Down

0 comments on commit a2e2e4a

Please sign in to comment.