Template:CTable

From Final Kingdom MUSH
Revision as of 11:52, 16 October 2012 by Oathkeeper (Talk | contribs)

Jump to: navigation, search

{{css:

 .CTable                         {border-spacing:0px; width:90%; text-align:left; padding:5px;}
 .CTable     tr:nth-child(1) th  {background-color: rgba(0,70,70,.6); text-align:center; font-size:medium; color:white;}
 .CTable     tr:nth-child(1) th:nth-last-child(1) {border-top-right-radius: 5px}
 .CTable     tr:nth-child(1) th:nth-child(1) {border-top-left-radius: 5px;}
 .CTable     tr:nth-last-child(1) td:nth-last-child(1) {border-bottom-right-radius: 5px}
 .CTable     tr:nth-last-child(1) td:nth-child(1) {border-bottom-left-radius: 5px;}
 .CTable     tr:nth-child(2n+2)  {background-color: rgba(0,70,70,.4);}
 .CTable     tr:nth-child(2n+1)  {background-color: rgba(0,70,70,.2);}
 .CTable     td,th               {padding:0px 0px 0px 5px;}

}}