about summary refs log tree commit diff stats
path: root/css
diff options
context:
space:
mode:
authorAndrew Dolgov <noreply@fakecake.org>2019-03-15 13:54:02 +0300
committerAndrew Dolgov <noreply@fakecake.org>2019-03-15 13:54:02 +0300
commit4f1c7a977ba958b6def28b2ca42bcaef83286e4f (patch)
treeb8b5bc67ae31963170ab8224bf0a3bbc4e278d28 /css
parent0d01e871012b85936a9a5d64082dcf551499e2b0 (diff)
downloadthe-epube-4f1c7a977ba958b6def28b2ca42bcaef83286e4f.tar.gz
the-epube-4f1c7a977ba958b6def28b2ca42bcaef83286e4f.tar.xz
code/layout cleanup
Diffstat (limited to 'css')
-rw-r--r--css/index.css25
1 files changed, 13 insertions, 12 deletions
diff --git a/css/index.css b/css/index.css
index 92ef571..b1a200d 100644
--- a/css/index.css
+++ b/css/index.css
@@ -7,15 +7,21 @@
 	padding-top : 10px;
 }
 
-.thumb img {
-	max-height : 180px;
-	max-width : 120px;
-	height : auto;
-	width : auto;
-	box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5);
+.row .thumbnail {
+	height : 200px;
+	width : 140px;
+	margin-bottom : 0;
 }
 
-.thumb.read img {
+.row .thumbnail img {
+	width : 100%;
+	height : 100%;
+	background-size : cover;
+	background-position : center;
+	background-repeat: no-repeat;
+}
+
+.row .thumbnail.read img {
 	opacity : 0.5;
 	filter : grayscale(100%);
 }
@@ -30,11 +36,6 @@
 	white-space : nowrap;
 }
 
-.qtip-custom, .book-summary {
-	max-height : 250px;
-	overflow : auto;
-}
-
 ::selection {
 	background : #007d71;
 	color : white;