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}