Skip to content

Instantly share code, notes, and snippets.

@maxmanders
Created March 18, 2014 21:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxmanders/9630050 to your computer and use it in GitHub Desktop.
Save maxmanders/9630050 to your computer and use it in GitHub Desktop.
<style type="text/css">
div.container {
width: 100%;
}
div.container table {
width: 600px;
}
table th {
text-align: right;
width: 150px;
margin: 0;
padding: 0;
}
table td {
text-align: left;
}
tr a {
text-decoration: none;
width: 150px;
margin: 0;
padding: 0;
}
tr.objectivecdaily th {
background-color: #b1b7fd;
}
tr.objectivecdaily a {
color: #fff;
}
tr.objectivecdaily a:hover {
background-color: #0217fd;
color: #fff;
}
tr.objectivecdaily td {
background-color: #999dcc;
}
tr.djangodaily th {
background-color: #b4fdb1;
}
tr.djangodaily td {
background-color: #9bcc99;
}
</style>
<h2>Total Tweets: <span class="tweet-count">772</span></h2>
<div class="container">
<table>
<tr class="objectivecdaily">
<th><a href="#">@ObjectiveCDaily</a></th>
<td>Lorem ipsum dolor sit amet</td>
</tr>
<tr class="djangodaily">
<th>@DjangoDaily</th>
<td>Lorem ipsum dolor sit amet</td>
</tr>
<tr class="objectivecdaily">
<th>@ObjectiveCDaily</th>
<td>Lorem ipsum dolor sit amet</td>
</tr>
<tr class="objectivecdaily">
<th>@ObjectiveCDaily</th>
<td>Lorem ipsum dolor sit amet</td>
</tr>
<tr class="djangodaily">
<th>@DjangoDaily</th>
<td>Lorem ipsum dolor sit amet</td>
</tr>
<tr class="djangodaily">
<th>@DjangoDaily</th>
<td>Lorem ipsum dolor sit amet</td>
</tr>
<tr class="objectivecdaily">
<th>@ObjectiveCDaily</th>
<td>Lorem ipsum dolor sit amet</td>
</tr>
<tr class="objectivecdaily">
<th>@ObjectiveCDaily</th>
<td>Lorem ipsum dolor sit amet</td>
</tr>
<tr class="objectivecdaily">
<th>@ObjectiveCDaily</th>
<td>Lorem ipsum dolor sit amet</td>
</tr>
<tr class="djangodaily">
<th>@DjangoDaily</th>
<td>Lorem ipsum dolor sit amet</td>
</tr>
</table>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment