From: Andrew Engelbrecht <andrew@fsf.org> Date: Mon, 8 Jul 2019 21:20:17 +0000 (-0400) Subject: adjustments to mobile style X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2f113c950f7736922cba631dfb8eaebc9fadbfa3;p=ryf-theme.git adjustments to mobile style created a more aesthetical placement of the logo and some other changes, like a min height of the header. --- 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) {