Jacket image aspect ratio, subject sidebar style updates_to_tadlv5_ac_and_serials
authorJeff Godin <jgodin@tadl.org>
Wed, 9 May 2012 14:27:12 +0000 (10:27 -0400)
committerJeff Godin <jgodin@tadl.org>
Wed, 9 May 2012 14:27:12 +0000 (10:27 -0400)
Fix aspect ratio on jacket images (especially CDs) by
setting height to auto.

Add styling for sidebar subject div.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/web/opac/skin/tadlv5/css/tadl_layout.css

index b7714eb..bed387b 100644 (file)
@@ -1,6 +1,6 @@
 /* make images in search results larger */
 .result_table_pic_cell { width: 103px; }
-.result_table_pic { height: 100px; width: 80px; }
+.result_table_pic { height: auto; width: 80px; }
 .result_table_pic_header { width: 103px; }
 
 
@@ -80,3 +80,7 @@ a[name="item_title"] { font-size: 1.5em; }
 /* trim some extra bits from ac content */
 div.ac > b { display: none; }
 div.ac > table[align="center"] { display: none; }
+
+/* style sidebar subjects */
+#sidebarSubjects div { border: 1px solid #ACC4DE; }
+#sidebarSubjects div h4 { font-weight: bold; text-align: center; background-color: #ACC4DE; }