summaryrefslogtreecommitdiff
path: root/cgit.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-03-19 02:58:41 -0600
committerChristian Hesse <mail@eworm.de>2025-08-18 21:14:41 +0200
commit52176801cb6e31d5c04653d66f29148c1becd74c (patch)
tree5f01dc53ec76bf50a553b6194dbbd6dc15af8d81 /cgit.c
parentui-tree: add about link in tree view list (diff)
downloadcgit-52176801cb6e31d5c04653d66f29148c1becd74c.tar.gz
cgit-52176801cb6e31d5c04653d66f29148c1becd74c.tar.bz2
cgit-52176801cb6e31d5c04653d66f29148c1becd74c.zip
steal kernel.org's libravatar lua
Diffstat (limited to '')
-rw-r--r--cgit.css28
1 files changed, 28 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index 092883f..dab5977 100644
--- a/cgit.css
+++ b/cgit.css
@@ -934,3 +934,31 @@ div#cgit table.ssdiff td.space {
div#cgit table.ssdiff td.space div {
min-height: 3em;
}
+div#cgit span.libravatar img.onhover {
+ display: none;
+ border: 1px solid gray;
+ padding: 0px;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ width: 128px;
+ height: 128px;
+}
+
+div#cgit span.libravatar img.inline {
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+ width: 13px;
+ height: 13px;
+ margin-right: 0.2em;
+ opacity: 0.6;
+}
+
+div#cgit span.libravatar:hover > img.onhover {
+ display: block;
+ position: absolute;
+ margin-left: 1.5em;
+ background-color: #eeeeee;
+ box-shadow: 2px 2px 7px rgba(100,100,100,0.75);
+}