From ea2dc0fd54167edd4f83b46d0579edcb3c6149f4 Mon Sep 17 00:00:00 2001 From: koniu Date: Mon, 7 Oct 2013 22:07:50 +0200 Subject: [PATCH] css: show preview/dl links only when hovering --- static/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 89efeaf..0357041 100644 --- a/static/style.css +++ b/static/style.css @@ -75,7 +75,8 @@ body { margin: 0; font-family: sans-serif } } .search-result-url { clear:left; } .search-result-url a { color: #5a5; font-size: 8pt; float: left; margin-right: 1em;} -.search-result-links {color: #aaf; font-size: 8pt; float: left; margin-right: 1em} +.search-result-links { color: #aaf; font-size: 8pt; float: left; margin-right: 1em; visibility: hidden } +.search-result:hover > .search-result-links { visibility: visible } .search-result-date { color: #777; font-size: 8pt; float: right; margin-bottom: 7px; } .search-result-size { color: #777; font-size: 8pt; float: right; display: none; } .search-result-highlight { color: #7E1212; font-weight: bold; }