Skip to content

Commit 23b0c9b

Browse files
committed
文章目录样式修改
1 parent 9ac8014 commit 23b0c9b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

cnblogs-article-nav.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
#sideToolbar {
88
display: block;
99
position: fixed;
10-
top: 18%;/*太小或太低部在手机上体验不是很好*/
10+
bottom: 26%;/*太小或太低部在手机上体验不是很好*/
1111
right: 10px;
1212
/*NOTE size和子节点保持一致 */
1313
width: 320px;
14-
height: 500px
14+
height: 400px
1515
}
1616
#sideCatalog{
1717
background-color:#fff;
@@ -31,18 +31,18 @@
3131
border-right: 1px solid #eaeaea;
3232
border-style: none solid;
3333
border-width: 0 1px;
34-
height: 480px;
34+
height: 380px;
3535
left: 5px;
3636
position: absolute;
3737
top: 0;
3838
width: 0
3939
}
4040
/*目录形成的范围,去掉滚动条,自动展开*/
4141
#sideCatalog-catalog {
42-
height: 460px;/*文章目录的高度*/
42+
height: 360px;/*文章目录的高度*/
4343
padding-top: 18px;
4444
overflow-x: hidden;
45-
overflow-y: scroll;
45+
overflow-y: auto;
4646
padding-left: 23px;
4747
position: relative
4848
}

cnblogs-navbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ bug: 启动浏览的第一次打开cnblogs,样式没有加载出来,刷
88

99
//<script type="text/javascript">
1010
$(function(){
11-
$("a").remove("#MyLinks1_Admin");
11+
$("a").remove("#blog_nav_admin");
1212
$("#navList").append('<li><a id="liuyan" class="menu" rel="nofollow" href="https://www.cnblogs.com/zhaoqingqing/">本站首页</a></li>');
1313
$("#navList").append('<li><a id="liuyan" class="menu" rel="nofollow" href="https://www.cnblogs.com/zhaoqingqing/category/537262.html">Unity3D项目开发</a></li>');
1414
$("#navList").append('<li><a id="liuyan" class="menu" rel="nofollow" href="https://www.cnblogs.com/zhaoqingqing/category/514068.html">Unity3D技巧&&经验</a></li>');

0 commit comments

Comments
 (0)