User:Irukaza/common.css
跳到导航
跳到搜索
注意:这类代码页面在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- 按住
CTRL+SHIFT+DEL 或 ⌘-Shift-R
来清除缓存! - 或尝试在地址栏的地址最后添加代码
?_=1
来访问最新页面。 - 你还可以在设置中勾选小工具在页面右上角添加清除缓存按钮!
/*懒加载渐入*/
.lazyload,
.lazyloading {
opacity: 0;
}
.lazyloaded {
opacity: 1;
transition: opacity 300ms;
}
/* 图片注释 */
.custom-img-comment {
opacity: 0;
transition: opacity 0.5s;
-moz-transition: opacity 0.5s;
-webkit-transition: opacity 0.5s;
-o-transition: opacity 0.5s;
}
.custom-img-comment:hover {
opacity: 1;
}
/*热门评论*/
.comment-container-top>div:not(.comment-thread) {
background-color: rgba(68, 135, 223, 0.8) !important;
color: white !important;
font-weight: bolder !important;
}
.comment-thread.comment-popular {
background-color: rgba(68, 135, 223, 0.1) !important;
}
/* wikitable MD化 */
table.wikitable {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
border-radius: 4px;
overflow: hidden;
}
/* 表格宽度 */
.wikitable {
max-width: 100%;
display: table;
}
/*表格半透明样式*/
table.wikitable>tr>th,
table.wikitable>*>tr>th {
background-color: rgba(213, 215, 219, .4);
}