From: Anthony Talarico Date: Mon, 7 Dec 2015 18:37:02 +0000 (-0500) Subject: adjusting blocks margin X-Git-Tag: v1.0.0^2~121 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=1447fb5740d8aef261f3f6307e43514985e4413b;p=WP-Themes%2Fstaffords.git adjusting blocks margin --- diff --git a/css/app.css b/css/app.css index 9415493..a38de0a 100644 --- a/css/app.css +++ b/css/app.css @@ -7064,6 +7064,20 @@ main a { .stButton .chicklets { height: 20px !important; } +.blocks { + position: relative; + padding: 0 38px; + margin-bottom: 50px; } + @media only screen and (max-width: 40em) { + .blocks { + padding: 0 15px; + max-width: 260px; + margin-bottom: 75px; } } + @media 0em, 40em { + .blocks { + margin-top: 20px; + margin-bottom: 75px; } } + #slideshow { top: -121px; position: relative; diff --git a/js/app.js b/js/app.js index 57c3e3a..2f4238a 100644 --- a/js/app.js +++ b/js/app.js @@ -221,5 +221,4 @@ $(document).ready(function () { $("#properties .top-bar .top-bar-section ul#menu-properties li ul.dropdown li a").mouseout(function () { $("#properties .top-bar .top-bar-section ul#menu-properties #menu-item-1517 > a").css("box-shadow", "0px -7px 10px -9px rgba(0, 0, 0, 0.5) inset"); }); - }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index fd773c2..72232c2 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -212,5 +212,4 @@ $(document).ready(function () { $("#properties .top-bar .top-bar-section ul#menu-properties li ul.dropdown li a").mouseout(function () { $("#properties .top-bar .top-bar-section ul#menu-properties #menu-item-1517 > a").css("box-shadow", "0px -7px 10px -9px rgba(0, 0, 0, 0.5) inset"); }); - }); diff --git a/scss/_main.scss b/scss/_main.scss index 27fece0..ca6786d 100644 --- a/scss/_main.scss +++ b/scss/_main.scss @@ -136,3 +136,20 @@ a.title-posts h1{ height: 20px !important; } +.blocks { + position: relative; + // top: -150px; + padding: 0 38px; + margin-bottom: 50px; + @media #{$small-only} { + padding: 0 15px; + max-width: 260px; + margin-bottom: 75px; +} +@media #{$small-range}{ + margin-top: 20px; + margin-bottom: 75px; +} +} + +