Commit: edea25af6fbda736059d2db44cceea43eac809b8 Author: Levi Morrison <[email protected]> Wed, 23 Apr 2014 19:20:02 -0600 Parents: e25bb81299f1efc61f3255d23d4d23c9928bab42 Branches: master
Link: http://git.php.net/?p=web/shared.git;a=commitdiff;h=edea25af6fbda736059d2db44cceea43eac809b8 Log: Constrained some nav styles to the main nav; also reworked responsive sizes Changed paths: M styles/defaults.css Diff: diff --git a/styles/defaults.css b/styles/defaults.css index 6c1938b..4cef05c 100644 --- a/styles/defaults.css +++ b/styles/defaults.css @@ -279,7 +279,7 @@ th { /* This just has to be big enough to cover whatever's in nav. */ max-height: 50em; } -@media (max-width:640px) { +@media (max-width:40rem) { #mainmenu-toggle-overlay { background: #4F5B93 url(//php.net/images/mobile-menu.png) no-repeat center center; float: right; @@ -309,7 +309,9 @@ th { overflow-y: auto; clear: both; } - nav ul, nav li, nav a { + header nav ul, + header nav li, + header nav a { display: block; text-align: center; } @@ -330,7 +332,7 @@ th { } } -@media (min-width: 641px) { +@media (min-width: 40rem) { img { max-width: 100% } @@ -339,7 +341,7 @@ th { } } -@media (min-width: 1020px) { +@media (min-width: 48rem) { nav a.home { margin-left:1.5rem; } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
