The truly great NAND table that we have is rather difficult to follow because
it is big. Make this a bit easier by applying different background colors to
different rows. Alternate the colors with period = 4.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
tmp = open(head, 'r')
fdout.write(tmp.read())
tmp.close()
- fdout.write('<table>\n')
+ fdout.write('<table class="zebra">\n')
row = reader.next()
for i in range(len(row)):
if (row[i] == "All but Size"):
table th { background-color: #eee; }
.wrong-size { color: #0066FF; }
.exception { color: red; }
+ .zebra tbody tr:nth-child(4n+1) { background-color: #ffffef;}
+ .zebra tbody tr:nth-child(4n+2) { background-color: #ffefff;}
+ .zebra tbody tr:nth-child(4n+3) { background-color: #efffff;}
#footer { text-align: left; }
</style>
<!--