avoid scaling favicons

chromium's rather impressive jaggy-free scaling spoiled me, but in
iceweasel, scaled favicons look crap
master
Joey Hess 2010-05-07 21:54:58 -04:00
parent b8dcaf91d0
commit 3a1d81bd9c
2 changed files with 3 additions and 2 deletions

View File

@ -447,6 +447,7 @@ li.L8 { list-style: upper-alpha; }
float: left;
}
.openid_small_btn {
padding: 4px 4px;
border: 1px solid #DDD;
margin: 3px;
float: left;

View File

@ -114,7 +114,7 @@ var openid = {
'<a href="' + localloginurl + '"' +
' style="background: #FFF" ' +
'class="openid_large_btn">' +
'<img alt="" width="24" height="24" src="favicon.ico" />' +
'<img alt="" width="16" height="16" src="favicon.ico" />' +
' Local Account' +
'</a>'
);
@ -148,7 +148,7 @@ var openid = {
return '<a' + title +' href="javascript: openid.signin(\''+ box_id +'\');"' +
' style="background: #FFF" ' +
'class="' + box_id + ' openid_' + box_size + '_btn">' +
'<img alt="" width="24" height="24" src="' + provider["icon"] + '" />' +
'<img alt="" width="16" height="16" src="' + provider["icon"] + '" />' +
label +
'</a>';