User:Irukaza/common.css:修订间差异
跳到导航
跳到搜索
imported>=海豚= 无编辑摘要 |
imported>=海豚= ([InPageEdit] 没有编辑摘要 (编辑自Special:Diff/40762)) |
||
第1行: | 第1行: | ||
/* 浮动目录效果*/ | |||
.toc-custom { | |||
position: fixed; | |||
top: 200px; | |||
background: rgba(255, 255, 255, 0.8); | |||
z-index: 10; | |||
max-width: 300px; | |||
opacity: 0.5; | |||
filter: alpha(opacity=50); | |||
-webkit-transition: -webkit-transform .2s ease-in; | |||
transition: transform .2s ease-in; | |||
-webkit-transform: translate(410%, 0); | |||
-ms-transform: translate(410%, 0); | |||
transform: translate(410%, 0); | |||
-webkit-transform: translate( | |||
-ms-transform: translate( | |||
transform: translate( | |||
} | } | ||
.toc-custom:hover { | |||
opacity: 1; | |||
filter: alpha(opacity=100); | |||
box-shadow: 0 0 4px black; | |||
-webkit-transform: translate(-510%, 0); | |||
-ms-transform: translate(-510%, 0); | |||
transform: translate(-510%, 0); | |||
} | |||
.toc-custom>ul { | |||
max-height: 55vh; | |||
overflow-y: scroll; | |||
} | |||
.toc-custom>ul { | |||
max-height: 55vh; | |||
overflow-y: scroll; | |||
-ms-transform: translate(- | |||
transform: translate(- | |||
} | } | ||
2020年4月19日 (日) 22:06的版本
/* 浮动目录效果*/
.toc-custom {
position: fixed;
top: 200px;
background: rgba(255, 255, 255, 0.8);
z-index: 10;
max-width: 300px;
opacity: 0.5;
filter: alpha(opacity=50);
-webkit-transition: -webkit-transform .2s ease-in;
transition: transform .2s ease-in;
-webkit-transform: translate(410%, 0);
-ms-transform: translate(410%, 0);
transform: translate(410%, 0);
}
.toc-custom:hover {
opacity: 1;
filter: alpha(opacity=100);
box-shadow: 0 0 4px black;
-webkit-transform: translate(-510%, 0);
-ms-transform: translate(-510%, 0);
transform: translate(-510%, 0);
}
.toc-custom>ul {
max-height: 55vh;
overflow-y: scroll;
}
.toc-custom>ul {
max-height: 55vh;
overflow-y: scroll;
}