User:Star0/common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
.rotable | .rotable { | ||
width: 100%; | width: 100%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
} | } | ||
.rotable | .rotable caption { | ||
font-size: 2em; | font-size: 2em; | ||
font-weight: bold; | font-weight: bold; | ||
第17行: | 第17行: | ||
} | } | ||
.rotable | .rotable th { | ||
background-color: #dfe3f3; | background-color: #dfe3f3; | ||
color: #fff; | color: #fff; | ||
} | } | ||
.rotable | .rotable tr:first-child th { | ||
background-color: #bac3ed; | background-color: #bac3ed; | ||
color: #fff; | color: #fff; | ||
} | } | ||
.rotable | .rotable tbody tr:nth-child(odd) { | ||
background-color: #eee; | background-color: #eee; | ||
} | } | ||
.rotable | .rotable tbody tr:hover { | ||
background-color: #ccc; | background-color: #ccc; | ||
} | } | ||
.rotable | .rotable tbody tr td:first-child { | ||
color: #f40; | color: #f40; | ||
} | } |
2022年7月21日 (四) 20:41的版本
.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: 20px 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;
}