Skip to content

Commit

Permalink
Improve: 修改文章列表(aside2)progress bar的样式,弃用默认的效果。
Browse files Browse the repository at this point in the history
根据严肃的模板,从图片中抓取颜色:背景色E5E8EC,前景色C8CED6,然后以c8ced6为关键词查找代码,
https://github.com/suyan/suyan.github.io/blob/64c14e1f12fc51c3c9626473d10a3cac68335fb9/assets/css/style.css
查找到关键的代码段之后,放到 /public/css/base.css .aside2 对应的位置。
:)
  • Loading branch information
li2 committed Jan 25, 2016
1 parent 89fb125 commit 926a1a4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions public/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,20 @@ body, html {
overflow-y: auto;
font-color: #fff;
margin-top: 32px;
-webkit-overflow-scrolling: touch; } /* improve: 修改aside2 progress 样式 */
.aside2::-webkit-scrollbar {
width: 1px; }
.aside2::-webkit-scrollbar-thumb {
background: transparent; }
.aside2:hover::-webkit-scrollbar-thumb {
background: #F5F5F5; }
@media screen and (max-width: 585px) {
.aside2 {
font-size: 15px;
top: 50px; }
}


/* 右侧内容栏 */
.aside3 {
height: 100%;
Expand Down

0 comments on commit 926a1a4

Please sign in to comment.