Sha256: 60ffe971d6c5d0d28a6aa4ee50958889b868d0f8ab79bb11ff3b31373066f4b1

Contents?: true

Size: 793 Bytes

Versions: 3

Compression:

Stored size: 793 Bytes

Contents

<% if @font.license? %>/* LICENSE: <%= @font.license %> */<% end %>
@font-face {
  font-family: '<%= @font.name %>', Helvetica, Arial, sans-serif;
  <% if format?('eot') %>src: url('<%= "./#{@font.name}.eot" %>');<% end %>
  src: local('☺'),
       <% if format?('eot') %>url('<%= "./#{@font.name}.eot?iefix" %>') format('eot'), <% end %>
       <% if format?('woff') %>url('<%= "./#{@font.name}.woff" %>') format('woff'), <% end %>
       <% if format?('ttf') %>url('<%= "./#{@font.name}.ttf" %>') format('truetype'), <% end %>
       <% if format?('otf') %>url('<%= "./#{@font.name}.otf" %>') format('opentype'), <% end %>
       <% if format?('svg') %>url('<%= "./#{@font.name}.svg#webfont" %>') format('svg'), <% end %>
       local('☺');
  font-weight: normal;
  font-style: normal;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rack-fontserve-0.1.3 lib/rack-fontserve/views/stylesheet.erb
rack-fontserve-0.1.2 lib/rack-fontserve/views/stylesheet.erb
rack-fontserve-0.1.1 lib/rack-fontserve/views/stylesheet.erb