mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-10-01 19:41:30 +02:00
Increased the size of gravatars in the HTML output (#28).
This commit is contained in:
parent
4396e993e6
commit
5ed8b32d9a
@ -27,7 +27,7 @@ except:
|
|||||||
|
|
||||||
from . import format
|
from . import format
|
||||||
|
|
||||||
def get_url(email, size=20):
|
def get_url(email, size=24):
|
||||||
md5hash = hashlib.md5(email.encode("utf-8").lower().strip()).hexdigest()
|
md5hash = hashlib.md5(email.encode("utf-8").lower().strip()).hexdigest()
|
||||||
base_url = "https://www.gravatar.com/avatar/" + md5hash
|
base_url = "https://www.gravatar.com/avatar/" + md5hash
|
||||||
params = None
|
params = None
|
||||||
|
@ -245,6 +245,10 @@
|
|||||||
margin-right: 0.5em;
|
margin-right: 0.5em;
|
||||||
opacity: 0.85;
|
opacity: 0.85;
|
||||||
}}
|
}}
|
||||||
|
td img {{
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
}}
|
||||||
h1 {{
|
h1 {{
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
Loading…
Reference in New Issue
Block a user