From af4f7396cd76d51e456a9217061e781e79306860 Mon Sep 17 00:00:00 2001 From: Jan Broer Date: Mon, 12 Oct 2015 04:04:47 +0200 Subject: [PATCH] Fix titles and covers --- cps/static/css/style.css | 2 +- cps/templates/layout.html | 2 +- cps/web.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cps/static/css/style.css b/cps/static/css/style.css index 35d06594..aa136d1b 100644 --- a/cps/static/css/style.css +++ b/cps/static/css/style.css @@ -8,7 +8,7 @@ a{color: #45b29d}a:hover{color: #444;} .container-fluid img{display:block;max-width:100%;height:auto} .container-fluid .discover{margin-bottom:50px} .container-fluid .new-books{border-top:1px solid #ccc}.container-fluid .new-books h2{margin:50px 0 0 0} -.container-fluid .book{margin-top:20px}.container-fluid .book .cover{height:225px;position:relative}.container-fluid .book .cover img{border:1px solid #ccc;border-radius:5px;box-sizeing:border-box;height:100%;width:100%;bottom:0;position:absolute} +.container-fluid .book{margin-top:20px}.container-fluid .book .cover{height:225px;position:relative}.container-fluid .book .cover img{border:1px solid #ccc;border-radius:5px;box-sizeing:border-box;height:100%;bottom:0;position:absolute} .container-fluid .book .meta{margin-top:10px}.container-fluid .book .meta p{margin:0} .container-fluid .book .meta .title{font-weight:bold;font-size:16px;color:#444} .container-fluid .book .meta .author{font-size:12px;color:#999} diff --git a/cps/templates/layout.html b/cps/templates/layout.html index 2fd4bb53..85a65c75 100644 --- a/cps/templates/layout.html +++ b/cps/templates/layout.html @@ -79,8 +79,8 @@