1
0
Fork 0
forked from wezm/wezm.net

Simple dates on right

This commit is contained in:
Wesley Moore 2010-01-26 16:26:49 +11:00
parent db0cdb6c8a
commit 2a8126bcac
2 changed files with 9 additions and 28 deletions

View file

@ -27,7 +27,8 @@
</abbr>
<p>
<strong><a href="<%= article.reps.first.path %>"><%= article[:title] %></a></strong>
A one sentence summary of this post would go here this one is longer then the other one.</p>
A one sentence summary of this post would go here this one is longer then the other one.
</p>
</li>
<% end %>
</ul>
@ -45,8 +46,9 @@
<span class="year">2009</span>
</abbr>
<p>
<strong><a href="/technical/2009/09/font-smoothing-in-snow-leopard/">Font Smoothing in Snow Leopard</a></strong>
A one sentence summary of this post would go here this one is longer then the other one.</p>
<strong><a href="/technical/2009/09/font-smoothing-in-snow-leopard/">A Long Post Title That Goes More Than a Line Possibly Going Into The Second Line</a></strong>
A one sentence summary of this post would go.
</p>
</li>
<% sorted_articles[5..9].each do |article| %>
<% post_date = WezM::Helpers.post_date(article) %>

View file

@ -182,32 +182,11 @@ ul#menu li {
border-top: none;
padding-top: 1em;
}
abbr.date {
.column abbr {
display: block;
width: 30px;
height: 60px;
float: left;
padding-right: 0.5em;
}
abbr.date span {
display: block;
text-align: center;
}
abbr.date .day {
font-size: 14px;
font-weight: bold;
}
abbr.date .month {
text-transform: uppercase;
font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif;
font-size: 10px;
}
abbr.date .year {
/* border: 1px solid red;*/
/* -webkit-transform-origin: bottom right;
-webkit-transform: rotate(-90deg);*/
font-size: 9px;
font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif;
font-size: 0.8em;
float: right;
color: #aaa;
}
/* Flickr thumbnails */