style: drop explicit td tag selectors in css
[sheet.git] / base.css
index d4e3758b3c9fd985d6dd451259e165c43fa84299..b613c317b7938fe92242365e94359df866f59a03 100644 (file)
--- a/base.css
+++ b/base.css
@@ -277,62 +277,62 @@ table.dimap {
 
 /* character properties */
 
-td.X  {background: #FFF} /* unidentified */
-#digraphs td.Xa {color: #0A0} /* ascii */
-#digraphs td.Xl {color: #070} /* latin1 */
-#digraphs   .Xz {color: #D00} /* proposed */
+.X  {background: #FFF} /* unidentified */
+#digraphs .Xa {color: #0A0} /* ascii */
+#digraphs .Xl {color: #070} /* latin1 */
+#digraphs .Xz {color: #D00} /* proposed */
 
-td.Lm, td.Mc, td.Me, td.Zl, td.Zp {background: #F00} /* unstyled */
+.Lm, .Mc, .Me, .Zl, .Zp {background: #F00} /* unstyled */
 
 /* letter scripts */
-td.Armenian,
-td.Greek    {background: #FFE8CF}
-td.Cyrillic {background: #FFDDA8}
-td.Latin    {background: #FFB}
-td.Aramaic,
-td.Hebrew   {background: #FFD}
-td.Arabic   {background: #EFE}
-td.African  {background: #DED}
-td.Brahmic  {background: #FBB} /* same as number */
-td.Khmer    {background: #FBA}
-td.Hangul,
-td.Syllabic {background: #DEA}
-td.Katakana {background: #DFA}
-td.Hiragana {background: #DFC}
-td.Bopomofo {background: #BFC}
-td.Han      {background: #CFD}
-td.Alpha    {background: #ADA} /* other scripts */
+.Armenian,
+.Greek    {background: #FFE8CF}
+.Cyrillic {background: #FFDDA8}
+.Latin    {background: #FFB}
+.Aramaic,
+.Hebrew   {background: #FFD}
+.Arabic   {background: #EFE}
+.African  {background: #DED}
+.Brahmic  {background: #FBB} /* same as number */
+.Khmer    {background: #FBA}
+.Hangul,
+.Syllabic {background: #DEA}
+.Katakana {background: #DFA}
+.Hiragana {background: #DFC}
+.Bopomofo {background: #BFC}
+.Han      {background: #CFD}
+.Alpha    {background: #ADA} /* other scripts */
 
 /* other categories */
-td.Nd, td.Nl, td.No        {background: #FDD} /* number */
-td.Sc                      {background: #FCD} /* currency */
-td.Sm                      {background: #ECE} /* math */
-td.So                      {background: #DCF} /* symbol */
-td.Pd, td.Po, td.Pc        {background: #CDF} /* punctuation */
-td.Ps, td.Pe, td.Pi, td.Pf {background: #BEF} /* quote */
-td.Lm, td.Sk               {background: #CEE} /* spacing modifier */
-td.Mn                      {background: #ACC} /* modifier */
-td.Cc, td.Cf  {color: #666; background: #BBB} /* control */
-td.Zs                      {background: #ACB} /* space */
-td.Zs span                 {background: #EEE}
-td.Co                      {background: #DCC} /* private */
-td.Xi, td.Cs               {background: #CCC} /* invalid */
-td.Xd                      {color: #844} /* deprecated */
-td.Xr                      {color: #888} /* reserved (digraph reverse or proposal) */
-.dimap td.Xr               {background: #EEE} /* reversed digraph */
-.ccmap td.Xr {opacity:.4}
+.Nd, .Nl, .No         {background: #FDD} /* number */
+.Sc                   {background: #FCD} /* currency */
+.Sm                   {background: #ECE} /* math */
+.So                   {background: #DCF} /* symbol */
+.Pd, .Po, .Pc         {background: #CDF} /* punctuation */
+.Ps, .Pe, .Pi, .Pf    {background: #BEF} /* quote */
+.Lm, .Sk              {background: #CEE} /* spacing modifier */
+.Mn                   {background: #ACC} /* modifier */
+.Cc, .Cf {color: #666; background: #BBB} /* control */
+.Zs                   {background: #ACB} /* space */
+.Zs span              {background: #EEE}
+.Co                   {background: #DCC} /* private */
+.Xi, .Cs              {background: #CCC} /* invalid */
+.Xd                   {color: #844} /* deprecated */
+.Xr                   {color: #888} /* reserved (digraph reverse or proposal) */
+.dimap .Xr            {background: #EEE} /* reversed digraph */
+.ccmap .Xr {opacity:.4}
 
 /* support levels */
-td.l0 {background: #FDD} /* no, unsupported, other */
-td.l2 {background: #FED} /* partial, restricted, unofficial */
+.l0 {background: #FDD} /* no, unsupported, other */
+.l2 {background: #FED} /* partial, restricted, unofficial */
        /* default u-prop, u-bmp */
-td.l4 {background: #FFD} /* almost, imperfect, common */
+.l4 {background: #FFD} /* almost, imperfect, common */
        /* default u-di, u-lat1 */
-td.l5 {background: #EFD} /* yes, supported, ubiquitous, native */
+.l5 {background: #EFD} /* yes, supported, ubiquitous, native */
        /* default u-ascii */
-td.l6 {background: #DFD} /* complete, perfect */
-td.ex {background: #EEE} /* experimental, disfavoured */
-td.u-invalid {background: #BBB} /* invalid, impossible */
+.l6 {background: #DFD} /* complete, perfect */
+.ex {background: #EEE} /* experimental, disfavoured */
+.u-invalid {background: #BBB} /* invalid, impossible */
 
 /* code syntax */
 .sy-comment    { color: #888 }
@@ -346,78 +346,78 @@ td.u-invalid {background: #BBB} /* invalid, impossible */
 .sy-todo       { background-color: #FF0 }
 
 /* hover effects */
-td.u-di,
-td.X:hover {cursor: help}
-td.Greek:hover, td.Armenian:hover                  {background: #FA8}
-td.Cyrillic:hover                                  {background: #FB7}
-td.Latin:hover                                     {background: #EE4}
-td.Hebrew:hover, td.Aramaic:hover                  {background: #FFA}
-td.Arabic:hover                                    {background: #CFD}
-td.African:hover                                   {background: #BDB}
-td.Syllabic:hover, td.Hangul:hover                 {background: #CE6}
-td.Katakana:hover                                  {background: #BF7}
-td.Hiragana:hover                                  {background: #AF8}
-td.Bopomofo:hover                                  {background: #8FA}
-td.Brahmic:hover                                   {background: #F77}
-td.Khmer:hover                                     {background: #F87}
-td.Han:hover                                       {background: #5EB}
-td.Alpha:hover                                     {background: #5C5}
-td.Nd:hover, td.Nl:hover, td.No:hover              {background: #F99} /* number */
-td.Sc:hover                                        {background: #F8C} /* currency */
-td.Sm:hover                                        {background: #F8F} /* math */
-td.So:hover                                        {background: #A8F} /* symbol */
-td.Pd:hover, td.Po:hover, td.Pc:hover              {background: #8AF} /* punctuation */
-td.Ps:hover, td.Pe:hover, td.Pi:hover, td.Pf:hover {background: #8DF} /* quote */
-td.Lm:hover, td.Sk:hover                           {background: #BFF} /* spacing modifier */
-td.Mn:hover                                        {background: #CDE} /* modifier */
-td.Zs:hover                                        {background: #CED} /* space */
-td.Cc:hover, td.Cf:hover                           {background: #DDD} /* control */
-td.Co:hover                                        {background: #A77} /* private */
-td.Xr:hover                                        {background: #FFF} /* reserved */
-td.Xa:hover {outline: 1px solid #0F0} /* ascii */
-td.Xl:hover {outline: 1px solid #0C0} /* latin1 */
-td.Xz:hover {outline: 1px solid #F00} /* proposed */
-td.l0:hover                                        {background: #F88}
-td.l2:hover                                        {background: #FC8}
-td.l4:hover                                        {background: #FF8}
-td.l5:hover                                        {background: #CF8}
-td.l6:hover                                        {background: #8F8}
-td.ex:hover                                        {background: #BBB}
+.u-di,
+.X:hover {cursor: help}
+.Greek:hover, .Armenian:hover              {background: #FA8}
+.Cyrillic:hover                            {background: #FB7}
+.Latin:hover                               {background: #EE4}
+.Hebrew:hover, .Aramaic:hover              {background: #FFA}
+.Arabic:hover                              {background: #CFD}
+.African:hover                             {background: #BDB}
+.Syllabic:hover, .Hangul:hover             {background: #CE6}
+.Katakana:hover                            {background: #BF7}
+.Hiragana:hover                            {background: #AF8}
+.Bopomofo:hover                            {background: #8FA}
+.Brahmic:hover                             {background: #F77}
+.Khmer:hover                               {background: #F87}
+.Han:hover                                 {background: #5EB}
+.Alpha:hover                               {background: #5C5}
+.Nd:hover, .Nl:hover, .No:hover            {background: #F99} /* number */
+.Sc:hover                                  {background: #F8C} /* currency */
+.Sm:hover                                  {background: #F8F} /* math */
+.So:hover                                  {background: #A8F} /* symbol */
+.Pd:hover, .Po:hover, .Pc:hover            {background: #8AF} /* punctuation */
+.Ps:hover, .Pe:hover, .Pi:hover, .Pf:hover {background: #8DF} /* quote */
+.Lm:hover, .Sk:hover                       {background: #BFF} /* spacing modifier */
+.Mn:hover                                  {background: #CDE} /* modifier */
+.Zs:hover                                  {background: #CED} /* space */
+.Cc:hover, .Cf:hover                       {background: #DDD} /* control */
+.Co:hover                                  {background: #A77} /* private */
+.Xr:hover                                  {background: #FFF} /* reserved */
+.Xa:hover {outline: 1px solid #0F0} /* ascii */
+.Xl:hover {outline: 1px solid #0C0} /* latin1 */
+.Xz:hover {outline: 1px solid #F00} /* proposed */
+.l0:hover                                  {background: #F88}
+.l2:hover                                  {background: #FC8}
+.l4:hover                                  {background: #FF8}
+.l5:hover                                  {background: #CF8}
+.l6:hover                                  {background: #8F8}
+.ex:hover                                  {background: #BBB}
 
 /* key type colorization */
 
-td.c-na,
+.c-na,
 .pm {background: #BFB}   /* motion */
 .po {background: #DFA}   /* window */
-td.c-af,
+.c-af,
 .co {background: #FFA}   /* command */
-td.c-sa,
+.c-sa,
 .ci {background: #BFE}   /* info */
-td.c-eu,
+.c-eu,
 .cp {background: #FDA}   /* TODO */
 .mi {background: #FCA}   /* insert mode */
-td.c-as,
+.c-as,
 .mo {background: #FCC}   /* mode */
-td.c-aa,
+.c-aa,
 .mv {background: #ECE}   /* visual mode */
-td.c-oc,
+.c-oc,
 .me {background: #CCF}   /* key mode */
 
-td.c-na:hover,
+.c-na:hover,
 .pm a:hover, .pm[onclick]:hover {background: #7E7}
 .po a:hover, .po[onclick]:hover {background: #CE6}
-td.c-sa:hover,
+.c-sa:hover,
 .ci a:hover, .ci[onclick]:hover {background: #5ED}
-td.c-eu:hover,
+.c-eu:hover,
 .cp a:hover, .cp[onclick]:hover {background: #FA6}
 .mi a:hover, .mi[onclick]:hover {background: #F97}
-td.c-as:hover,
+.c-as:hover,
 .mo a:hover, .mo[onclick]:hover {background: #F88}
-td.c-oc:hover,
+.c-oc:hover,
 .me a:hover, .me[onclick]:hover {background: #99F}
-td.c-aa:hover,
+.c-aa:hover,
 .mv a:hover, .mv[onclick]:hover {background: #D9D}
-td.c-af:hover,
+.c-af:hover,
 .co a:hover, .co[onclick]:hover {background: #EE4}
 
 .no {