User:Star0/common.css:修订间差异

来自Rotaeno中文维基
(创建页面,内容为“table { width: 100%; border-collapse: collapse; } table caption { font-size: 2em; font-weight: bold; margin: 1em 0; } th, td { border: 1px solid #999; text-align: center; padding: 20px 0; } table th { background-color: #dfe3f3; color: #fff; } table tr:first-child th { background-color: #bac3ed; color: #fff; } table tbody tr:nth-child(odd) { background-color: #eee; } table tbody tr:hover { background-co…”)
 
无编辑摘要
第1行: 第1行:
table {
.rotable table {
    width: 100%;
    width: 100%;
    border-collapse: collapse;
    border-collapse: collapse;
}
}


table caption {
.rotable table caption {
    font-size: 2em;
    font-size: 2em;
    font-weight: bold;
    font-weight: bold;
第10行: 第10行:
}
}


th,
.rotable th,
td {
.rotable td {
    border: 1px solid #999;
    border: 1px solid #999;
    text-align: center;
    text-align: center;
第17行: 第17行:
}
}


table th {
.rotable table th {
   background-color: #dfe3f3;
   background-color: #dfe3f3;
   color: #fff;
   color: #fff;
}
}


table tr:first-child th {
.rotable table tr:first-child th {
    background-color: #bac3ed;
    background-color: #bac3ed;
    color: #fff;
    color: #fff;
}
}


table tbody tr:nth-child(odd) {
.rotable table tbody tr:nth-child(odd) {
    background-color: #eee;
    background-color: #eee;
}
}


table tbody tr:hover {
.rotable table tbody tr:hover {
    background-color: #ccc;
    background-color: #ccc;
}
}


table tbody tr td:first-child {
.rotable table tbody tr td:first-child {
    color: #f40;
    color: #f40;
}
}

2022年7月21日 (四) 20:39的版本

.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;
}