Skip to content

Commit

Permalink
Fixed fontawesome
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillip Lackey committed Mar 27, 2013
1 parent 29c6c1c commit 7272fe5
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 21 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions app/assets/stylesheets/bootstrap/bootstrap.css.scss
Expand Up @@ -1942,8 +1942,10 @@ table th[class*="span"],
*/
@font-face {
font-family: 'FontAwesome';
src: url('font/fontawesome-webfont.eot');
src: url('font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('font/fontawesome-webfont.woff') format('woff'), url('font/fontawesome-webfont.ttf') format('truetype');
src: url('fontawesome-webfont.eot');
src: url('fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
font-url('fontawesome-webfont.woff') format('woff'),
font-url('fontawesome-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/bootstrap/theme-style.css.scss
Expand Up @@ -209,7 +209,7 @@ a:focus {
border-radius: 3px;
border: 0;
border-bottom: 3px solid #55a79a;
background-image: url(../img/bg_noise-2.png);
background-image: url(image_path('bg_noise-2.png'));
background-position: left top;
background-repeat: repeat;
-webkit-box-shadow: 1px 1px 10px rgba(36, 36, 36, 0.6);
Expand Down
19 changes: 2 additions & 17 deletions app/views/layouts/application.html.erb
Expand Up @@ -10,23 +10,8 @@
<meta name="description" content="">
<meta name="author" content="Themelize.me">

<!-- Bootstrap CSS -->
<link href="assets/bootstrap/bootstrap.css" rel="stylesheet">
<link href="assets/bootstrap/responsive.css" rel="stylesheet">

<!-- Flexslider -->
<link href="assets/bootstrap/flexslider.css" rel="stylesheet">

<!-- Theme style -->
<link href="assets/bootstrap/theme-style.css" rel="stylesheet">

<!--Your custom colour override-->
<link href="assets/bootstrap/colour-red.css" id="colour-scheme" rel="stylesheet">

<!-- Your custom override -->
<link href="assets/bootstrap/custom-style.css" rel="stylesheet">

<%= stylesheet_link_tag "application" %>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>

<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
Expand Down
5 changes: 4 additions & 1 deletion config/environments/production.rb
Expand Up @@ -19,6 +19,9 @@

# Generate digests for assets URLs
config.assets.digest = true

# Add the fonts path
config.assets.paths << Rails.root.join('app', 'assets', 'fonts')

# Defaults to nil and saved in location specified by config.assets.prefix
# config.assets.manifest = YOUR_PATH
Expand Down Expand Up @@ -46,7 +49,7 @@
# config.action_controller.asset_host = "http://assets.example.com"

# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
# config.assets.precompile += %w( search.js )
config.assets.precompile += %w( search.js .svg .eot .woff .ttf )

# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
Expand Down

0 comments on commit 7272fe5

Please sign in to comment.