better mobile css support

This commit is contained in:
albert
2011-12-16 16:57:49 -05:00
parent 4e99ca2613
commit de1c263357
6 changed files with 29 additions and 9 deletions

View File

@@ -17,6 +17,7 @@
<meta name="default-image-size" content="<%= CurrentUser.user.default_image_size %>">
<%= auto_discovery_link_tag :atom, posts_path(:format => "atom", :tags => params[:tags]) %>
<%= stylesheet_link_tag "application", :media => "screen" %>
<%= stylesheet_link_tag "mobile", :media => "only screen and (max-width: 480px), only screen and (max-device-width: 480px)" %>
<%= javascript_include_tag "application" %>
<%= Danbooru.config.custom_html_header_content %>
<%= yield :html_header %>