Skip to content

Instantly share code, notes, and snippets.

@mamund
Created June 11, 2012 02:56
Show Gist options
  • Save mamund/2908280 to your computer and use it in GitHub Desktop.
Save mamund/2908280 to your computer and use it in GitHub Desktop.
any advice on color/font tuning?
<html>
<head>
<style type="text/css">
body {
font-family: sans-serif;
}
table.aspects {
margin: 3em;
padding: 1em;
border: solid 1px #666666;
background-color: #CCCCCC;
box-shadow: rgba(0,0,0,0.25) 0px 0px 12px;
}
table.aspects td {
width: 150px;
height: 100px;
padding: 3em;
text-align: center;
vertical-align: middle;
font-weight: bold;
border-radius: 90%;
box-shadow: rgba(0,0,0,0.25) 0px 0px 12px;
}
td.a1 {
background-color: #db8f8f;
color: black;
}
td.a2 {
background-color: #4e6d4e;
color: white;
}
td.a3 {
background-color: #384163;
color: white;
}
td.a4 {
background-color: #dbd78f;
color: black;
}
th {
height: 100px;
padding: 0em;
margin:0;
text-align: center;
vertical-align: middle;
font-weight: bold;
font-size: 2em;
}
</style>
</head>
<body>
<table class="aspects" cellspacing="5">
<thead>
<th colspan="2">Hypermedia Aspects<th>
</thead>
<tbody>
<tr>
<td class="a1">Safety</td>
<td class="a2">Idempotence</td>
</tr>
<tr>
<td class="a3">Mutability</td>
<td class="a4">Transclusion</td>
</tr>
</body>
</table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment