Sha256: 1f7a058513aa9ecbf8766839282459c59c7c7c59299085e35d4d6fb987eeacea
Contents?: true
Size: 1.84 KB
Versions: 1
Compression:
Stored size: 1.84 KB
Contents
/* Font Robot CSS DO NOT EDIT THIS COMMENT BLOCK. IT'S REQUIRED BY THE GENERATOR. THX, FONTROBOT Name:<%= @name %> */ <% if @inline_sources %> @font-face { font-family: "<%= @name %>"; src: url("<%= @path %>.eot?") format('embedded-opentype'); } <% end %> @font-face { font-family: "<%= @name %>"; src: <%= @font_sources %>; font-weight: normal; font-style: normal; } /* Bootstrap Overrides */ [class^="<%= @prefix %>-"]:before, [class*=" <%= @prefix %>-"]:before { font-family: "<%= @name %>"; font-weight: normal; font-style: normal; display: inline-block; text-decoration: inherit; } a [class^="<%= @prefix %>-"], a [class*=" <%= @prefix %>-"] { display: inline-block; text-decoration: inherit; } /* makes the font 33% larger relative to the icon container */ .<%= @prefix %>-large:before { vertical-align: top; font-size: 1.333em; } /* keeps button heights with and without icons the same */ .btn [class^="<%= @prefix %>-"], .btn [class*=" <%= @prefix %>-"] { line-height: 0.9em; } li [class^="<%= @prefix %>-"], li [class*=" <%= @prefix %>-"] { display: inline-block; width: 1.25em; text-align: center; } /* 1.5 increased font size for icon-large * 1.25 width */ li .<%= @prefix %>-large[class^="<%= @prefix %>-"], li .<%= @prefix %>-large[class*=" <%= @prefix %>-"] { width: 1.875em; } li[class^="<%= @prefix %>-"], li[class*=" <%= @prefix %>-"] { margin-left: 0; list-style-type: none; } li[class^="<%= @prefix %>-"]:before, li[class*=" <%= @prefix %>-"]:before { text-indent: -2em; text-align: center; } li[class^="<%= @prefix %>-"].<%= @prefix %>-large:before, li[class*=" <%= @prefix %>-"].<%= @prefix %>-large:before { text-indent: -1.333em; } /* Icon Classes */ <% @classes.each_with_index do |name, index| %> .<%= @prefix %>-<%= name %>:before { content: "\<%= (61696+index).to_s(16) %>"; }<% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fontrobot-0.1.8 | lib/fontrobot/templates/fontrobot.css |