MediaWiki:Common.css:修订间差异

来自MediaWiki
跳转到导航 跳转到搜索
Admin留言 | 贡献
创建页面,内容为“这里放置的CSS将应用于所有皮肤:​ == 浮动目录 ==:​ #toc.mbox-image { display: none; } table.toc { position: fixed; top: 100px; right: 0px; border: 0px; width: 300px; border-bottom: 1px SOLID #CCC; border-left: 1px SOLID #CCC; } table.toc tbody tr td ul { overflow: auto; max-height: 400px; } table.toc tbody tr td ul ul { overflow: auto; max-height: 10000px; } body { overflow-x: hidden;}”
 
Admin留言 | 贡献
无编辑摘要
 
(未显示同一用户的10个中间版本)
第1行: 第1行:
/* 这里放置的CSS将应用于所有皮肤 */
#toc{
 
display: block;
/* == 浮动目录 == */
position: fixed;
#toc.mbox-image { display: none; }
top: 100px;
table.toc {
right: 0px;
position: fixed;
min-width: 200px;
top: 100px;
max-width: 350px;
right: 0px;
max-height: 10px;
border: 0px;
overflow-y: scroll;
width: 300px;
border: 1px solid #aaa;
border-bottom: 1px SOLID #CCC;
border-radius: 0 0 1px 1px;
border-left: 1px SOLID #CCC;
-moz-border-radius: 0 0 1px 1px;
}
background: rgba(249,249,249,0.75);
table.toc tbody tr td ul {
padding: 12px;
overflow: auto;
box-shadow: 0 1px 8px #000;
max-height: 400px;
-webkit-box-shadow: 0 1px 8px #000;
-moz-box-shadow: 0 1px 8px #000;
}
}
   
   
table.toc tbody tr td ul ul {
#toc:hover{
overflow: auto;
display: block;
max-height: 10000px;
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;
z-index: 9999;
}
}
   
   
body { overflow-x: hidden;}
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;
}

2023年7月5日 (三) 02:17的最新版本

#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;
z-index: 9999;
 
}
 
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;
}