LLWiki正在建设中,欢迎加入我们

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

跳转到导航 跳转到搜索
添加550字节 、​ 2021年5月14日 (五) 10:27
测试固定表头,如测试失败我将撤回编辑
标签移动版网页编辑 移动版编辑
(测试固定表头,如测试失败我将撤回编辑)
.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>*/

导航菜单