From 22590bf87f639eb0bb6c0f2ae9fb517fa092cd33 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 8 Jun 2017 16:33:08 -0400 Subject: [PATCH] removing sticky styles from the mobile and tablet view fixing the js and styles so that there is enough padding on the main page content in mobile and tablet view --- css/app.css | 47 +++++++++++++++++++++++++----------------- header.php | 2 +- js/app.js | 15 ++++++++++---- js/custom/pageSetup.js | 15 ++++++++++---- scss/_main.scss | 8 +++++++ scss/_slideshow.scss | 1 + 6 files changed, 60 insertions(+), 28 deletions(-) diff --git a/css/app.css b/css/app.css index 7701305..2423dc8 100644 --- a/css/app.css +++ b/css/app.css @@ -6636,27 +6636,36 @@ main { height: 300px; } @media only screen and (max-width: 40em) { - #slideshow { - height: 270px; } } -#slideshow li { - list-style: none; } - @media only screen and (min-width:40.063em) and (max-width:64em) { - #slideshow li { - height: 386px; } } + .page-inside, .page-front { + padding-top: 150px; } } +@media only screen and (min-width:40.063em) and (max-width:64em) { + .page-inside, .page-front { + padding-top: 100px; } } + +#slideshow { + margin-top: 10px; } @media only screen and (max-width: 40em) { - #slideshow li { + #slideshow { height: 270px; } } - #slideshow li img { - max-height: 386px; } -#slideshow #caption { - background: rgba(0, 0, 0, 0.75); - color: #FFFFFF; - margin-top: -51px; } - #slideshow #caption p { - padding: 10px 5px; - font-size: 12px; - margin: 0; - text-align: right; } + #slideshow li { + list-style: none; } + @media only screen and (min-width:40.063em) and (max-width:64em) { + #slideshow li { + height: 386px; } } + @media only screen and (max-width: 40em) { + #slideshow li { + height: 270px; } } + #slideshow li img { + max-height: 386px; } + #slideshow #caption { + background: rgba(0, 0, 0, 0.75); + color: #FFFFFF; + margin-top: -51px; } + #slideshow #caption p { + padding: 10px 5px; + font-size: 12px; + margin: 0; + text-align: right; } /* NextGen Gallery */ .ngg-gallery-thumbnail, .ngg-gallery-thumbnail-box { diff --git a/header.php b/header.php index 763350d..e522e19 100644 --- a/header.php +++ b/header.php @@ -17,7 +17,7 @@
-
+