Sha256: 3a8ab92ae46a5f8036ee140c8532fcda6bdf1769a211615059fb4dfa17f82454
Contents?: true
Size: 950 Bytes
Versions: 1
Compression:
Stored size: 950 Bytes
Contents
// // Icon Font: <%= @opts.font_name %> // @font-face { font-family: "<%= @opts.font_name %>"; src: font-url("<%= @font_path_pre %>.eot"); src: font-url("<%= @font_path_pre %>.eot?#iefix") format("embedded-opentype"), font-url("<%= @font_path_pre %>.woff") format("woff"), font-url("<%= @font_path_pre %>.ttf") format("truetype"), font-url("<%= @font_path_pre %>.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fontcustom-1.1.0.pre2 | lib/fontcustom/templates/_fontcustom-rails.scss |