From 9faaa7d44d586bf41395233655f5f242376e503c Mon Sep 17 00:00:00 2001 From: Nicolae Claudius Date: Wed, 7 Mar 2012 14:41:41 -0800 Subject: [PATCH] mobile devices tweaks --- app/assets/stylesheets/theme/layout.css.scss | 13 +++++++++++-- app/views/pages/home/_headlines.html.erb | 3 +++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/theme/layout.css.scss b/app/assets/stylesheets/theme/layout.css.scss index 235fbf9..5465e3c 100644 --- a/app/assets/stylesheets/theme/layout.css.scss +++ b/app/assets/stylesheets/theme/layout.css.scss @@ -2,10 +2,19 @@ body { background: #f7fdff; } -#main { - margin-top: 40px; +@media (max-width: 980px) { + .navbar-fixed-top { + margin-bottom: 0px; + } } +@media (min-width: 980px) { + #main { + margin-top: 40px; + } +} + + .footer { margin-top: 25px; padding: 15px 0 15px; diff --git a/app/views/pages/home/_headlines.html.erb b/app/views/pages/home/_headlines.html.erb index 751cd92..849f916 100644 --- a/app/views/pages/home/_headlines.html.erb +++ b/app/views/pages/home/_headlines.html.erb @@ -21,5 +21,8 @@
  • Complete developers API's
  • +
  • + Accessible from mobile devices +