User:Star0/common.css
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
.rotable table {
width: 100%;
border-collapse: collapse;
}
.rotable table 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 table th {
background-color: #dfe3f3;
color: #fff;
}
.rotable table tr:first-child th {
background-color: #bac3ed;
color: #fff;
}
.rotable table tbody tr:nth-child(odd) {
background-color: #eee;
}
.rotable table tbody tr:hover {
background-color: #ccc;
}
.rotable table tbody tr td:first-child {
color: #f40;
}