mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-28 06:21:30 +08:00
better css layout to minimize characters
This commit is contained in:
parent
35e8cf7968
commit
a439161b34
9
build/assets/font-awesome/less/icons.less
vendored
9
build/assets/font-awesome/less/icons.less
vendored
@ -3,13 +3,8 @@
|
||||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
readers do not read off random characters that represent icons */
|
||||
{% for icon in icons %}
|
||||
.icon-{{ icon.id }}:before {
|
||||
content: @{{ icon.id }};
|
||||
}
|
||||
{% for alias in icon.aliases %}
|
||||
// {{ icon.name }} alias
|
||||
.icon-{{ alias }}:before {
|
||||
content: @{{ icon.id }};
|
||||
}
|
||||
.icon-{{ alias }}:before,
|
||||
{% endfor %}
|
||||
.icon-{{ icon.id }}:before { content: @{{ icon.id }}; }
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user