瀏覽代碼

updating cheatsheet with new fa-icon css prefix

davegandy 11 年之前
父節點
當前提交
6817d287fc
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 3 3
      src/_includes/cheatsheet.html
  2. 1 1
      src/cheatsheet.html

+ 3 - 3
src/_includes/cheatsheet.html

@@ -10,9 +10,9 @@
 
 
 <div class="row">
 <div class="row">
 {% for icon in icons %}
 {% for icon in icons %}
-  <div class="span4">
-    <i class="icon-fixed-width">&#x{{ icon.unicode }}</i>
-    icon-{{ icon.id }}
+  <div class="col-md-4 col-sm-6 col-lg-3">
+    <i class="fa-icon fa-icon-fixed-width">&#x{{ icon.unicode }}</i>
+    fa-icon-{{ icon.id }}
     <span class="muted">(&amp;#x{{ icon.unicode }};)</span>
     <span class="muted">(&amp;#x{{ icon.unicode }};)</span>
   </div>
   </div>
 {% endfor %}
 {% endfor %}

+ 1 - 1
src/cheatsheet.html

@@ -3,7 +3,7 @@ layout: base
 title: Font Awesome Cheatsheet
 title: Font Awesome Cheatsheet
 relative_path: ../
 relative_path: ../
 ---
 ---
-{% capture jumbotron_h1 %}<i class="icon-list-ul icon-large"></i>&nbsp; Cheatsheet{% endcapture %}
+{% capture jumbotron_h1 %}<i class="fa-icon fa-icon-list-ul fa-icon-large"></i>&nbsp; Cheatsheet{% endcapture %}
 {% capture jumbotron_p %}The complete Font Awesome {{ site.fontawesome.version }} icon reference{% endcapture %}
 {% capture jumbotron_p %}The complete Font Awesome {{ site.fontawesome.version }} icon reference{% endcapture %}
 
 
 {% include jumbotron.html %}
 {% include jumbotron.html %}