From c7f6751190a10aceec40657c8dd7e60bdc986353 Mon Sep 17 00:00:00 2001 From: albert Date: Sun, 6 Nov 2011 18:13:00 -0500 Subject: [PATCH] styles --- app/assets/stylesheets/mobile/posts.css.scss | 19 +++++++------------ app/views/m/posts/_header.html.erb | 3 --- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/app/assets/stylesheets/mobile/posts.css.scss b/app/assets/stylesheets/mobile/posts.css.scss index d7cd6be69..05cb1ad05 100644 --- a/app/assets/stylesheets/mobile/posts.css.scss +++ b/app/assets/stylesheets/mobile/posts.css.scss @@ -5,7 +5,7 @@ div#main { } header { - margin: 0 0 10px 0; + margin: 10px 0 10px 0; padding: 0 10px; menu { @@ -15,26 +15,21 @@ header { li { margin: 0; padding: 0; - width: 33%; display: inline-block; vertical-align: middle; } - + li#search-item { - input { - font-size: 2em; - } - } - - li#site-item { - text-align: center; + width: 45%; - h1 { - font-size: 3em; + input { + font-size: 1.5em; + width: 100%; } } li#sign-in-item { + width: 45%; text-align: right; a { diff --git a/app/views/m/posts/_header.html.erb b/app/views/m/posts/_header.html.erb index e6f0104dc..cf58d6388 100644 --- a/app/views/m/posts/_header.html.erb +++ b/app/views/m/posts/_header.html.erb @@ -5,9 +5,6 @@ <%= search_field_tag :tags, params[:tags] %> <% end %> -
  • -

    <%= Danbooru.config.app_name %>

    -
  • <% if true || CurrentUser.is_anonymous? %> <%= link_to "Sign in", new_m_session_path %>