Template:NumBlk/styles.css
外观
table.numblk {
border-collapse: collapse;
background: none;
border: none;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
}
table.numblk > tbody > tr > td {
vertical-align: middle;
padding: 0;
}
table.numblk > tbody > tr > td:nth-child(2) {
width: 99%;
}
table.numblk > tbody > tr > td:nth-child(2) > table {
border-collapse: collapse;
background: none;
margin: 0;
border: none;
width: 100%;
}
table.numblk > tbody > tr > td:nth-child(2) >
table > tbody > tr:first-child > td:first-child,
table.numblk > tbody > tr > td:nth-child(2) >
table > tbody > tr:first-child > td:last-child {
padding: 0 0.4ex;
}
table.numblk > tbody > tr > td:nth-child(2) >
table > tbody > tr:first-child > td:nth-child(2) {
width: 100%;
padding: 0;
}
table.numblk > tbody > tr > td:nth-child(2) >
table > tbody > tr:last-child > td {
padding: 0;
}
table.numblk > tbody > tr > td:last-child {
font-weight: bold;
}
table.numblk.numblk-raw-n > tbody > tr > td:last-child {
font-weight: /*revert*/unset;
}
table.numblk > tbody > tr > td:last-child::before {
content: "(";
}
table.numblk > tbody > tr > td:last-child::after {
content: ")";
}
table.numblk.numblk-raw-n > tbody > tr > td:last-child::before,
table.numblk.numblk-raw-n > tbody > tr > td:last-child::after {
content: none;
}
table.numblk > tbody > tr > td {
border: none;
}
table.numblk.numblk-border > tbody > tr > td {
border: thin solid;
}
table.numblk > tbody > tr > td:nth-child(2) >
table > tbody > tr:first-child > td {
border: none;
}
table.numblk.numblk-border > tbody > tr > td:nth-child(2) >
table > tbody > tr:first-child > td {
border: thin solid;
}
table.numblk > tbody > tr > td:nth-child(2) >
table > tbody > tr:last-child > td {
border-left: none;
border-right: none;
border-bottom: none;
}
table.numblk.numblk-border > tbody > tr > td:nth-child(2) >
table > tbody > tr:last-child > td {
border-left: thin solid;
border-right: thin solid;
border-bottom: thin solid;
}
table.numblk:target {
background-color: #eaf3ff;
}