Sha256: 3e5809aebf92ac8f88d27f8e2cf2cee4e700170ba782a336c37f2fb35c20ade1
Contents?: true
Size: 950 Bytes
Versions: 3
Compression:
Stored size: 950 Bytes
Contents
// // Icon Font: <%= @opts.font_name %> // @font-face { font-family: "<%= @opts.font_name %>"; src: font-url("<%= @font_path_alt %>.eot"); src: font-url("<%= @font_path_alt %>.eot?#iefix") format("embedded-opentype"), font-url("<%= @font_path_alt %>.woff") format("woff"), font-url("<%= @font_path_alt %>.ttf") format("truetype"), font-url("<%= @font_path_alt %>.svg#<%= @opts.font_name %>") format("svg"); font-weight: normal; font-style: normal; } <%= @glyphs.map {|name| ".#{@opts.css_prefix + name}:before"}.join(",\n") %> { font-family: "<%= @opts.font_name %>"; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; display: inline-block; text-decoration: inherit; } <% @glyphs.each_with_index do |name, index| %> .<%= @opts.css_prefix + name %>:before { content: "\<%= (61696+index).to_s(16) %>"; }<% end %>
Version data entries
3 entries across 3 versions & 1 rubygems