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留言 | 贡献
无编辑摘要
第1行: 第1行:
/* 这里放置的CSS将应用于所有皮肤 */
/* 这里放置的CSS将应用于所有皮肤 */


/* == 浮动目录 == */
#toc{
#toc.mbox-image { display: none; }
display: block;
table.toc {
position: fixed;
position: fixed;
top: 100px;
top: 100px;
right: 0px;
right: 0px;
min-width: 200px;
border: 0px;
max-width: 350px;
width: 300px;
max-height: 10px;
border-bottom: 1px SOLID #CCC;
overflow-y: scroll;
border-left: 1px SOLID #CCC;
border: 1px solid #aaa;
}
border-radius: 0 0 1px 1px;
table.toc tbody tr td ul {
-moz-border-radius: 0 0 1px 1px;
overflow: auto;
background: rgba(249,249,249,0.75);
max-height: 400px;
padding: 12px;
box-shadow: 0 1px 8px #000;
-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;
}
}
   
   
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:03的版本

/* 这里放置的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;
}