com web/shared: Fixed some margin issues for logo on various screen sizes.: styles/defaults.css
| From: | Levi Morrison | Date: | Sat, 05 Apr 2014 20:56:23 +0000 |
| Subject: | com web/shared: Fixed some margin issues for logo on various screen sizes.: styles/defaults.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-18717@lists.php.net to get a copy of this message | ||
Commit: af81b315ad9f5b496261ef8bd630472bed20dd4a
Author: Levi Morrison <levi_morrison@byu.edu> Sat, 5 Apr 2014 14:56:23 -0600
Parents: 621630e26779e4f90bfe58faddabd98c39a7d729
Branches: master
Link: http://git.php.net/?p=web/shared.git;a=commitdiff;h=af81b315ad9f5b496261ef8bd630472bed20dd4a
Log:
Fixed some margin issues for logo on various screen sizes.
Changed paths:
M styles/defaults.css
Diff:
diff --git a/styles/defaults.css b/styles/defaults.css
index c73083c..642f96d 100644
--- a/styles/defaults.css
+++ b/styles/defaults.css
@@ -48,7 +48,7 @@ nav {
line-height: 2.5;
}
nav a.home {
- margin:0 1.5rem;
+ margin-right:1.5rem;
}
nav img {
vertical-align: middle;
@@ -268,7 +268,6 @@ th {
max-height: 50em;
}
@media (max-width:640px) {
-
#mainmenu-toggle-overlay {
background: #4F5B93 url(//php.net/images/mobile-menu.png) no-repeat center center;
float: right;
@@ -318,6 +317,7 @@ th {
max-width: 100%;
}
}
+
@media (min-width: 641px) {
img {
max-width: 100%
@@ -326,7 +326,11 @@ th {
padding:0 .75rem;
}
}
+
@media (min-width: 1020px) {
+ nav a.home {
+ margin-left:1.5rem;
+ }
.fullscreen {
/* width should be evenly divisible by 4rem */
max-width: 96rem;