diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-03-19 02:58:41 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-23 05:24:44 +0100 |
commit | f19131b9eac6223540bd887d7b0fb32a2584337f (patch) | |
tree | 73164ed9cf99464bacc64db2809513ea4b7773f7 /cgit.css | |
parent | 98b049a517a158d7e5b036a11f5059f6fa565016 (diff) |
Steal kernel.org's libravatar lua.
Diffstat (limited to 'cgit.css')
-rw-r--r-- | cgit.css | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -850,3 +850,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); +} |