From 1bd4377fec52e3f6a3dbf02ad829d14580d2a171 Mon Sep 17 00:00:00 2001 From: Jeff Godin Date: Wed, 9 May 2012 10:27:12 -0400 Subject: [PATCH] Jacket image aspect ratio, subject sidebar style Fix aspect ratio on jacket images (especially CDs) by setting height to auto. Add styling for sidebar subject div. Signed-off-by: Jeff Godin --- Open-ILS/web/opac/skin/tadlv5/css/tadl_layout.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/opac/skin/tadlv5/css/tadl_layout.css b/Open-ILS/web/opac/skin/tadlv5/css/tadl_layout.css index b7714ebcf1..bed387ba83 100644 --- a/Open-ILS/web/opac/skin/tadlv5/css/tadl_layout.css +++ b/Open-ILS/web/opac/skin/tadlv5/css/tadl_layout.css @@ -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; } -- 2.11.0