remove mobile css

This commit is contained in:
albert
2012-01-27 18:35:06 -05:00
parent 6b62bfe857
commit 8c610d0732
7 changed files with 2 additions and 56 deletions

View File

@@ -1,3 +0,0 @@
body {
width: 100%;
}

View File

@@ -1,4 +0,0 @@
div#page {
overflow: visible;
margin: 0 5px;
}

View File

@@ -1,33 +0,0 @@
@import "../common/000_vars.css.scss";
header#top {
h1 {
font-size: 2.5em;
margin: 5px 5px 0 5px;
}
menu {
margin-top: -2px;
background: $menu_color;
padding: 3px 10px;
li {
margin: 0;
padding: 0;
}
li a {
padding: 6px 10px;
}
}
menu.main {
margin-top: 0px;
background: white;
li.current a {
background: $menu_color;
font-weight: bold;
}
}
}

View File

@@ -1,2 +0,0 @@
div.paginator {
}

View File

@@ -1,12 +0,0 @@
@import "../common/000_vars.css.scss";
article.post-preview {
height: 150px;
width: 150px;
margin-right: 5px;
margin-bottom: 5px;
float: left;
text-align: center;
vertical-align: middle;
@include inline-block;
}

View File

@@ -17,7 +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)" %>
<%#= 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 %>

View File

@@ -4,7 +4,7 @@
<title><%= yield :page_title %></title>
<%= csrf_meta_tag %>
<%= stylesheet_link_tag "application", :media => "screen" %>
<%= stylesheet_link_tag "mobile", :media => "only screen and (max-width: 480px), only screen and (max-device-width: 480px)" %>
<%#= stylesheet_link_tag "mobile", :media => "only screen and (max-width: 480px), only screen and (max-device-width: 480px)" %>
<%= javascript_include_tag "application" %>
<meta name="viewport" content="width=device-width, initial-scale=1">
<%= yield :html_header %>