Commits

Juan Martínez committed f7fd428

Use table headers and CSS instead of explicit markup

Comments (0)

Files changed (2)

pyweek/challenge/media/challenge.css

 	vertical-align: top;
 	padding-bottom: 0.5em;
 }
+table#top-entries th {
+	text-align: left;
+	font-weight: bold;
+	padding-bottom: 0.5em;
+}
 
 #pagination {
        background-color: #F3F3F3;

pyweek/challenge/templates/challenge/ratings.html

 <table id="top-entries">
   <tbody>
     <tr>
-      <td colspan="4"><strong>Top Individual Entries</strong></td>
+      <th colspan="4">Top Individual Entries</th>
     </tr>
     <tr>
-      <td><strong>Overall</strong></td>
-      <td><strong>Fun</strong></td>
-      <td><strong>Innovation</strong></td>
-      <td><strong>Production</strong></td>
+      <th>Overall</th>
+      <th>Fun</th>
+      <th>Innovation</th>
+      <th>Production</th>
     </tr>
     <tr>
       <td>
       </td>
     </tr>
     <tr>
-      <td colspan="4" style="padding-top: 1em;"><strong>Top Team Entries</strong></td>
+      <th colspan="4" style="padding-top: 1em;">Top Team Entries</th>
     </tr>
     <tr>
-      <td><strong>Overall</strong></td>
-      <td><strong>Fun</strong></td>
-      <td><strong>Innovation</strong></td>
-      <td><strong>Production</strong></td>
+      <th>Overall</th>
+      <th>Fun</th>
+      <th>Innovation</th>
+      <th>Production</th>
     </tr>
     <tr>
       <td>