Sha256: 4b6c70f86cf22d00f57a0b9a7f16741ed7cfb48c15fb8b92cfc2b535952ea232

Contents?: true

Size: 763 Bytes

Versions: 2

Compression:

Stored size: 763 Bytes

Contents

<% if @font.license? %>/* LICENSE: <%= @font.license %> */<% end %>
@font-face {
  font-family: '<%= @font.name %>';
  <% 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

2 entries across 2 versions & 1 rubygems

Version Path
rack-fontserve-0.1.4 lib/rack-fontserve/views/stylesheet.erb
rack-fontserve-0.1.0 lib/rack-fontserve/views/stylesheet.erb