Skip to content

Commit

Permalink
尝试修改样式,但是无反应
Browse files Browse the repository at this point in the history
  • Loading branch information
ruan-cat committed Apr 22, 2024
1 parent 96c0707 commit d7afa56
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/monorepo-2/src/.vuepress/styles/config.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// you can change config here
$colors: #c0392b, #d35400, #f39c12, #27ae60, #16a085, #2980b9, #8e44ad, #2c3e50,
#7f8c8d !default;

// 修改电脑响应式布局断点
$pc: 1920px;

// 侧边栏宽度
$sidebar-width: 18.5rem;

// 主要内容的宽度
$content-width: 1150px;
46 changes: 46 additions & 0 deletions packages/monorepo-2/src/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
@@ -1 +1,47 @@
// place your custom styles here

// 全局设置滚动条的宽度 设置较宽的。便于选中。
::-webkit-scrollbar {
width: 40px;
}
::-webkit-scrollbar-track {
width: 40px;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
background-color: #555;
}

aside {
background-color: rebeccapurple;
}

.site-name {
font-style: italic;
}

html {
::-webkit-scrollbar {
width: 40px;
}

::-webkit-scrollbar-track {
width: 40px;
}
}

aside {
&::-webkit-scrollbar {
width: 6px;
}

&:hover::-webkit-scrollbar {
width: 14px;
}

&::-webkit-scrollbar-track-piece {
border-radius: 6px;
background: #0000001a;
}
}
45 changes: 45 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d7afa56

Please sign in to comment.