summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--style.css4
-rw-r--r--test_index.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/style.css b/style.css
index d6bcdd5..bca0430 100644
--- a/style.css
+++ b/style.css
@@ -32,8 +32,8 @@ tr.todo td.status-box { background: white; }
tr.building td.status-box { background: yellow; }
tr.partial td.status-box { background: blue; }
-td.timeinfo { font-size: 85%; text-align: right; color: #444444; }
-td.percent { text-align: right; }
+.timeinfo { font-size: 85%; text-align: right; color: #444444; }
+.number, .percent { text-align: right; }
#stats { float: right; }
#score { margin-bottom: 2em; font-family: Helvetica, Verdana, Arial, sans-serif; }
diff --git a/test_index.php b/test_index.php
index 8449c10..61ddb79 100644
--- a/test_index.php
+++ b/test_index.php
@@ -402,7 +402,7 @@ if ($total > 0) {
$s .= '<table style="width: 100%"><caption>Stats.</caption><tr><th colspan="2">Status</th><th>Count</th><th>%</th></tr>';
foreach ($stats as $k => $v) {
- $s .= sprintf('<tr class="%s"><td class="status-box"></td><td>%s</td><td>%d</td><td>%d%%</td></tr>',
+ $s .= sprintf('<tr class="%s"><td class="status-box"></td><td class="number">%s</td><td>%d</td><td class="percent">%d%%</td></tr>',
$k, $k, $v, round($v/$total*100));
}