Skip to content

Commit

Permalink
add bg for sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
misike12 committed Jul 18, 2024
1 parent ec31b6a commit cae8305
Show file tree
Hide file tree
Showing 2 changed files with 229 additions and 27 deletions.
11 changes: 10 additions & 1 deletion .vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@

/* Background image */

.Layout {
.VPContent {
background-color: var(--vp-c-bg-alt) !important;
background: url('/assets/images/background.webp');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: bottom;
background-size: cover;
}

.VPSidebar {
background-color: var(--vp-c-bg-alt) !important;
background: url('/assets/images/background.webp');
background-repeat: no-repeat;
Expand Down
Loading

0 comments on commit cae8305

Please sign in to comment.