MediaWiki:Gadget-FloatToc.css:修订间差异

H萌娘,万物皆可H的百科全书!
跳到导航 跳到搜索
imported>=海豚=
无编辑摘要
imported>=海豚=
无编辑摘要
第13行: 第13行:
   top: 62px;
   top: 62px;
   width: 176px;
   width: 176px;
  transition: all .5s ease;
}
}
.toc-custom:hover {
.toc-custom:hover {

2021年8月10日 (二) 22:15的版本

/* 由用户:850710247liu设计的浮动目录效果*/
#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: 62px;
  width: 176px;
  transition: all .5s ease;
}
.toc-custom:hover {
  opacity: 1;
}
.toc-custom>ul {
  height: 60vh;
  overflow-y: scroll;
}
#btn-showtoc {
  cursor: pointer;
}
.toc .toctoggle {
  display: none;
}