Permalink
Browse files

Fixing IE-specific layout issues and broken font rendering in Linux.

  • Loading branch information...
1 parent 52ae44e commit 2dd71cebd34235ead4421670d96b22cc0d33dfe2 @battlehorse committed Oct 19, 2011
Showing with 16 additions and 1 deletion.
  1. +8 −1 app/views/shared/layout/_head.html.erb
  2. +8 −0 public/stylesheets/kennedy.css
@@ -16,10 +16,17 @@
<% if borg(:css_template) == 'bigG' %>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<% elsif borg(:css_template) == 'kennedy' %>
- <link href='http://fonts.googleapis.com/css?family=Maven+Pro|Inconsolata' rel='stylesheet' type='text/css'>
+ <link href='http://fonts.googleapis.com/css?family=Maven+Pro:400,700|Inconsolata' rel='stylesheet' type='text/css'>
<% end %>
<% if !@mobile -%>
<%= stylesheet_link_tag(borg(:css_template)) %>
+ <!-- Some IE specific hacks to fix the kennedy template -->
+ <!--[if IE]>
+ <style>
+ .search input.button { text-indent: 0 !important; }
+ .socialbuttons {opacity: 1;}
+ </style>
+ <![endif]-->
<% else -%>
<%= stylesheet_link_tag(borg(:css_template) + "_mobile") %>
<% end -%>
@@ -84,6 +84,10 @@ body {
-webkit-transition-duration: 0.15s;
-o-transition-property: all;
-o-transition-duration: 0.15s;
+
+ /* IE7 fix */
+ zoom: 1;
+ *display: inline;
}
#site-actions li:hover {
@@ -127,6 +131,10 @@ body {
-webkit-transition-duration: 0.15s;
-o-transition-property: all;
-o-transition-duration: 0.15s;
+
+ /* IE7 fix */
+ zoom: 1;
+ *display: inline;
}
#toolbar li:hover {

0 comments on commit 2dd71ce

Please sign in to comment.