From d852da79e4c3de66552bc216a76bdfa40bc1e0bd Mon Sep 17 00:00:00 2001 From: Marcel Korpel Date: Thu, 18 Jun 2015 17:11:48 +0200 Subject: pkgbase_details.php/pkg_details.php: Show keywords Keywords are hyperlinked so a user can search for other packages with the same name and/or keyword. Signed-off-by: Marcel Korpel Signed-off-by: Lukas Fleischer --- web/html/css/aurweb.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'web/html') diff --git a/web/html/css/aurweb.css b/web/html/css/aurweb.css index 346f2ea..620e0fa 100644 --- a/web/html/css/aurweb.css +++ b/web/html/css/aurweb.css @@ -53,6 +53,24 @@ text-align:right; } +.keyword:link, .keyword:visited { + float: left; + margin: 1px .5ex 1px 0; + padding: 0 1em; + color: white; + background-color: #36a; + border: 1px solid transparent; + border-radius: 2px; +} + +.keyword:hover { + cursor: pointer; +} + +.keyword:focus { + border: 1px dotted #000; +} + .text-button { background: transparent; border: none !important; -- cgit v1.2.3-54-g00ecf