summaryrefslogtreecommitdiffstats
path: root/web/html/css/aurweb.css
diff options
context:
space:
mode:
authorMarcel Korpel <marcel.korpel@gmail.com>2015-06-18 17:11:48 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-19 14:40:08 +0200
commitd852da79e4c3de66552bc216a76bdfa40bc1e0bd (patch)
tree145d3fc7ebf14c5a8de9cabae4269f7b1161f1f4 /web/html/css/aurweb.css
parent6e3cbb9e65c0a743b5f8d88de42e2fddaaaaaa99 (diff)
downloadaur-d852da79e4c3de66552bc216a76bdfa40bc1e0bd.tar.gz
aur-d852da79e4c3de66552bc216a76bdfa40bc1e0bd.tar.xz
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 <marcel.korpel@gmail.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/css/aurweb.css')
-rw-r--r--web/html/css/aurweb.css18
1 files changed, 18 insertions, 0 deletions
diff --git a/web/html/css/aurweb.css b/web/html/css/aurweb.css
index 346f2eab..620e0fab 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;