aboutsummaryrefslogtreecommitdiff
path: root/gitweb/gitweb.css
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-06-30 00:00:51 +0200
committerJunio C Hamano <gitster@pobox.com>2009-06-30 11:06:35 -0700
commite9fdd74e5374dd1efe1577057d14a2836b4cae78 (patch)
tree085b59d68d9371544d9d9085fe38580e00418e4f /gitweb/gitweb.css
parentba9247339dfbd2c2671603e012d011b4b474fa4b (diff)
downloadgit-e9fdd74e5374dd1efe1577057d14a2836b4cae78.tar.gz
git-e9fdd74e5374dd1efe1577057d14a2836b4cae78.tar.xz
gitweb: (gr)avatar support
Introduce avatar support: the feature adds the appropriate img tag next to author and committer in commit(diff), history, shortlog, log and tag views. Multiple avatar providers are possible, but only gravatar is implemented at the moment. Gravatar support depends on Digest::MD5, which is a core package since Perl 5.8. If gravatars are activated but Digest::MD5 cannot be found, the feature will be automatically disabled. No avatar provider is selected by default, except in the t9500 test. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/gitweb.css')
-rw-r--r--gitweb/gitweb.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index 68b22ffec..d05bc3764 100644
--- a/gitweb/gitweb.css
+++ b/gitweb/gitweb.css
@@ -28,6 +28,10 @@ img.logo {
border-width: 0px;
}
+img.avatar {
+ vertical-align: middle;
+}
+
div.page_header {
height: 25px;
padding: 8px;