potentially fix iphone problem
authorxenophenes <xenophenes42@gmail.com>
Tue, 28 Feb 2017 21:00:35 +0000 (13:00 -0800)
committerxenophenes <xenophenes42@gmail.com>
Tue, 28 Feb 2017 21:00:35 +0000 (13:00 -0800)
static/css/style.css

index e237286a5aad0560145fe53992f093a1305b9ba0..118a5dc5345cdae5cdcce19f350169da3ab6c695 100644 (file)
                        margin-bottom: 1.75em;
                }
 
+               @media only screen /*iPhone*/
+                 and (min-device-width: 320px)
+                 and (max-device-width: 568px)
+                 and (-webkit-min-device-pixel-ratio: 2)  {
+
+
+
+
+                   #banner {
+                       overflow: hidden;
+                       background: url(../images/banner.jpg) no-repeat center center;
+                       background-attachment: fixed;
+                       -webkit-background-size: cover;
+                       -moz-background-size: cover;
+                       -o-background-size: cover;
+                       background-size: cover;
+                       height: auto !important;
+                       max-width: 100%;
+                       width: 100%;
+                       z-index: -1;
+
+
+                   }
+
+               }
+
+
                section.specialevent {
                        background-size: cover;
                        background-image: url(../images/golf.jpg);