Skip to content

Instantly share code, notes, and snippets.

@yardfarmer
Created August 17, 2014 10: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 yardfarmer/c3273b4caa7c176a6e9c to your computer and use it in GitHub Desktop.
Save yardfarmer/c3273b4caa7c176a6e9c to your computer and use it in GitHub Desktop.
body {
font: 100% sans-serif; /* This results in Arial on Windows and Helvetica on OS X. */
}
table {
/* The default setting is border-collapse: separate;. By changing separate to collapse as shown below, the space between each table cell is removed. */
border-collapse: collapse;
-webkit-box-shadow: 3px 3px 7px #055584;
-moz-box-shadow: 3px 3px 7px #055584;
box-shadow: 3px 3px 7px #055584;
}
caption {
color: #055584;
font-size: 1.25em;
font-weight: bold;
margin: 0 0 .5em;
text-shadow: 1px 1px 1px #c0e0f2;
}
td,
th {
font-size: .8125em;
border: 1px solid #000;
padding: .75em;
}
th {
background: #055584;
color: #c0e0f2;
}
td {
background: #d2ebf9;
width: 9em;
}
thead th:first-child {
background: #1a628c;
}
thead th {
border-bottom: 3px solid #000;
text-transform: uppercase;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment