feat:文章模式下禁用TOC滚动

pull/358/head
lifei6671 2018-09-13 18:43:47 +08:00
parent 732b1db281
commit 3888ae9673
1 changed files with 9 additions and 1 deletions

View File

@ -73,6 +73,13 @@
.article-body .markdown-article{
margin-right: 250px;
}
.article-body.content .markdown-toc{
position: relative;
}
.article-body.content .markdown-article{
margin-right: 0;
}
.markdown-toc-list .directory-item {
padding: 3px 10px 3px 16px;
line-height: 18px;
@ -117,7 +124,7 @@
.markdown-toc-list .directory-item-active a:hover {
color: #7CD4A2;
}
@media (max-width: 1300px){
@media (max-width: 1200px){
.article-body .markdown-toc{
display: none;
}
@ -125,6 +132,7 @@
margin-right: 0;
}
}
/***********代码样式*****************/
.markdown-body .highlight pre, .markdown-body pre{
padding: 1em;