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

View file

@ -182,32 +182,11 @@ ul#menu li {
border-top: none; border-top: none;
padding-top: 1em; padding-top: 1em;
} }
abbr.date { .column abbr {
display: block; display: block;
width: 30px; font-size: 0.8em;
height: 60px; float: right;
float: left; color: #aaa;
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;
} }
/* Flickr thumbnails */ /* Flickr thumbnails */