Permalink
Browse files

lighten article listing

  • Loading branch information...
1 parent 8972874 commit de4d8fdd4e729c5753009bd759e3b8bd10d55ac0 @rohit committed Sep 17, 2012
Showing with 7 additions and 2 deletions.
  1. +2 −0 public/css/sass/screen.scss
  2. +3 −0 public/css/screen.css
  3. +2 −2 views/welcome.haml
View
2 public/css/sass/screen.scss
@@ -286,6 +286,8 @@ body > section#articles {
}
+dt.month, dt.year { font-weight: 300; }
+
body > footer > section#about, body > footer > section#elsewhere {
>ul {
list-style: none;
View
3 public/css/screen.css
@@ -265,6 +265,9 @@ body > section#articles {
body > section#articles > dl > dd > dl > dd > h1 a {
border: none; }
+dt.month, dt.year {
+ font-weight: 300; }
+
body > footer > section#about > ul, body > footer > section#elsewhere > ul {
list-style: none; }
body > footer > section#about > ul > li, body > footer > section#elsewhere > ul > li {
View
4 views/welcome.haml
@@ -14,11 +14,11 @@
%h1 Articles
%dl
- @articles.group_by { |article| article.published.year }.each do |year, articles|
- %dt= year
+ %dt.year= year
%dd
- articles.group_by { |article| article.published.month }.each do |month, articles|
%dl
- %dt= Date::MONTHNAMES[month]
+ %dt.month= Date::MONTHNAMES[month]
%dd
- articles.each do |article|
%h1

0 comments on commit de4d8fd

Please sign in to comment.