From aef9262809b1764ee1671ca897f9b5016e50a045 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Thu, 1 Apr 2010 07:58:57 +1100 Subject: [PATCH] Style home links and make section headers links --- layouts/home.html | 8 ++++---- output/css/screen.css | 7 ++++++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/layouts/home.html b/layouts/home.html index d16766f..a557472 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -13,7 +13,7 @@ <%= render '_header' %>
-

Technical +

Technical Black Feed Icon

    @@ -21,13 +21,13 @@ <%= render '_article', :article => article %> <% end %>
- More + More »
-

Personal +

Personal

    @@ -35,7 +35,7 @@ <%= render '_article', :article => article %> <% end %>
- More + More »
diff --git a/output/css/screen.css b/output/css/screen.css index 408ed73..db82611 100644 --- a/output/css/screen.css +++ b/output/css/screen.css @@ -84,6 +84,9 @@ a:hover { h1 a { text-decoration: none; } +body.home h1 > a:hover { + border-bottom: 2px solid #111; +} h1 a:link, h1 a:visited { @@ -121,6 +124,7 @@ blockquote { color: white; } #header a:hover { + border-bottom: 2px solid #fff; } ul#menu { @@ -211,7 +215,8 @@ ul.articles strong { } a.more { -/* float: right;*/ + display: block; + margin: 1em 0 0 0; } a.active { font-weight: bold;