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

来自Alex's wiki
跳转至: 导航搜索
第4行: 第4行:
 
  position: fixed;
 
  position: fixed;
 
  bottom: 2px;
 
  bottom: 2px;
  left: 0px;
+
  right: 0px;
 
  min-width: 150px;
 
  min-width: 150px;
 
  max-width: 150px;
 
  max-width: 150px;
第23行: 第23行:
 
  position: fixed;
 
  position: fixed;
 
  bottom: 2px;
 
  bottom: 2px;
  left: 0px;
+
  right: 0px;
 
  min-width: 100px;
 
  min-width: 100px;
 
  max-width: 350px;
 
  max-width: 350px;
第31行: 第31行:
 
  border-radius: 0 0 1px 1px;
 
  border-radius: 0 0 1px 1px;
 
  -moz-border-radius: 0 0 1px 1px;
 
  -moz-border-radius: 0 0 1px 1px;
  background: rgb(255,255,255 );
+
  background: rgba(249,249,249,0.99);
 
  padding: 12px;
 
  padding: 12px;
 
  box-shadow: 0 1px 8px #000;
 
  box-shadow: 0 1px 8px #000;

2016年8月31日 (三) 15:25的版本

/* 放置于这里的CSS将应用于所有皮肤 */
#toc{
 display: block;
 position: fixed;
 bottom: 2px;
 right: 0px;
 min-width: 150px;
 max-width: 150px;
 max-height: 15px;
 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: 8px;
 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;
 bottom: 2px;
 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.99);
 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;}