Răsfoiți Sursa

Now the derived badge loads locally

Nathan Schneider 4 ani în urmă
părinte
comite
95992b2455
2 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 1 1
      _layouts/rule.html
  2. 1 0
      assets/CommunityRule-derived-000000.svg

+ 1 - 1
_layouts/rule.html

@@ -404,7 +404,7 @@ layout: default
   <div id="attributionMD" style="display:none;">
 ---
 
-[![CommunityRule](https://img.shields.io/badge/CommunityRule-derived-000000)](http://communityrule.info)
+[![CommunityRule derived]({% link assets/CommunityRule-derived-000000.svg %})](http://communityrule.info)
 
 Created with [CommunityRule](http://communityrule.info)
 [Creative Commons BY-SA](http://creativecommons.org/licenses/by-sa/4.0/).

+ 1 - 0
assets/CommunityRule-derived-000000.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="148" height="20"><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="a"><rect width="148" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h97v20H0z"/><path fill="#000000" d="M97 0h51v20H97z"/><path fill="url(#b)" d="M0 0h148v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"> <text x="495" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="870">CommunityRule</text><text x="495" y="140" transform="scale(.1)" textLength="870">CommunityRule</text><text x="1215" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="410">derived</text><text x="1215" y="140" transform="scale(.1)" textLength="410">derived</text></g> </svg>