3
0
mirror of https://github.com/reality/dbot.git synced 2025-01-25 19:44:22 +01:00

Better list pages

This commit is contained in:
Samuel Clements 2011-11-08 20:43:52 +00:00
parent cb8541ccb0
commit d8cac5fe95
3 changed files with 19 additions and 11 deletions

View File

@ -61,13 +61,22 @@ div.quotes a {
} }
div.quote { /* Quote list pages */
background: #CCC;
margin: 10px; div#quotelist {
padding: 20px; width:100%;
border-radius: 15px;
} }
div.quote:hover { div#quotelist div.quote {
background: white;
border-radius: 5px;
margin: 5px auto;
padding: 10px;
font-size: 16px;
width:90%;
opacity: 0.7;
}
div#quotelist div.quote:hover {
opacity: 1;
} }

View File

@ -1,4 +1,3 @@
div#quotelist -each quote in quotelist
-each quote in quotelist div.quotes
div.quotes a(href='/quotes/'+quote) #{quote}
a(href='/quotes/'+quote) #{quote}

View File

@ -1,3 +1,3 @@
div.quotes div#quotelist
-each quote in quotes -each quote in quotes
div.quote #{quote} div.quote #{quote}