3
0
mirror of https://github.com/reality/dbot.git synced 2025-01-11 12:32:36 +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 {
background: #CCC;
margin: 10px;
padding: 20px;
border-radius: 15px;
/* Quote list pages */
div#quotelist {
width:100%;
}
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
a(href='/quotes/'+quote) #{quote}

View File

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