From 1b9fbdd8943cec9111d16d2137e8832d85de949b Mon Sep 17 00:00:00 2001 From: Samuel Clements Date: Tue, 8 Nov 2011 20:16:35 +0000 Subject: [PATCH] Hopefully not another dumb error (TM). --- public/styles.css | 9 +++++++-- views/quotelist.jade | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/public/styles.css b/public/styles.css index f64faa7..fdf45d9 100644 --- a/public/styles.css +++ b/public/styles.css @@ -46,7 +46,7 @@ a.category, a.quote { /* Quotes list page */ -a.category { +.category { background: white; float: left; display: inline; @@ -55,10 +55,15 @@ a.category { border-radius: 15px; } -a.category:hover { +.category:hover { opacity: 0.8; } +.category a { + width:100%; + height:100%; +} + span.quote { background: #222; margin: 10px; diff --git a/views/quotelist.jade b/views/quotelist.jade index 2f94e4b..187233e 100644 --- a/views/quotelist.jade +++ b/views/quotelist.jade @@ -1,3 +1,4 @@ div#quotelist -each quote in quotelist - a.quote(href='/quotes/'+quote) #{quote} + div.quote + a(href='/quotes/'+quote) #{quote}