FiscalNote Table
by Adam Nekola
HTML
<script src="//use.typekit.net/zht7wtz.js"></script>
<script>try{Typekit.load();}catch(e){}</script>
<div id="graphic">
<h1>Name of the table</h1>
<h2>Subhead of the table</h2>
<table cellpadding="0" cellspacing="0">
<thead><tr>
<th>One</th><th>Two</th>
</tr></thead>
<tbody>
<tr>
<td>1</td><td>2</td>
</tr>
</tbody>
</table>
<div id="credit">Source: FiscalNote Prophecy
<img src="https://fiscalnote.com/assets/logos/logosmall_153-77918c53b25bc34c07e07f712e719d18.png"/>
</div>
</div>
CSS
* {
font-family: "proxima-nova",sans-serif;
}
h1 {
color: #333333;
line-height:125%;
font-size: 1.2em;
font-weight: bold;
}
h2 {
color: #aaa;
font-size: 0.9em;
line-height:135%;
font-weight: 100;
}
#graphic { width: 300px; }
#graphic .wide { width: 600px; }
#credit {
padding: 10px;
background:#f4f4f4;
font-size:0.7em;
line-height:20px;
color:#aaa;
}
#credit img {
height: 20px;
width:auto;
float:right;
}
table {
width:100%;
margin-bottom: 20px;
font-size:0.8em;
}
th {
text-align: left;
border-bottom:1px solid #bbb;
}
td,th {
padding:8px;
}