MediaWiki:Common.css

来自A level and IG Revision Wiki
Jienachou讨论 | 贡献2021年11月26日 (五) 20:31的版本
跳到导航 跳到搜索

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer / Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
/* 这里放置的CSS将应用于所有皮肤 */
.heimu, .heimu a, a .heimu, .heimu a.new {
   background-color:  #252525;
    color:  #252525;
    text-shadow:  none;
 }
 .heimu:hover, .heimu:active,
 .heimu:hover .heimu, .heimu:active .heimu {
     color:  white !important;
 }
 .heimu:hover a, a:hover .heimu,
 .heimu:active a, a:active .heimu {
     color:  lightblue !important;
 }
 .heimu:hover .new, .heimu .new:hover, .new:hover .heimu,
 .heimu:active .new, .heimu .new:active, .new:active .heimu {
     color:  #BA0000 !important;
 }

/* 回到顶部 */
.backToTop {
display: none;
width: 60px;
height: 50px;
line-height: 50px;
padding: 5px 0;
background-color: rgb(255, 255, 255);
color: rgb(102, 102, 102);
font-size: 12px;
text-align: center;
position: fixed;
_position: absolute;
right: 50px;
bottom: 100px;
_bottom: "auto";
cursor: pointer;
/* opacity: .6; */
border-radius: 100px;
filter: Alpha(opacity=60);
box-shadow: 0px 1px 8px 1.5px rgba(0, 0, 0, 0.35),0px 20px 70px 8px rgba(0, 0, 0, 0.25);
z-index: 999;
opacity: 0.9;
}

/* 悬浮框 */
.popup-host .ilp-no-popup {
  display: none;
}
.popup-host .internal-link-popup {
  visibility: hidden;
  opacity: 0;
  min-width: 400px;
  font-size: 80%;
  position: absolute; top: 100%; left: 0; z-index: 999 !important;
  background-color: #fff;
  border: 1px solid #deede0;
  padding: 5px;
  border-radius: 5px;
  transition: opacity 0.5s;
  text-align:left;
  }
.popup-host:hover .internal-link-popup {
  visibility: visible;
  opacity: 1;
}
@media (hover: none){
	.popup-host .ilp-no-popup {
	  display: inline;
	}
	.popup-host .internal-link-popup {
	  display: none;
	}
}


/*悬停的卡片*/
/* .mgtip-tip {
position: absolute;
left: 0;
top: 0;
padding: 5px;
background: rgba(235,249,252,0.9);
*background: #ebf9fc;
border: 1px solid #ECECEC;
-webkit-box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
} */

/*悬停的卡片*/
.mgtip-tip {
  position: absolute; top: 0; left: 0;
  font-size: 90%;
  background-color: #F5F5F5;
  border: 1px solid #deede0;
  padding: 5px;
  border-radius: 5px;
  transition: opacity 0.5s;
  text-align:left;
}