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

来自qingwei personal wiki
跳转至: 导航搜索
(创建页面,内容为“这里放置的CSS将应用于所有皮肤: == 浮动目录 ==: #toc.mbox-image { display: none; } table.toc { position: fixed; top: 100px…”
 
第1行: 第1行:
 
/* 这里放置的CSS将应用于所有皮肤 */
 
/* 这里放置的CSS将应用于所有皮肤 */
 
+
#toc{
/* == 浮动目录 == */
+
display: block;
#toc.mbox-image { display: none; }
+
position: fixed;
table.toc {
+
top: 100px;
        position: fixed;
+
right: 0px;
        top: 100px;
+
min-width: 100px;
        right: 0px;
+
max-width: 350px;
        border: 0px;
+
max-height: 20px;
        width: 300px;
+
overflow-y: scroll;
        border-bottom: 1px SOLID #CCC;
+
border: 1px solid #aaa;
        border-left: 1px SOLID #CCC;
+
border-radius: 0 0 1px 1px;
}
+
-moz-border-radius: 0 0 1px 1px;
table.toc tbody tr td ul {
+
background: rgba(249,249,249,0.75);
        overflow: auto;
+
padding: 12px;
        max-height: 400px;
+
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: 100px;
 +
max-width: 350px;
 +
max-height: 500px;
 +
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;}

2018年7月13日 (五) 12:50的版本

/* 这里放置的CSS将应用于所有皮肤 */
#toc{
 display: block;
 position: fixed;
 top: 100px;
 right: 0px;
 min-width: 100px;
 max-width: 350px;
 max-height: 20px;
 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: 100px;
 max-width: 350px;
 max-height: 500px;
 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;}