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

删除550字节 、​ 2021年5月14日 (五) 10:36
测试请使用个人css,这段样式就不该放在这个文件里
(测试固定表头,如测试失败我将撤回编辑)
(测试请使用个人css,这段样式就不该放在这个文件里)
标签撤销 移动版网页编辑 移动版编辑
.template-pre p {
margin: -1.3em 0;
}
 
/* class tsticky, tsticky2 固定表头 通用 */
.tsticky tr:nth-child(1) th, .tsticky2 tr:nth-child(-n+2) th {
position: sticky;
background-clip: padding-box;
top: 0;
z-index: 10;
}
 
.tsticky th:after, .tsticky th:before, .tsticky2 th:after, .tsticky2 th:before {
content: '';
position: absolute;
left: 0;
width: 100%;
}
 
.tsticky th:before, .tsticky2 th:before {
top: -1px;
border-top: 1px solid #a2a9b1;
}
 
.tsticky th:after, .tsticky2 th:after {
bottom: -1px;
border-bottom: 1px solid #a2a9b1;
}
/*</nowiki>*/
16,874

个编辑