From 696e039de1b7234d5144f965caa3f0d3fe0bae88 Mon Sep 17 00:00:00 2001 From: muflax Date: Mon, 5 Sep 2011 19:13:23 +0200 Subject: [PATCH] make titles clickable --- content/style.css | 11 ++++++++++- layouts/default.erb | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/content/style.css b/content/style.css index 6d2f0c3..b51cc34 100644 --- a/content/style.css +++ b/content/style.css @@ -35,11 +35,20 @@ div.title { position: absolute; top: 0; left: 0; - font-size: 1.7em; line-height: 1.3; text-align: center; } +a:link.title, a:hover.title, a:visited.title, a:active.title { + font-size: 1.7em; + color: #d9d9d9; +} + +/* don't underline titles */ +a:link.title, a:visited.title, a:active.title { + text-decoration: none; +} + div.footnotes { border-top: 10px solid #7D9B3E; } diff --git a/layouts/default.erb b/layouts/default.erb index e835a29..1af98e2 100644 --- a/layouts/default.erb +++ b/layouts/default.erb @@ -24,7 +24,7 @@
<% if @item[:title] %> -
<%= @item[:title] %>
+ <% end %>