User:Star0/common.css:修订间差异
(清空全部内容) 标签:清空 已被回退 |
无编辑摘要 标签:手工回退 已被回退 |
||
第1行: | 第1行: | ||
.rotable { | |||
width: 100%; | |||
border-collapse: collapse; | |||
} | |||
.rotable caption { | |||
font-size: 2em; | |||
font-weight: bold; | |||
margin: 1em 0; | |||
} | |||
.rotable th, | |||
.rotable td { | |||
border: 1px solid #999; | |||
text-align: center; | |||
padding: .5em 0; | |||
} | |||
.rotable th { | |||
background-color: #dfe3f3; | |||
color: #fff; | |||
} | |||
.rotable tr:first-child th { | |||
background-color: #bac3ed; | |||
color: #fff; | |||
} | |||
.rotable tbody tr:nth-child(odd) { | |||
background-color: #eee; | |||
} | |||
.rotable tbody tr:hover { | |||
background-color: #ccc; | |||
} | |||
.rotable tbody tr td:first-child { | |||
color: #f40; | |||
} |
2022年7月23日 (六) 20:12的版本
.rotable {
width: 100%;
border-collapse: collapse;
}
.rotable caption {
font-size: 2em;
font-weight: bold;
margin: 1em 0;
}
.rotable th,
.rotable td {
border: 1px solid #999;
text-align: center;
padding: .5em 0;
}
.rotable th {
background-color: #dfe3f3;
color: #fff;
}
.rotable tr:first-child th {
background-color: #bac3ed;
color: #fff;
}
.rotable tbody tr:nth-child(odd) {
background-color: #eee;
}
.rotable tbody tr:hover {
background-color: #ccc;
}
.rotable tbody tr td:first-child {
color: #f40;
}