improve css for mobile page

This commit is contained in:
r888888888
2014-04-12 14:34:14 -07:00
parent ee417c7dc5
commit 8895759ea1
2 changed files with 6 additions and 7 deletions

View File

@@ -8,9 +8,13 @@ body {
padding: 5px; padding: 5px;
} }
input[type=text], input[type=submit] {
font-size: 20pt;
}
/* paginator */ /* paginator */
div.paginator { div.paginator {
font-size: 20pt; font-size: 18pt;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
@@ -18,7 +22,6 @@ div.paginator {
display: inline; display: inline;
a, span { a, span {
border: 1px solid #EAEAEA;
padding: 3px 18px; padding: 3px 18px;
margin: 0 3px; margin: 0 3px;
display: inline-block; display: inline-block;

View File

@@ -1,5 +1,5 @@
<%= form_tag(m_posts_path, :method => "get") do %> <%= form_tag(m_posts_path, :method => "get") do %>
<%= text_field_tag("tags", params[:tags], :size => 30) %> <%= text_field_tag("tags", params[:tags], :size => 17) %>
<%= submit_tag "Go", :name => nil %> <%= submit_tag "Go", :name => nil %>
<% end %> <% end %>
@@ -7,10 +7,6 @@
<%= sequential_paginator(@post_set.posts) %> <%= sequential_paginator(@post_set.posts) %>
<div id="tags">
<%= @post_set.presenter.tag_list_html(self, :name_only => true, :path_prefix => "/m/posts") %>
</div>
<%= content_for(:html_header) do %> <%= content_for(:html_header) do %>
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
<% end %> <% end %>