<article></article>
<article style="border-bottom: none;"> <!-- because the css won't work in the screencap -->
<aside>
<span class="day">31</span>
<span class="month">Aug 08</span>
</aside>
<aside>
<span class="day">06</span>
<span class="month">Jul 12</span>
</aside>
<aside>
<span class="day">27</span>
<span class="month">Dec 94</span>
</aside>
</article>
@import "compass/css3";
$dark: #555;
$light: #B3BCC4;
body {
margin: 0;
background-color: #CBD3D4;
}
article {
border-bottom: 2px solid $dark;
border-top: 6px solid $light;
padding: 20px 0;
position: relative;
text-align: center;
}
article:first-child {
border-top: none;
}
article:last-child {
border-bottom: none;
}
aside {
position: relative;
box-sizing: border-box;
display: inline-block;
margin: 0 20px;
top: -26px;
width: 80px;
padding: 5px 8px 10px;
background-color: $dark;
color: $light;
}
aside:before, aside:after {
content: '';
position: absolute;
left: 0;
border-style: solid;
border-width: 0 40px 20px;
}
aside:before {
bottom: -20px;
border-color: transparent $dark;
z-index: 1234;
}
aside:after {
bottom: -26px;
border-top-width: 6px;
border-color: $light $light transparent $light;
}
aside span {
display: block;
}
aside span.day {
font-size: 60px;
line-height: 65px;
font-family: 'PT Serif', monospace;
}
aside span.month {
font-family: 'PT Mono', monospace;
}
View Compiled