Skip to content

Instantly share code, notes, and snippets.

@asteig
Created February 8, 2010 23:12
Show Gist options
  • Select an option

  • Save asteig/298711 to your computer and use it in GitHub Desktop.

Select an option

Save asteig/298711 to your computer and use it in GitHub Desktop.
<style type="text/css">
.date {
width: 100px;
margin: 0;
padding: 0;
background: #750e00;
}
.shadow {
position: absolute;
left: 2px;
right: 2px;
}
.clear {
clear: both;
}
.mon {
font-family: "Lucida Console";
color: #fff;
height: 40px;
background: #626F21;
margin: 0;
padding: 0;
font-weight: bold;
text-align: center;
line-height: 1.2em;
font-size: 36px;
display: block;
}
.day {
font-family: "Lucida Console";
color: #fff;
text-align: center;
background: #BFAA95;
height: 51px;
margin: 0;
padding: 5px 0 0 0;
font-weight: bold;
text-align: center;
font-size: 40px;
display: block;
}
.year {
font-family: "Lucida Console";
color: #fff;
background: #000;
margin: 0;
padding: 0 3px;
font-weight: bold;
text-align: center;
font-size: 20px;
width: 21px;
background: #304848;
display: block;
}
.daymon {
width: 70px;
float: left;
}
.right {
float: right;
}
</style>
<div class="date">
<div class="daymon">
<span class="day">29</span>
<span class="mon">APR</span>
</div>
<div class="right year">
2 0 0 1
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment