mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-29 15:01:29 +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
|
/* 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,
|
||||||
.icon-{{ alias }}:before {
|
|
||||||
content: @{{ icon.id }};
|
|
||||||
}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
.icon-{{ icon.id }}:before { content: @{{ icon.id }}; }
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user