From 2f113c950f7736922cba631dfb8eaebc9fadbfa3 Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Mon, 8 Jul 2019 17:20:17 -0400 Subject: [PATCH] adjustments to mobile style created a more aesthetical placement of the logo and some other changes, like a min height of the header. --- css/style.css | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index c734877..d7474ed 100644 --- a/css/style.css +++ b/css/style.css @@ -7,10 +7,6 @@ body { margin: 0; min-width: 320px; } a { transition: 0.3s; } -@media screen and (max-width: 767px) { - .logo img { width: 150px; } -} - .navbar-default { background: #000; color: #FFF; @@ -71,6 +67,21 @@ a { transition: 0.3s; } float: right; } +@media screen and (min-width: 520px) and (max-width: 599px) { + .logo img { margin-left: 50px; } + #block-ryf-main-menu .navbar-nav { margin-left: 230px; } +} +@media screen and (min-width: 600px) and (max-width: 767px) { + .logo img { margin-left: 100px; } + #block-ryf-main-menu .navbar-nav { margin-left: 280px; } +} + +@media screen and (max-width: 767px) { + .logo img { height: 150px; margin-top: 25px; } + .navbar-default { min-height: 230px; margin-bottom: 30px; } + #block-ryf-main-menu .navbar-nav { max-width: 130px; } +} + /* Selectors */ @media screen and (min-width: 768px) { -- 1.9.1