From ec35ef4158228e1ab74a946b6bee8d870a1f5a95 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 14 May 2015 12:24:18 -0400 Subject: [PATCH] Add defaults for gallery --- root/scss/_defaults.scss | 44 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/root/scss/_defaults.scss b/root/scss/_defaults.scss index accd6a7..9ce5ae4 100644 --- a/root/scss/_defaults.scss +++ b/root/scss/_defaults.scss @@ -2,6 +2,50 @@ // site. Make sure this is placed before _structures (if that is still the // primary css file). + + +/* PLUGINS */ +/* Nextgen */ +.gallery li a img { // without this images will overlap each other at certain widths + display: block; + width: 100%; +} +.ngg-gallery-thumbnail, .ngg-gallery-thumbnail-box { + float: none !important; +} +.ngg-album-compact h4 .ngg-album-desc { + height: auto !important; + font-family: $font-family-serif; + font-weight: 400; +} +.ngg-album-compact .album-meta-wrapper h4 a { + font-style: normal; +} +.album-meta-wrapper { + display: block; + height: 54px; + margin-bottom: 20px; +} +.ngg-glmalbums { + margin: 10px 0; + min-height: 260px; + @media #{$small-only} { + min-height: 180px; + } +} +.ngg-album-link { + text-align: center; +} +/* Ninja Forms */ +.ninja-forms-form-wrap { + max-width: 600px; + margin: 0 auto; + input[type=submit] { + @include button(); + display: block; + margin: 0 auto; + } +} /* For fixing cellphones not showing phone numbers because of /helpful/ auto-coloring */ a[href^=tel]{ color:inherit; -- 2.17.1