From cd545c25519d72b03aa96d78938536dbd424e7a3 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Tue, 4 Aug 2009 19:19:59 -0700 Subject: [PATCH] list marker fiddling --- dip3.css | 2 +- util/lesscss.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dip3.css b/dip3.css index b80137e..cb93d52 100755 --- a/dip3.css +++ b/dip3.css @@ -76,7 +76,7 @@ pre, kbd, samp, code, var, .b, pre span { .u { font: medium/1.75 'Arial Unicode MS', FreeSerif, OpenSymbol, 'DejaVu Sans', sans-serif; } -pre .u, pre .u span, .a { +pre .u, td .u, pre .u span, .a { font: medium/1.75 'Arial Unicode MS', 'DejaVu Sans', FreeSerif, OpenSymbol, sans-serif; } .baa { diff --git a/util/lesscss.py b/util/lesscss.py index e1c8bc2..7f5896a 100755 --- a/util/lesscss.py +++ b/util/lesscss.py @@ -7,7 +7,7 @@ import sys # These selectors are kept regardless of whether this script thinks they are used. # Most of these match nodes that are dynamically inserted or manipulated by script # after the page has loaded, which is why a static analysis thinks they're unused. -SELECTOR_EXCEPTIONS = ('.w', '.b', '.str', '.kwd', '.com', '.typ', '.lit', '.pun', '.tag', '.atn', '.atv', '.dec', 'pre .u', 'pre .u span', 'li ol', 'a.hl:link', 'a.hl:visited', 'a.hl:hover', 'h2[id]:hover a.hl', 'h3[id]:hover a.hl') +SELECTOR_EXCEPTIONS = ('.w', '.b', '.str', '.kwd', '.com', '.typ', '.lit', '.pun', '.tag', '.atn', '.atv', '.dec', 'pre .u', 'pre .u span', 'td .u', 'li ol', 'a.hl:link', 'a.hl:visited', 'a.hl:hover', 'h2[id]:hover a.hl', 'h3[id]:hover a.hl') filename = sys.argv[1] pqd = pq(filename=filename)