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

删除395字节 、​ 2022年3月16日 (星期三)
无编辑摘要
imported>=海豚=
([InPageEdit] 没有编辑摘要)
imported>Irukaza
无编辑摘要
 
(未显示2个用户的29个中间版本)
第1行: 第1行:
/* 由用户:850710247liu设计的浮动目录效果*/
#toc{
.toc-custom {
  position: fixed;
  right: -195px;
  top: 160px;
  z-index: 10;
  width: 181px;
  filter: alpha(opacity=50);
  -webkit-transition: -webkit-transform .2s ease-in;
  transition: transform .2s ease-in;
   padding: 0.8em;
   padding: 0.8em;
   box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.12);
   box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.12);
第14行: 第5行:
   overflow: hidden;
   overflow: hidden;
   border: 1px solid #ddd;
   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 {
.toc-custom:hover {
   opacity: 1;
   opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate(-85%, 0);
  -ms-transform: translate(-85%, 0);
  transform: translate(-85%, 0);
  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;
}
}
.toc-custom>ul {
.toc-custom>ul {
   height: 55vh;
  padding-bottom: 10px!important;
   height: 60vh;
   overflow-y: scroll;
   overflow-y: scroll;
}
}
匿名用户