From fd27c8a01096cf1963e2b0400d3f7e87c8841d50 Mon Sep 17 00:00:00 2001 From: Samuel Clements Date: Tue, 8 Nov 2011 20:28:46 +0000 Subject: [PATCH] woot, a little bit more worky. --- public/styles.css | 21 +++++++++------------ views/quotelist.jade | 2 +- views/quotes.jade | 2 +- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/public/styles.css b/public/styles.css index fdf45d9..7011f92 100644 --- a/public/styles.css +++ b/public/styles.css @@ -28,8 +28,7 @@ div#title { div#main { padding: 0px; margin: 0px; - font-size: 28px; - line-height: 100px; + font-size: 21px; text-align:center; } @@ -37,8 +36,7 @@ a { text-decoration: none; } -a.category, a.quote { - +div.quote, span.quote { color: #12699B; box-shadow: 0 0 20px black; opacity: 0.5; @@ -46,7 +44,7 @@ a.category, a.quote { /* Quotes list page */ -.category { +div.quotes { background: white; float: left; display: inline; @@ -55,22 +53,21 @@ a.category, a.quote { border-radius: 15px; } -.category:hover { +div.quotes:hover { opacity: 0.8; } -.category a { - width:100%; - height:100%; +div.quotes a { + } -span.quote { - background: #222; +div.quote { + background: #CCC; margin: 10px; padding: 20px; border-radius: 15px; } -span.quote:hover { +div.quote:hover { } \ No newline at end of file diff --git a/views/quotelist.jade b/views/quotelist.jade index 187233e..ffe74d3 100644 --- a/views/quotelist.jade +++ b/views/quotelist.jade @@ -1,4 +1,4 @@ div#quotelist -each quote in quotelist - div.quote + div.quotes a(href='/quotes/'+quote) #{quote} diff --git a/views/quotes.jade b/views/quotes.jade index ef6ad6b..d14cc44 100644 --- a/views/quotes.jade +++ b/views/quotes.jade @@ -1,3 +1,3 @@ div.quotes -each quote in quotes - span.quote #{quote} + div.quote #{quote}