Merge pull request #385 from r-gaia-cs/css-mobile
authorGreg Wilson <gvwilson@software-carpentry.org>
Sun, 6 Apr 2014 13:50:02 +0000 (09:50 -0400)
committerGreg Wilson <gvwilson@software-carpentry.org>
Sun, 6 Apr 2014 13:50:02 +0000 (09:50 -0400)
Add CSS media query to improve logo position

swc.css

diff --git a/swc.css b/swc.css
index 3bb49a3683a72be1fd37f14ab32047c460fd78af..1f637923f22707a85d8d0d8f9c28dd951eb9c1aa 100644 (file)
--- a/swc.css
+++ b/swc.css
@@ -84,6 +84,12 @@ div.banner a img {
     padding: 20px 25px;
 }
 
+@media (max-width: 700px) {
+    div.banner a img {
+        padding: 20px 0px;
+    }
+}
+
 /* Explanatory call-out boxes. */
 div.box {
     background-color: mistyrose;