From 37add732bcddb88281bbb88a9aff8322104a33e9 Mon Sep 17 00:00:00 2001 From: albert Date: Sun, 6 Nov 2011 18:19:40 -0500 Subject: [PATCH] styles --- app/assets/stylesheets/mobile/posts.css.scss | 19 ++++++++----------- app/views/m/posts/_header.html.erb | 1 + 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/app/assets/stylesheets/mobile/posts.css.scss b/app/assets/stylesheets/mobile/posts.css.scss index 05cb1ad05..b53aa0d86 100644 --- a/app/assets/stylesheets/mobile/posts.css.scss +++ b/app/assets/stylesheets/mobile/posts.css.scss @@ -5,10 +5,11 @@ div#main { } header { - margin: 10px 0 10px 0; - padding: 0 10px; + margin: 0; + padding: 0; menu { + width: 100%; margin: 0; padding: 0; @@ -20,22 +21,18 @@ header { } li#search-item { - width: 45%; + width: 50%; input { - font-size: 1.5em; - width: 100%; + font-size: 2em; } } li#sign-in-item { - width: 45%; + width: 49%; text-align: right; - - a { - font-size: 1.5em; - font-weight: bold; - } + font-size: 1.5em; + font-weight: bold; } } } diff --git a/app/views/m/posts/_header.html.erb b/app/views/m/posts/_header.html.erb index cf58d6388..b763deccc 100644 --- a/app/views/m/posts/_header.html.erb +++ b/app/views/m/posts/_header.html.erb @@ -6,6 +6,7 @@ <% end %>
  • + <%= Danbooru.config.app_name %> - <% if true || CurrentUser.is_anonymous? %> <%= link_to "Sign in", new_m_session_path %> <% end %>