rlgallery-misc/web/scoring/scores.css
John "Elwin" Edwards 31174f58ee Right-align the numeric columns.
The Game.printTable() method now right-aligns the name, rank, and score
columns, by giving their cells a different CSS class.
2014-01-02 11:39:57 -05:00

50 lines
720 B
CSS

@import url("/main.css");
div.stable {
display: table;
border-width: 1px;
border-color: #101040;
border-style: solid;
border-collapse: collapse;
}
div.sentry {
display: table-row;
border-width: 1px 0;
border-color: #101040;
border-style: solid;
}
div.sentry:first-child {
background-color: #E0E0E0;
}
div.sentry:nth-child(3n) {
background-color: #E0E0FF;
}
div.sentry:nth-child(3n+4) {
background-color: #E0FFE0;
}
div.sentry:nth-child(3n+2) {
background-color: #FFE0E0;
}
span.shdata {
display: table-cell;
font-weight: bold;
text-align: center;
padding: 0 1em;
}
span.sdata {
display: table-cell;
padding: 0 1em;
}
span.sdatar {
display: table-cell;
padding: 0 1em;
text-align: right;
}