summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-07 21:54:58 -0400
committerJoey Hess <joey@kitenet.net>2010-05-07 21:54:58 -0400
commit3a1d81bd9c5a866aed0dd7890a4174f0ff6b1e78 (patch)
tree9ae7ebeff2ffb18d39159a76c6ba91377174fb72
parentb8dcaf91d02c1d8754032c60f8d713261dafffe4 (diff)
avoid scaling favicons
chromium's rather impressive jaggy-free scaling spoiled me, but in iceweasel, scaled favicons look crap
-rw-r--r--doc/style.css1
-rw-r--r--underlays/openid-selector/ikiwiki/openid/openid-jquery.js4
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/style.css b/doc/style.css
index 5f1a8e63a..78756481e 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -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;
diff --git a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
index 43d2ef668..8137f232f 100644
--- a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
+++ b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
@@ -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>';