“MediaWiki:Common.css”的版本间的差异

来自帮助文档
跳转至: 导航搜索
(创建页面,内容为“这里放置的CSS将应用于所有皮肤: #toc{ display: block; position: fixed; top: 100px; right: 0px; min-width: 200px; max-width: 350px; max-heigh…”
(没有差异)

2021年2月4日 (四) 10:24的版本

/* 这里放置的CSS将应用于所有皮肤 */

#toc{
 display: block;
 position: fixed;
 top: 100px;
 right: 0px;
 min-width: 200px;
 max-width: 350px;
 max-height: 10px;
 overflow-y: scroll;
 border: 1px solid #aaa;
 border-radius: 0 0 1px 1px;
 -moz-border-radius: 0 0 1px 1px;
 background: rgba(249,249,249,0.75);
 padding: 12px;
 box-shadow: 0 1px 8px #000;
 -webkit-box-shadow: 0 1px 8px #000;
 -moz-box-shadow: 0 1px 8px #000;
}
 
#toc:hover{
 display: block;
 position: fixed;
 top: 100px;
 right: 0px;
 min-width: 200px;
 max-width: 350px;
 max-height: 100px;
 max-height: 600px;
 overflow-y: scroll;
 border: 1px solid #aaa;
 border-radius: 0 0 1px 1px;
 -moz-border-radius: 0 0 1px 1px;
 background: rgba(249,249,249,0.75);
 padding: 12px;
 box-shadow: 0 1px 8px #000;
 -webkit-box-shadow: 0 1px 8px #000;
 -moz-box-shadow: 0 1px 8px #000;
 
}
 
body { overflow-x: hidden;}

/*Extension:TreeAndMenu*/
.fancytree ul {
    background: none;
    border: none;
    font-size: 12px;
}
ul.fancytree-container {
    outline: 0;
    border: none;
    overflow: hidden;
}
.fancytree p {
    display: none;
}
span.fancytree-title {
    cursor: default;
}
span.fancytree-title a {
    color: black;
}