improve css for mobile page
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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 %>
|
||||||
|
|||||||
Reference in New Issue
Block a user