MediaWiki:Gadget-FloatToc.css:修订间差异
跳到导航
跳到搜索
imported>=海豚= ([InPageEdit] 没有编辑摘要) |
imported>Irukaza 无编辑摘要 |
||
(未显示2个用户的47个中间版本) | |||
第1行: | 第1行: | ||
#toc{ | |||
padding: 0.8em; | |||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.12); | |||
border-radius: 10px; | |||
overflow: hidden; | |||
border: 1px solid #ddd; | |||
background: rgb(254 254 254); | |||
} | |||
.toc-custom { | .toc-custom { | ||
position: fixed; | position: fixed; | ||
left: -6px; | |||
top: | top: 55px; | ||
width: 176px; | width: 176px; | ||
transition: all .6s ease; | |||
transition: | |||
} | } | ||
.toc-custom:hover { | .toc-custom:hover { | ||
opacity: 1; | opacity: 1; | ||
} | } | ||
.toc-custom>ul { | .toc-custom>ul { | ||
height: | padding-bottom: 10px!important; | ||
height: 60vh; | |||
overflow-y: scroll; | overflow-y: scroll; | ||
} | } | ||
#btn-showtoc { | #btn-showtoc { | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
.toc .toctoggle { | .toc .toctoggle { | ||
display: none; | display: none; | ||
} | } |
2022年3月16日 (三) 16:56的最新版本
#toc{
padding: 0.8em;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.12);
border-radius: 10px;
overflow: hidden;
border: 1px solid #ddd;
background: rgb(254 254 254);
}
.toc-custom {
position: fixed;
left: -6px;
top: 55px;
width: 176px;
transition: all .6s ease;
}
.toc-custom:hover {
opacity: 1;
}
.toc-custom>ul {
padding-bottom: 10px!important;
height: 60vh;
overflow-y: scroll;
}
#btn-showtoc {
cursor: pointer;
}
.toc .toctoggle {
display: none;
}