diff --git a/dist/mdtht.min.css b/dist/mdtht.min.css index b0ed894..0fca624 100644 --- a/dist/mdtht.min.css +++ b/dist/mdtht.min.css @@ -10,5 +10,5 @@ .js-close-tree .list-wrapper ul li a{margin-left:1.7rem}pre code.hljs{white-space:break-spaces;word-break:break-word}code.hljs{color:#2f479f;padding:0;background:transparent}.hljs{background:transparent}.hljs-comment{color:rgba(72,93,108,0.75)}.hljs-punctuation,.hljs-tag{color:#4ad3f8}.hljs-tag .hljs-attr,.hljs-tag .hljs-name{color:#fa5a5a}.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-tag{color:#3cb2fc}.hljs-deletion,.hljs-number,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{color:#00a866}.hljs-section,.hljs-title{color:#af66ef}.hljs-link,.hljs-operator,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#ff5c6d}.hljs-literal{color:#0d50cc}.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{color:#e38603}.hljs-meta{color:#ae42f3}.hljs-meta .hljs-string{color:#32b1e1}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:500}*{margin:0;padding:0}:root{font-family:"PingFang SC","Helvetica Neue",Helvetica,"Microsoft YaHei",Arial,sans-serif;font-size:62.5%;background-color:#fafafa;color:#000;height:100%;overflow:hidden;letter-spacing:.05rem}body{font-size:1.6rem;line-height:1.6;box-sizing:border-box}h1,h2,h3,h4,h5,h6{position:relative;line-height:1.5;margin:32px 0 16px;color:#070909;letter-spacing:2px}h1{font-size:3.2rem}h2{font-size:2.8rem}h3{font-size:2.4rem}h4{font-size:2rem}h5{font-size:1.8rem}h6{font-size:1.6rem}hr{border:0;height:.1rem;margin:1.6rem 0;background:#d9d9d9;box-sizing:border-box}::selection{background:rgba(227,134,3,0.3);text-shadow:none;box-decoration-break:clone;-webkit-box-decoration-break:clone}a{text-decoration:none;color:#3e69d7;cursor:pointer;font-weight:500}a:hover{color:#f59102;text-decoration:underline}p{margin:1.6rem 0}strong{font-weight:bold;color:#070909}u{text-decoration-color:#070909;-moz-text-decoration-color:#070909}em{font-weight:400}del{color:#999;text-decoration:line-through;text-decoration-color:#f59102;-moz-text-decoration-color:#f59102}sup,sub{font-size:1.2rem;padding:0 .1rem}sup.md-footnote{padding:0 .2rem}sup.md-footnote:hover{color:#f59102;cursor:pointer}mark{background-color:#3e69d7;padding:0 .4rem;border-radius:.4rem;-webkit-border-radius:.4rem;-moz-border-radius:.4rem;color:#fafafa;box-decoration-break:clone;-webkit-box-decoration-break:clone}kbd{display:inline-block;line-height:2.2rem;border:0;background:#070909;color:#fafafa;border-image:none;border-radius:.4rem;-webkit-border-radius:.4rem;-moz-border-radius:.4rem;padding:0 .6rem;vertical-align:text-top;font-size:1.4rem;box-shadow:none;box-decoration-break:clone;-webkit-box-decoration-break:clone}img{display:block;max-width:100%;border-radius:.8rem;-webkit-border-radius:.8rem;-moz-border-radius:.8rem;margin:0 auto 1.6rem;color:#999}ul li input,ul li p,ol li input,ol li p{display:inline-block}ul li p,ol li p{margin:0}li>input{margin-left:-2rem}ul,ol{margin-left:0;padding-left:3.4rem}ol>li>ul,ul>li>ol{padding-left:3.4rem}#content ul,#content ol,#content dl{margin:.5rem auto}#content ul li,#content ol li{margin-bottom:.5rem}blockquote,.md-alert{margin:1.6rem 0;padding:.8rem 1.6rem;background:#ededef;font-size:1.6rem;box-sizing:border-box;border-radius:.8rem;-webkit-border-radius:.8rem;-moz-border-radius:.8rem;border-left:.4rem solid #3e69d7;border-bottom:0;border-top:0;border-right:0;background:rgba(62,105,215,0.06);overflow:hidden}blockquote code,.md-alert code{background:rgba(62,105,215,0.15);padding:.3rem 1rem;box-decoration-break:clone;-webkit-box-decoration-break:clone}blockquote blockquote{background:rgba(62,105,215,0.06)}.md-alert.md-alert-note{border-left-color:#3e69d7;background:rgba(62,105,215,0.06);color:#3e69d7}.md-alert.md-alert-note .md-alert-text-note{color:#3e69d7}.md-alert.md-alert-caution{border-left-color:#f59102;background:rgba(245,145,2,0.06);color:#f59102}.md-alert.md-alert-caution .md-alert-text-caution{color:#f59102}.md-alert.md-alert-tip{border-left-color:#03b736;background:rgba(3,183,54,0.06);color:#03b736}.md-alert.md-alert-tip .md-alert-text-tip{color:#03b736}.md-alert.md-alert-important{border-left-color:#8250df;background:rgba(130,80,223,0.06);color:#8250df}.md-alert.md-alert-important .md-alert-text-important{color:#8250df}.md-alert.md-alert-warning{border-left-color:#e30f2e;background:rgba(227,15,46,0.06);color:#e30f2e}.md-alert.md-alert-warning .md-alert-text-warning{color:#e30f2e}code{font-family:monospace}code,tt{margin:16px 0;background:#ededef;font-size:14px;box-sizing:border-box;border-radius:5px;padding:5px 10px;color:#2f479f;box-decoration-break:clone;-webkit-box-decoration-break:clone}p code,p tt,li code,li tt,blockquote code,blockquote tt,.md-alert code,.md-alert tt,table code,table tt{padding:3px 6px!important;background:rgba(62,105,215,0.15);box-decoration-break:clone;-webkit-box-decoration-break:clone}h1 code,h2 code,h3 code,h4 code,h5 code,h6 code{vertical-align:middle} h1 code{font-size:18px}h2 code{font-size:16px}.outline-content .outline-item code{font-size:11px;padding:2px 6px!important}pre{margin:16px 0;padding:16px;background:#ededef;font-size:14px;box-sizing:border-box;border-radius:8px;color:#2f479f;overflow:hidden}pre pre{background:transparent;padding:5px 10px;border:0}sup,sub{font-size:1.2rem;padding:0 .1rem}sup.md-footnote{padding:0 .2rem}sup.md-footnote:hover{color:#f59102}.iconfont{color:#999}.iconfont:hover{text-shadow:.1rem .1rem .1rem rgba(62,105,215,0.75)}table{width:100%;margin-top:1.6rem;text-align:left;border-collapse:separate;border-spacing:0;border-radius:.8rem;overflow:hidden;padding:0;border:1px solid rgba(217,217,217,0.8)}table thead tr th{background:#ededef}table tbody tr:nth-child(even) td{background:#ededef}table tbody tr:nth-child(odd) td{background:#fafafa}table tr th,table tr td{padding:10px;word-break:break-word}table tr td,table thead tr th{border-left:1px solid rgba(217,217,217,0.8)}table tbody tr td:first-of-type,table thead tr th:first-of-type{border-left:none}input{border-radius:5px;line-height:1.2;position:relative;padding:0 6px;outline:0;border:1px solid #d2d2d2;margin-right:.8rem}input:focus,textarea:focus,input[type=number]:focus,input[type=search]:focus,input[type=text]:focus{border-color:#3e69d7;box-shadow:none;outline:0}input::placeholder{font-size:12px;color:#999}input[type=checkbox],input[type=radio]{outline:0;appearance:none;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;width:14px;height:14px;padding:0;box-sizing:border-box;border:1px solid #d2d2d2;border-radius:3px;list-style:none;background:#fafafa;margin-bottom:-2px}input[type=checkbox]:checked,input[type=radio]:checked{background:#3e69d7!important;border-color:transparent}input[type=checkbox]:checked::after{content:"";display:block;width:5px;height:9px;background:transparent;border:2px solid #fafafa;border-top:0;border-left:none;position:absolute;box-sizing:border-box;bottom:2.5px;left:3.5px;transform:rotate(40deg);-webkit-transform:rotate(40deg);-ms-transform:rotate(40deg)}input[type=radio]{border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;border:1px solid #d2d2d2;margin-bottom:0!important}input[type=radio]:checked::after{content:"";display:block;width:4px;height:4px;box-sizing:border-box;margin:3px auto;background:#fafafa!important;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%}#body-container{position:relative;width:100vw;margin:0 auto;background:#fafafa;box-sizing:border-box}#left-container{float:left;position:relative;z-index:20;width:28rem;height:100vh;background:#fafafa;border-right:1px solid #d2d2d2;box-sizing:border-box;line-height:2rem;transition:width .2s linear,height .2s linear;-moz-transition:width .2s linear,height .2s linear;-webkit-transition:width .2s linear,height .2s linear;-o-transition:width .2s linear,height .2s linear}#left-container a{line-height:2rem}#resize-control{position:absolute;z-index:100;width:0;height:100vh;background:transparent;border-right:3px dashed transparent;box-sizing:border-box;right:-2px;top:0;cursor:col-resize}#resize-control:hover{border-color:#3e69d7}#right-container{height:100vh;margin-left:28rem;overflow-x:hidden;padding:0 9.6rem 0;box-sizing:border-box;scroll-behavior:smooth;scroll-padding:10px}#content>*:first-child{margin-top:3.2rem!important}#content{box-sizing:border-box;transition:scroll .2s linear;-moz-transition:scroll .2s linear;-webkit-transition:scroll .2s linear;-o-transition:scroll .2s linear}#content h1>span,#content h2>span,#content h3>span,#content h4>span,#content h5>span,#content h6>span{float:left;margin-right:1rem;display:none}.top-container{height:6.2rem;border-bottom:1px solid #d2d2d2;color:#999;padding:1.6rem 0 1.6rem 1.6rem;margin-right:0;position:relative;box-sizing:border-box;z-index:25;line-height:3rem;background:#fafafa}.catalog-button{position:absolute;z-index:32;font-size:2.8rem;cursor:pointer;float:left}.catalog-button:hover{color:#f59102!important;text-shadow:none}.search-container{height:4rem;position:absolute;overflow:hidden;padding:.4rem;top:1rem;right:1.2rem;left:1.2rem;box-sizing:border-box}.search{float:right;position:relative;z-index:33;width:calc(100% - 44px);overflow:hidden;font-size:1.2rem;white-space:nowrap;text-overflow:ellipsis;transition:width .1s linear;-moz-transition:width .1s linear;-webkit-transition:width .1s linear;-o-transition:width .1s linear;margin-right:1px}.search:focus{outline:0;width:100%;border-color:#3e69d7;box-shadow:0 0 .2rem .1rem rgba(62,105,215,0.2);-webkit-box-shadow:0 0 .2rem .1rem rgba(62,105,215,0.2);-moz-box-shadow:0 0 .2rem .1rem rgba(62,105,215,0.2);-o-box-shadow:0 0 .2rem .1rem rgba(62,105,215,0.2)}.search::placeholder{color:#999}.search-icon{position:absolute;z-index:35;font-size:1.2rem;right:.7rem;top:.85rem;padding:0 .5rem;background:#fafafa;cursor:pointer;display:none;line-height:2.3rem}.search-icon:hover{color:#3e69d7}.search-result{max-height:0;overflow:hidden;margin-top:3.7rem;margin-right:1.6rem;background:#fafafa;font-size:1.4rem;line-height:1.2;color:#999;box-sizing:border-box;position:relative;z-index:40;transition:max-height .2s linear;-moz-transition:max-height .2s linear;-webkit-transition:max-height .2s linear;-o-transition:max-height .2s linear} .search-result>nav{padding:1rem;box-sizing:border-box;width:100%}.search-result>nav a{display:block;color:#fafafa;margin-bottom:.25rem;padding:.5rem 1rem;box-sizing:border-box;border-radius:.5rem;-webkit-border-radius:.5rem;-moz-border-radius:.5rem;word-break:break-word}.search-result>nav a:hover{cursor:pointer;color:#3e69d7!important;background:#ededef}.search-result>nav>div{height:auto;display:flex;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:-moz-box;flex-direction:column;-webkit-flex-direction:column;-ms-flex-direction:column;-moz-flex-direction:column;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center}.search-result>nav>div i{display:block;color:#fafafa;text-align:center;font-size:2.2rem;margin-top:3.6rem;margin-bottom:1rem}.search-result>nav>div i:hover{text-shadow:none}.search-result>nav>div span{display:block;margin-bottom:1rem;font-size:1.2rem;text-align:center}.search-result>nav>div span:first-of-type{margin-top:.5rem;margin-bottom:.6rem}.search-result>nav>div span:last-child{margin-bottom:3.6rem}#list-container{width:100%;position:absolute;top:6.2rem;left:0;bottom:4.1rem;z-index:24;overflow:auto;box-sizing:border-box;padding:0 1.6rem 1.6rem}.list-wrapper{font-size:1.6rem;position:relative;margin-top:1.6rem}.list-wrapper .empty-catalog{margin-top:2rem;text-align:center;color:#999;font-size:1.3rem}.list-wrapper .empty-catalog .iconfont{font-size:2rem}.list-wrapper .empty-catalog p{margin-top:.5rem;text-align:left}.list-wrapper ul{display:block;position:relative;margin-left:0;padding-left:0}.list-wrapper ul:before{content:"";display:inline-block;width:.1rem;height:100%;position:absolute;z-index:10;box-sizing:border-box;top:-0.55rem;left:.6rem;z-index:15;margin-bottom:.8rem;background:#d2d2d2}.list-wrapper ul li{width:100%;list-style:none;margin-left:0!important;position:relative;line-height:1.1!important;box-sizing:border-box}.list-wrapper ul li i{float:left;font-size:1.3rem;margin-top:.63rem;background:#fafafa;border-radius:.3rem;-webkit-border-radius:.3rem;-moz-border-radius:.3rem;position:relative;z-index:20;cursor:pointer}.list-wrapper ul li a{display:block;position:relative;z-index:18;font-size:1.4rem;font-weight:normal;color:#373a3f;padding:.6rem;margin-bottom:.25rem;margin-left:1.8rem;box-sizing:border-box;line-height:1.1!important;background:transparent;border-radius:.5rem;-webkit-border-radius:.5rem;-moz-border-radius:.5rem}.list-wrapper ul li a:before{content:"";display:inline-block;width:1.4rem;height:.1rem;position:absolute;z-index:10;left:-1.2rem;margin-right:.2rem;top:1.28rem;background:#d2d2d2}.list-wrapper ul li a div{position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;z-index:18}.list-wrapper ul li a p{float:left;margin-right:.2rem;display:table-cell}.list-wrapper ul li a:hover{text-decoration:none}.list-wrapper ul li a:hover:before{width:1.2rem!important}.list-wrapper ul li a:hover div{white-space:wrap}.list-wrapper ul li a:hover span{display:table-cell;word-break:break-word}.list-wrapper ul li:hover>a{color:#f59102;background:#ededef}.list-wrapper ul li:hover>a:before{width:1.4rem}.list-wrapper ul li:hover>.iconfont{color:#f59102}.list-wrapper>ul>li:last-child:after{content:"";display:inline-block;width:.3rem;height:100%;position:absolute;z-index:10;top:1.2rem;left:.55rem;z-index:15;background:#fafafa}.list-wrapper>ul li:last-child>a:before{content:"";display:inline-block;width:1.4rem;height:50%;position:absolute;z-index:10;left:-1.2rem;margin-right:.2rem;top:-0.1rem;border-left:.1rem solid #d2d2d2;border-bottom:.1rem solid #d2d2d2;border-bottom-left-radius:.3rem;background:transparent;z-index:30}.list-wrapper>ul li:last-child>a:after{content:"";display:inline-block;width:.3rem;height:100%;position:absolute;z-index:10;left:-1.2rem;top:1rem;background:#fafafa;z-index:25}.list-wrapper>ul>li:first-child>a:after{content:"";display:inline-block;width:.3rem;height:2rem;position:absolute;z-index:10;left:-1.2rem;top:-0.65rem;background:#fafafa;z-index:31}.list-wrapper ul li ul{margin-left:2.48rem!important;margin-top:.24rem}.list-wrapper ul li ul li:last-child:before{content:"";display:inline-block;width:.3rem;height:100%;position:absolute;z-index:10;top:1.45rem;left:.55rem;background:#fafafa;z-index:15}.bottom-container{width:100%;height:4rem;position:absolute;z-index:30;bottom:0;background:#fafafa;padding:0 1.6rem;box-sizing:border-box;border-top:1px solid #d2d2d2;color:#999}.bottom-container .mode-container{display:flex;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:-moz-box;justify-content:space-around;-webkit-justify-content:space-around;-moz-justify-content:space-around}.bottom-container .mode,.bottom-container .index,.bottom-container .structure,.bottom-container .quit-menu{position:relative;z-index:40} -.bottom-container .quit-menu{margin-right:0!important}.bottom-container .iconfont{font-size:2rem;line-height:4rem}.bottom-container .iconfont:hover{color:#f59102;cursor:pointer;text-shadow:none}.bottom-container .icon-quit{font-size:2.2rem}.structure:hover .structure-child{height:20.8rem;bottom:4rem;padding:1rem 1.5rem 0;border:.1rem solid #d2d2d2;border-radius:.6rem;-webkit-border-radius:.6rem;-moz-border-radius:.6rem;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:#fafafa;box-shadow:0 -0.2rem .1rem rgba(217,217,217,0.7);-webkit-box-shadow:0 -0.2rem .1rem rgba(217,217,217,0.7);-moz-box-shadow:0 -0.2rem .1rem rgba(217,217,217,0.7);-o-box-shadow:0 -0.2rem .1rem rgba(217,217,217,0.7)}.structure-child{height:0;background:#fafafa;padding:0 1.5rem 0;margin:0;position:absolute;z-index:30;bottom:4rem;left:-5rem;box-sizing:border-box;overflow:hidden;transition:height .1s linear;-moz-transition:height .1s linear;-webkit-transition:height .1s linear;-o-transition:height .1s linear}.structure-child li{margin-left:0!important;padding:0 1rem;cursor:pointer;overflow:hidden;margin-bottom:.8rem;text-align:left;white-space:nowrap;position:relative;box-sizing:border-box}.structure-child li:hover{color:#f59102}.structure-child li:hover input[type=radio]{border-color:#f59102}.structure-child li:hover input[type=radio]:checked{border-color:#f59102;background:#f59102!important}.structure-child li:first-child,.structure-child li:nth-of-type(1),.structure-child li:nth-of-type(2),.structure-child li:nth-of-type(3){padding-bottom:.8rem;border-bottom:.1rem dashed #d2d2d2}.structure-child li:first-child label,.structure-child li:nth-of-type(1) label,.structure-child li:nth-of-type(2) label,.structure-child li:nth-of-type(3) label{margin-left:-0.8rem}.structure-child li:last-child{padding-bottom:.8rem;margin-bottom:0;border-bottom:.1rem dashed #d2d2d2}.structure-child li label{font-size:1.2rem!important;vertical-align:bottom;cursor:pointer}.structure-child li input[type=radio]{width:1.2rem;height:1.2rem;border:.1rem solid #3e69d7;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;cursor:not-allowed;margin-left:0}#switch-button{position:absolute;z-index:110;width:3.4rem;height:0;top:0;left:0;overflow:hidden;cursor:pointer;text-align:center;box-sizing:border-box;transition:height .2s linear;-moz-transition:height .2s linear;-webkit-transition:height .2s linear;-o-transition:height .2s linear}#switch-button i{display:block;position:absolute;color:#3e69d7;font-size:4rem}#switch-button .icon-label{top:-1.3rem;left:-0.2rem;text-shadow:0 0 .3rem rgba(27,27,31,0.5)}#switch-button .icon-catalog-close{top:.2rem;left:.85rem;font-size:1.6rem;font-weight:bold;color:#fafafa;text-shadow:none}#switch-button:hover .icon-label{color:#f59102}#content>footer{margin-top:7.2rem;box-sizing:border-box}.note-tips{font-size:.9rem;padding:1.1rem 0;border-top:.1rem solid #d2d2d2;color:#999;margin:0;text-align:center}.note-tips::before{content:"©";font-size:1.2rem;vertical-align:middle;margin-right:.2rem}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-thumb{background:#d2d2d2;border-radius:4px}::-webkit-scrollbar-track{background:#ededef}body,#right-container,#list-container{scrollbar-width:thin;scrollbar-color:#d2d2d2 #ededef}html[theme=dark] ::-webkit-scrollbar-thumb{background:#464b50}html[theme=dark] ::-webkit-scrollbar-track{background:#282a32}html[theme=dark] body,html[theme=dark] #right-container,html[theme=dark] #list-container{scrollbar-color:#464b50 #282a32}html[theme=dark] #body-container{background:#1b1b1f}html[theme=dark] strong{color:white}html[theme=dark] kbd{background-color:#f59102}html[theme=dark] blockquote,html[theme=dark] .md-alert{background:rgba(62,105,215,0.12)}html[theme=dark] blockquote code,html[theme=dark] .md-alert code{background:rgba(62,105,215,0.12)}html[theme=dark] blockquote blockquote{background:rgba(62,105,215,0.12)}html[theme=dark] .md-alert.md-alert-note{background:rgba(62,105,215,0.12)}html[theme=dark] .md-alert.md-alert-caution{background:rgba(245,145,2,0.12)}html[theme=dark] .md-alert.md-alert-tip{background:rgba(3,183,54,0.12)}html[theme=dark] .md-alert.md-alert-important{background:rgba(130,80,223,0.12)}html[theme=dark] .md-alert.md-alert-warning{background:rgba(227,15,46,0.12)}html[theme=dark] code,html[theme=dark] pre{background:#282a32;border-color:#282a32}html[theme=dark] table{width:100%;margin-top:1.6rem;text-align:left;border-collapse:separate;border-spacing:0;border-radius:.8rem;overflow:hidden;padding:0;border:1px solid #373a3f}html[theme=dark] table thead tr th{background:#282a32}html[theme=dark] table tbody tr:nth-child(even) td{background:#282a32}html[theme=dark] table tbody tr:nth-child(odd) td{background:#fafafa}html[theme=dark] table tr th,html[theme=dark] table tr td{padding:10px;word-break:break-word}html[theme=dark] table tr td,html[theme=dark] table thead tr th{border-left:1px solid #373a3f}html[theme=dark] table tbody tr td:first-of-type,html[theme=dark] table thead tr th:first-of-type{border-left:none} +.bottom-container .quit-menu{margin-right:0!important}.bottom-container .iconfont{font-size:2rem;line-height:4rem}.bottom-container .iconfont:hover{color:#f59102;cursor:pointer;text-shadow:none}.bottom-container .icon-quit{font-size:2.2rem}.structure:hover .structure-child{height:20.8rem;bottom:4rem;padding:1rem 1.5rem 0;border:.1rem solid #d2d2d2;border-radius:.6rem;-webkit-border-radius:.6rem;-moz-border-radius:.6rem;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:#fafafa;box-shadow:0 -0.2rem .1rem rgba(217,217,217,0.7);-webkit-box-shadow:0 -0.2rem .1rem rgba(217,217,217,0.7);-moz-box-shadow:0 -0.2rem .1rem rgba(217,217,217,0.7);-o-box-shadow:0 -0.2rem .1rem rgba(217,217,217,0.7)}.structure-child{height:0;background:#fafafa;padding:0 1.5rem 0;margin:0;position:absolute;z-index:30;bottom:4rem;left:-5rem;box-sizing:border-box;overflow:hidden;transition:height .1s linear;-moz-transition:height .1s linear;-webkit-transition:height .1s linear;-o-transition:height .1s linear}.structure-child li{margin-left:0!important;padding:0 1rem;cursor:pointer;overflow:hidden;margin-bottom:.8rem;text-align:left;white-space:nowrap;position:relative;box-sizing:border-box}.structure-child li:hover{color:#f59102}.structure-child li:hover input[type=radio]{border-color:#f59102}.structure-child li:hover input[type=radio]:checked{border-color:#f59102;background:#f59102!important}.structure-child li:first-child,.structure-child li:nth-of-type(1),.structure-child li:nth-of-type(2),.structure-child li:nth-of-type(3){padding-bottom:.8rem;border-bottom:.1rem dashed #d2d2d2}.structure-child li:first-child label,.structure-child li:nth-of-type(1) label,.structure-child li:nth-of-type(2) label,.structure-child li:nth-of-type(3) label{margin-left:-0.8rem}.structure-child li:last-child{padding-bottom:.8rem;margin-bottom:0;border-bottom:.1rem dashed #d2d2d2}.structure-child li label{font-size:1.2rem!important;vertical-align:bottom;cursor:pointer}.structure-child li input[type=radio]{width:1.2rem;height:1.2rem;border:.1rem solid #3e69d7;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;cursor:not-allowed;margin-left:0}#switch-button{position:absolute;z-index:110;width:3.4rem;height:0;top:0;left:0;overflow:hidden;cursor:pointer;text-align:center;box-sizing:border-box;transition:height .2s linear;-moz-transition:height .2s linear;-webkit-transition:height .2s linear;-o-transition:height .2s linear}#switch-button i{display:block;position:absolute;color:#3e69d7;font-size:4rem}#switch-button .icon-label{top:-1.3rem;left:-0.2rem;text-shadow:0 0 .3rem rgba(27,27,31,0.5)}#switch-button .icon-catalog-close{top:.2rem;left:.85rem;font-size:1.6rem;font-weight:bold;color:#fafafa;text-shadow:none}#switch-button:hover .icon-label{color:#f59102}#content>footer{margin-top:7.2rem;box-sizing:border-box}.note-tips{font-size:.9rem;padding:1.1rem 0;border-top:.1rem solid #d2d2d2;color:#999;margin:0;text-align:center}.note-tips::before{content:"©";font-size:1.2rem;vertical-align:middle;margin-right:.2rem}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#d2d2d2;border-radius:4px}::-webkit-scrollbar-track{background:#ededef}body,#right-container,#list-container{scrollbar-width:thin;scrollbar-color:#d2d2d2 #ededef}html[theme=dark] ::-webkit-scrollbar-thumb{background:#464b50}html[theme=dark] ::-webkit-scrollbar-track{background:#282a32}html[theme=dark] body,html[theme=dark] #right-container,html[theme=dark] #list-container{scrollbar-color:#464b50 #282a32}html[theme=dark] #body-container{background:#1b1b1f}html[theme=dark] strong{color:white}html[theme=dark] kbd{background-color:#f59102}html[theme=dark] blockquote,html[theme=dark] .md-alert{background:rgba(62,105,215,0.12)}html[theme=dark] blockquote code,html[theme=dark] .md-alert code{background:rgba(62,105,215,0.12)}html[theme=dark] blockquote blockquote{background:rgba(62,105,215,0.12)}html[theme=dark] .md-alert.md-alert-note{background:rgba(62,105,215,0.12)}html[theme=dark] .md-alert.md-alert-caution{background:rgba(245,145,2,0.12)}html[theme=dark] .md-alert.md-alert-tip{background:rgba(3,183,54,0.12)}html[theme=dark] .md-alert.md-alert-important{background:rgba(130,80,223,0.12)}html[theme=dark] .md-alert.md-alert-warning{background:rgba(227,15,46,0.12)}html[theme=dark] code,html[theme=dark] pre{background:#282a32;border-color:#282a32}html[theme=dark] table{width:100%;margin-top:1.6rem;text-align:left;border-collapse:separate;border-spacing:0;border-radius:.8rem;overflow:hidden;padding:0;border:1px solid #373a3f}html[theme=dark] table thead tr th{background:#282a32}html[theme=dark] table tbody tr:nth-child(even) td{background:#282a32}html[theme=dark] table tbody tr:nth-child(odd) td{background:#fafafa}html[theme=dark] table tr th,html[theme=dark] table tr td{padding:10px;word-break:break-word}html[theme=dark] table tr td,html[theme=dark] table thead tr th{border-left:1px solid #373a3f}html[theme=dark] table tbody tr td:first-of-type,html[theme=dark] table thead tr th:first-of-type{border-left:none} html[theme=dark] table tbody tr:nth-child(odd) td{background:#1b1b1f}html[theme=dark] input{background:#282a32;border-color:#373a3f;color:#d0d0d0}html[theme=dark] input::placeholder{color:#999}html[theme=dark] input[type=checkbox],html[theme=dark] input[type=radio]{background:#1b1b1f}html[theme=dark] .iconfont{color:#373a3f;text-shadow:.1rem .1rem .1rem #282a32}html[theme=dark] .iconfont:hover{text-shadow:.1rem .1rem .1rem rgba(62,105,215,0.2)}html[theme=dark] .note-tips{border-color:#373a3f;color:#373a3f}html[theme=dark] #right-container,html[theme=dark] #left-container,html[theme=dark] .top-container,html[theme=dark] .bottom-container{background:#1b1b1f;color:#d0d0d0;border-color:#373a3f}html[theme=dark] .list-wrapper .iconfont{color:#373a3f;background:#1b1b1f}html[theme=dark] .list-wrapper a{color:#d0d0d0}html[theme=dark] .list-wrapper ul:after,html[theme=dark] .list-wrapper ul:before,html[theme=dark] .list-wrapper li:after,html[theme=dark] .list-wrapper li:before,html[theme=dark] .list-wrapper a:after,html[theme=dark] .list-wrapper a:before{background:#373a3f}html[theme=dark] .list-wrapper ul li:hover>a{background:#282a32}html[theme=dark] .list-wrapper ul li ul li:last-child:before,html[theme=dark] .list-wrapper>ul>li:first-child>a:after,html[theme=dark] .list-wrapper>ul li:last-child>a:after,html[theme=dark] .list-wrapper>ul>li:last-child:after,html[theme=dark] .list-wrapper>ul>li:last-child>a:after{background:#1b1b1f}html[theme=dark] .list-wrapper>ul li:last-child>a:before{border-color:#373a3f}html[theme=dark] .search::placeholder{color:rgba(208,208,208,0.4)}html[theme=dark] .search-result{background:#282a32;border-color:#373a3f;background:#282a32!important}html[theme=dark] .search-result a,html[theme=dark] .search-result i{color:rgba(208,208,208,0.4)!important}html[theme=dark] .js-search{box-shadow:0 0 .2rem .1rem rgba(62,105,215,0.15);-webkit-box-shadow:0 0 .2rem .1rem rgba(62,105,215,0.15);-moz-box-shadow:0 0 .2rem .1rem rgba(62,105,215,0.15);-o-box-shadow:0 0 .2rem .1rem rgba(62,105,215,0.15);color:rgba(208,208,208,0.4)!important}html[theme=dark] .js-search a{color:#d0d0d0!important}html[theme=dark] .js-search a:hover{color:#3e69d7!important;background:#282a32!important}html[theme=dark] .js-search i{color:rgba(153,153,153,0.4)!important}html[theme=dark] .search-icon{color:rgba(208,208,208,0.4);background:#282a32}html[theme=dark] .search-icon:hover{color:#3e69d7}html[theme=dark]:hover .structure-child{background:#1b1b1f;background:#1b1b1f;border-color:#373a3f;border-bottom-color:#1b1b1f;box-shadow:0 -0.2rem .1rem rgba(62,105,215,0.15);-webkit-box-shadow:0 -0.2rem .1rem rgba(62,105,215,0.15);-moz-box-shadow:0 -0.2rem .1rem rgba(62,105,215,0.15);-o-box-shadow:0 -0.2rem .1rem rgba(62,105,215,0.15)}html[theme=dark] .structure-child{background:#1b1b1f}html[theme=dark] .structure-child li:first-child,html[theme=dark] .structure-child li:nth-of-type(1),html[theme=dark] .structure-child li:nth-of-type(2),html[theme=dark] .structure-child li:nth-of-type(3),html[theme=dark] .structure-child li:last-child{border-color:#373a3f}html[theme=dark] #switch-button .icon-catalog-close{color:#d0d0d0}html[theme=dark] #switch-button .icon-label{text-shadow:0 0 .3rem rgba(0,0,0,0.8)}html[theme=dark] .js-close-shadow,html[theme=dark] .js-close-shadow .iconfont{text-shadow:none}html[theme=dark] .js-show-shadow,html[theme=dark] .js-show-shadow .iconfont{text-shadow:.2rem .2rem .2rem #000}html[theme=dark] .search-result .search-click{color:#f59102!important;background:#373a3f}html[theme=dark] .js-active>a{background:#373a3f!important}html[theme=dark] #list-container .js-active>a,html[theme=dark] .search-result .js-active{background:#282a32!important}html[theme=dark]{background-color:#1b1b1f;color:#d0d0d0}html[theme=dark] h1,html[theme=dark] h2,html[theme=dark] h3,html[theme=dark] h4,html[theme=dark] h5,html[theme=dark] h6{color:#d0d0d0}html[theme=dark] .js-level1-style{border-bottom:.1rem solid #373a3f}html[theme=dark] hr{background:#373a3f}html[theme=dark] u{text-decoration-color:#d0d0d0;-moz-text-decoration-color:#d0d0d0}html[theme=dark] code,html[theme=dark] code.hljs{color:#c9cffd;background:transparent}html[theme=dark] p code,html[theme=dark] table code,html[theme=dark] p code.hljs{background:rgba(61,104,213,0.15)}html[theme=dark] .hljs-comment{color:#667c89}@media print{table,pre{page-break-inside:avoid}pre{word-wrap:break-word}}@media screen and (max-width:768px){#left-container{position:absolute;top:0;left:0;height:100vh;display:none}#right-container{margin-left:0;padding:0 3.2rem}#switch-button{height:4rem}#content>footer{margin-top:3.2rem}}@media screen and (min-width:769px) and (max-width:1280px){#right-container{padding:0 6.4rem}}@media screen and (min-width:1921px){#body-container{max-width:256rem;margin:0 auto}} \ No newline at end of file diff --git a/src/scss/mdtht.scss b/src/scss/mdtht.scss index 8f77599..9b2e946 100644 --- a/src/scss/mdtht.scss +++ b/src/scss/mdtht.scss @@ -1105,6 +1105,7 @@ input[type="radio"]:checked::after { /*scroll style*/ ::-webkit-scrollbar { width: 8px; + height: 8px; } ::-webkit-scrollbar-thumb {