chiark / gitweb /
Tweak the tabulation style.
authorSimon Tatham <anakin@pobox.com>
Sun, 16 Mar 2014 23:17:31 +0000 (23:17 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 16 Mar 2014 23:17:31 +0000 (23:17 +0000)
Change the colours, and don't show the range except in 'range' type
cells.

tabulate.py

index 16a23c8..b986384 100755 (executable)
@@ -36,7 +36,7 @@ def read(n,m):
         show_bound = ""
     elif best_nature == 'p':
         tdclass = "probable"
-        show_bound = " (&ndash; %s)"
+        show_bound = ""
     else:
         tdclass = "range"
         show_bound = " &ndash; %s"
@@ -61,10 +61,10 @@ td.known {
     background-color: #00ff00;
 }
 td.believed {
-    background-color: #44ff44;
+    background-color: #aaff00;
 }
 td.probable {
-    background-color: #88ff88;
+    background-color: #ffff00;
 }
 td.range {
     background-color: #ff8888;