浏览代码

update docs for new handling of fallback, update our own images

jomo 10 年之前
父节点
当前提交
b48d54afd0
共有 2 个文件被更改,包括 11 次插入11 次删除
  1. 10 10
      public/stylesheets/style.css
  2. 1 1
      views/index.jade

+ 10 - 10
public/stylesheets/style.css

@@ -34,32 +34,32 @@ mark.green {
   height: 160px;
   height: 160px;
 }
 }
 .sideface.Jake0oo0 {
 .sideface.Jake0oo0 {
-  background:url("/avatars/2d5aa9cdaeb049189930461fc9b91cc5?size=160&default=alex");
+  background:url("/avatars/2d5aa9cdaeb049189930461fc9b91cc5?size=160");
 }
 }
 .sideface.Jake0oo0:hover {
 .sideface.Jake0oo0:hover {
-  background:url("/avatars/2d5aa9cdaeb049189930461fc9b91cc5?size=160&default=alex&helm=true");
+  background:url("/avatars/2d5aa9cdaeb049189930461fc9b91cc5?size=160&helm=true");
 }
 }
 .sideface.redstone_sheep {
 .sideface.redstone_sheep {
-  background:url("/avatars/ae795aa86327408e92ab25c8a59f3ba1?size=160&default=alex");
+  background:url("/avatars/ae795aa86327408e92ab25c8a59f3ba1?size=160");
 }
 }
 .sideface.redstone_sheep:hover {
 .sideface.redstone_sheep:hover {
-  background:url("/avatars/ae795aa86327408e92ab25c8a59f3ba1?size=160&default=alex&helm=true");
+  background:url("/avatars/ae795aa86327408e92ab25c8a59f3ba1?size=160&helm=true");
 }
 }
 .sideface.Notch {
 .sideface.Notch {
-  background:url("/avatars/069a79f444e94726a5befca90e38aaf5?size=160&default=alex");
+  background:url("/avatars/069a79f444e94726a5befca90e38aaf5?size=160");
 }
 }
 .sideface.Notch:hover {
 .sideface.Notch:hover {
-  background:url("/avatars/069a79f444e94726a5befca90e38aaf5?size=160&default=alex&helm=true");
+  background:url("/avatars/069a79f444e94726a5befca90e38aaf5?size=160&helm=true");
 }
 }
 .sideface.sk89q {
 .sideface.sk89q {
-  background:url("/avatars/0ea8eca3dbf647cc9d1ac64551ca975c?size=160&default=alex");
+  background:url("/avatars/0ea8eca3dbf647cc9d1ac64551ca975c?size=160");
 }
 }
 .sideface.sk89q:hover {
 .sideface.sk89q:hover {
-  background:url("/avatars/0ea8eca3dbf647cc9d1ac64551ca975c?size=160&default=alex&helm=true");
+  background:url("/avatars/0ea8eca3dbf647cc9d1ac64551ca975c?size=160&helm=true");
 }
 }
 .sideface.md_5 {
 .sideface.md_5 {
-  background:url("/avatars/af74a02d19cb445bb07f6866a861f783?size=160&default=alex");
+  background:url("/avatars/af74a02d19cb445bb07f6866a861f783?size=160");
 }
 }
 .sideface.md_5:hover {
 .sideface.md_5:hover {
-  background:url("/avatars/af74a02d19cb445bb07f6866a861f783?size=160&default=alex&helm=true");
+  background:url("/avatars/af74a02d19cb445bb07f6866a861f783?size=160&helm=true");
 }
 }

+ 1 - 1
views/index.jade

@@ -29,7 +29,7 @@ block content
           a(href="/avatars/00000000000000000000000000000000?default=steve") steve
           a(href="/avatars/00000000000000000000000000000000?default=steve") steve
           |  or 
           |  or 
           a(href="/avatars/00000000000000000000000000000000?default=alex") alex
           a(href="/avatars/00000000000000000000000000000000?default=alex") alex
-          | .<br> Otherwise, a 404 with no content is returned.
+          | .<br> The default is calculated based on the UUID (even = alex, odd = steve)
         h4 helm
         h4 helm
         p Get an avatar with the second (helmet) layer applied. <br> The content of this parameter is ignored
         p Get an avatar with the second (helmet) layer applied. <br> The content of this parameter is ignored