From ac37b0922d73e1050e88430062cf0104e6835681 Mon Sep 17 00:00:00 2001 From: Karen Date: Sat, 2 Jun 2012 00:37:36 +0530 Subject: [PATCH] search.html --- itf/static/css/noel/inner.css | 14 +++++++++++++- itf/templates/search/search.html | 4 +--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/itf/static/css/noel/inner.css b/itf/static/css/noel/inner.css index a351848..1c7ef8b 100755 --- a/itf/static/css/noel/inner.css +++ b/itf/static/css/noel/inner.css @@ -650,7 +650,7 @@ box-shadow:2px 3px 16px #252425;} width:400px; /*SANJ, is it ok to give this width?*/ margin:0 auto; font-family:Arial, Helvetica, 'DejaVu Sans', sans-serif; -font-size:14px; +font-size:12px; color:#666; padding:20px; } @@ -665,6 +665,18 @@ margin-bottom:12px; vertical-align:bottom; text-align:left;} +#searchContent a { + color:#FF8400; + text-decoration:none; + display:block; + margin-top:12px; +} + +#searchContent a:hover, #searchContent a:focus { + color:#FF8400; + text-decoration:underline; +} + #id_q { width:150px; height:16px; diff --git a/itf/templates/search/search.html b/itf/templates/search/search.html index 2c17cf9..c67cf1f 100755 --- a/itf/templates/search/search.html +++ b/itf/templates/search/search.html @@ -33,11 +33,9 @@

YOUR RESULTS:

{% for result in page.object_list %} -

- {{ result.object.title }}
+ {{ result.object.title }} {{ result.text|truncatewords:60|markdown|safe }} -

{% empty %}

No results found.

{% endfor %}