Browse Source

better css layout to minimize characters

davegandy 12 years ago
parent
commit
a439161b34
1 changed files with 2 additions and 7 deletions
  1. 2 7
      build/assets/font-awesome/less/icons.less

+ 2 - 7
build/assets/font-awesome/less/icons.less

@@ -3,13 +3,8 @@
 /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
 /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
    readers do not read off random characters that represent icons */
    readers do not read off random characters that represent icons */
 {% for icon in icons %}
 {% for icon in icons %}
-.icon-{{ icon.id }}:before {
-  content: @{{ icon.id }};
-}
 {% for alias in icon.aliases %}
 {% for alias in icon.aliases %}
-// {{ icon.name }} alias
-.icon-{{ alias }}:before {
-  content: @{{ icon.id }};
-}
+.icon-{{ alias }}:before,
 {% endfor %}
 {% endfor %}
+.icon-{{ icon.id }}:before { content: @{{ icon.id }}; }
 {% endfor %}
 {% endfor %}