1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-26 10:39:46 +02:00

enhance book display

This commit is contained in:
lxsang
2021-02-19 19:37:26 +01:00
parent f457924d38
commit e8f3fc2c83
2 changed files with 27 additions and 6 deletions

View File

@ -146,7 +146,7 @@ div.search-icon {
}
div.doc-toc {
max-width: 70%;
padding-right: 10px;
padding-right: 0;
background-color: #e3e3e3;
color: #2c2c2c;
overflow: auto;
@ -154,17 +154,25 @@ div.doc-toc {
top: 30px;
bottom: 30px;
border-right: 1px solid #c9c9c9;
border-left: 1px solid #c9c9c9;
padding-top: 0;
padding-bottom: 10px;
box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.65);
box-shadow: 0px 6px 3px -1px rgba(0,0,0,0.65);
z-index: 20;
}
button#btn_toc {
width: 33px;
height: 33px;
a.toc-active {
border: 1px solid #c9c9c9;
border-bottom: 0;
background-color: #e3e3e3;
outline: none;
display: block;
padding-left: 5px;
padding-right: 5px;
color: #2c2c2c !important;
}
a.toc-active::before{
color: #2c2c2c !important;
}
div.doc-toc-header{
@ -187,6 +195,7 @@ div.doc-toc a {
list-style-type: none;
padding: 0;
padding-left: 10px;
padding-right: 10px;
}
div.doc-toc ul.nested {
list-style-type: none;