mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-24 04:59:41 +00:00
replacing gitalk with giscus comments
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
.pagetoc {
|
||||
position: fixed;
|
||||
width: 200px;
|
||||
height: calc(100vh - var(--menu-bar-height) - 0.67em * 4);
|
||||
height: calc(100vh - var(--menu-bar-height) - 10rem);
|
||||
overflow: auto;
|
||||
z-index: 1000;
|
||||
}
|
||||
@ -57,15 +57,25 @@
|
||||
.chapter li.chapter-item {
|
||||
/* 没有文件时的文字颜色 */
|
||||
color: #939da3;
|
||||
margin-top: 1.2rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
/* 修改滚动条宽度 */
|
||||
::-webkit-scrollbar {
|
||||
width: 7px;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
/* 表格靠左对齐 */
|
||||
table {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* 只使用底部的页面跳转,因为左右两边的宽跳转会被 page-toc 遮盖 */
|
||||
@media only screen and (max-width: 2560px) {
|
||||
.nav-wide-wrapper { display: none; }
|
||||
.nav-wrapper { display: block; }
|
||||
}
|
||||
@media only screen and (max-width: 2560px) {
|
||||
.sidebar-visible .nav-wide-wrapper { display: none; }
|
||||
.sidebar-visible .nav-wrapper { display: block; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user