From a760dcf146ecf54995b0c9f6c36b19464fb42d2c Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 18 Nov 2014 14:40:59 -0500 Subject: [PATCH] A lot of changes as discussed w/Collins, Alicia Primarily spacing, coloring, positioning of elements, etc. --- css/app.css | 137 ++--- footer.php | 12 +- header.php | 2 +- nggallery/gallery-glmphotos.php | 2 +- scss/site/_structure.scss | 125 ++-- scss/site/_structure_1.scss | 1013 +++++++++++++++++++++++++++++++ 6 files changed, 1161 insertions(+), 130 deletions(-) create mode 100644 scss/site/_structure_1.scss diff --git a/css/app.css b/css/app.css index f722a47..f0a6dc7 100644 --- a/css/app.css +++ b/css/app.css @@ -5589,6 +5589,9 @@ h2 { #main { padding: 10px 40px; } +div[role=main] { + padding: 0px; } + #navRow { padding-top: 20px; height: 100px; } @@ -5597,7 +5600,7 @@ h2 { background-color: white; max-width: 1000px; margin: 0 auto; - box-shadow: 0 0 10px black; + box-shadow: 0 0 10px grey; /*border: 1px solid $black;*/ } .top-bar-container { @@ -5623,14 +5626,14 @@ h2 { /* IE6-8 */ position: relative; margin-bottom: 0 !important; - width: 578px; + width: 540px; height: 65px; border-radius: 10px 0 0 0; z-index: 9; } nav.top-bar { height: 60px; - width: 550px; + width: 555px; float: right; border-radius: 10px 0 0 0; } @@ -5695,8 +5698,8 @@ ul.global-nav li + li::before { padding-top: 20px; } #glmLogo { - margin-top: 45px; - margin-left: 50px; } + margin-top: 30px; + margin-left: 40px; } .glmSocial { width: 250px; @@ -5941,22 +5944,23 @@ article h2 { margin-top: 30px; } } #homepage_market_experts { - padding: 20px; + padding: 0 20px; text-align: center; } #homepage_market_experts > div { padding: 15px; } .home_section_title { - font-family: "Big Caslon", "Book Antiqua", "Palatino Linotype", Georgia, serif; + font-family: "times"; font-weight: normal; + font-size: 48px; border-bottom: 1px solid #f48228; width: 70%; - margin-left: auto; - margin-right: auto; } + margin: 35px auto 25px; + padding-bottom: 5px; } .homepage_box { - height: 215px; + height: 200px; border: 1px black solid; position: relative; } @@ -5965,7 +5969,7 @@ article h2 { .homepage_box_title { font-weight: bold; - margin: 18px; + margin: 15px 10px; font-size: 18px; color: #f48228; } @@ -5974,9 +5978,8 @@ article h2 { .homepage_box_desc { color: #6d6e71; - font-size: 16px; - /* text-align: center;*/ - margin: 0 30px; } + font-size: 15px; + margin: 0 25px; } .homepage_box_arrow { width: 100%; @@ -5995,15 +5998,23 @@ article h2 { #homepage_portfolio { text-align: center; } +#homepage_portfolio li { + width: auto; } + #homepage_portfolio > p, #homepage_problem_solvers > p { - padding: 0 40px; } + padding: 0 40px; + line-height: 100%; } -#homepage_portfolio, #homepage_portfolio > p, #homepage_problem_solvers > p { +#homepage_portfolio { + margin: 0 20px 20px 20px; } + #homepage_portfolio #gallery { + margin: 0 -0.8rem 0 -0.75rem; } + +#homepage_portfolio > p, #homepage_problem_solvers > p { text-align: center; - font-family: Helvetica !important; - font-size: 18px !important; - color: grey !important; - margin: 0; } + font-family: "Helvetica" bold !important; + font-size: 24px !important; + margin: 0 0 20px; } #homepage_testimonials { width: 100%; @@ -6013,9 +6024,9 @@ article h2 { text-align: center; background-color: #f48228; margin: 10px 0; - -webkit-box-shadow: inset 5px 5px 9px 0px rgba(0, 0, 0, 0.6); - -moz-box-shadow: inset 5px 5px 9px 0px rgba(0, 0, 0, 0.6); - box-shadow: inset 5px 5px 9px 0px rgba(0, 0, 0, 0.6); } + -moz-box-shadow: inset 0 8px 8px -8px rgba(0, 0, 0, 0.5), inset 0 -8px 8px -8px rgba(0, 0, 0, 0.5); + -webkit-box-shadow: inset 0 8px 8px -8px rgba(0, 0, 0, 0.5), inset 0 -8px 8px -8px rgba(0, 0, 0, 0.5); + box-shadow: inset 0 8px 8px -8px rgba(0, 0, 0, 0.5), inset 0 -8px 8px -8px rgba(0, 0, 0, 0.5); } @media (max-width: 768px) { #homepage_testimonials { @@ -6025,7 +6036,8 @@ article h2 { #homepage_testimonials { height: 240px; } #glmLogo { - margin: 10px 0 0 0; } + margin: 10px 0 0; + padding: 0 10px; } #glmTop { margin-left: auto; margin-right: auto; @@ -6043,7 +6055,11 @@ article h2 { @media (max-width: 320px) { #homepage_testimonials { - height: 330px; } } + height: 330px; } + .metaslider { + display: none; } + .inner-container { + margin-top: 30px; } } .homepage_testimonials_larrow { min-width: 31px; @@ -6106,7 +6122,7 @@ article h2 { background-position: center; } .ngg-gallery-thumbnail .ngg-fancybox:hover img { - opacity: 0.5; } + opacity: 0.3; } .ngg-fancybox .photoTitle { color: white; @@ -6117,6 +6133,15 @@ article h2 { font-style: normal; text-decoration: none; } +#homepage_portfolio .ngg-fancybox img { + margin: 0 !important; } + +[class*="block-grid-"] > li { + display: inline-flex; + float: none; + height: auto; + padding: 0 0.625rem 1.25rem; } + #homepage_problem_solvers { text-align: center; } @@ -6128,45 +6153,14 @@ article h2 { border: 1px solid black; border-radius: 4px; color: white; - background: #003e7c; - /* Old browsers */ - background: -moz-linear-gradient(45deg, #003e7c 15%, #0568b3 50%, #004a7c 85%); - /* FF3.6+ */ - background: -webkit-gradient(linear, left bottom, right top, color-stop(15%, #003e7c), color-stop(50%, #0568b3), color-stop(85%, #004a7c)); - /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(45deg, #003e7c 15%, #0568b3 50%, #004a7c 85%); - /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(45deg, #003e7c 15%, #0568b3 50%, #004a7c 85%); - /* Opera 11.10+ */ - background: -ms-linear-gradient(45deg, #003e7c 15%, #0568b3 50%, #004a7c 85%); - /* IE10+ */ - background: linear-gradient(45deg, #003e7c 15%, #0568b3 50%, #004a7c 85%); - /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003e7c', endColorstr='#004a7c',GradientType=1 ); - /* IE6-9 fallback on horizontal gradient */ - /* background-color: #0568b3;*/ + background: #0568b3; + float: none; font-family: times; font-size: 18px; - font-style: italic; } + /* font-style: italic;*/ } #fancybox-title-inside { - background: #003e7c; - /* Old browsers */ - background: -moz-linear-gradient(45deg, #003e7c 15%, #0568b3 50%, #004a7c 85%); - /* FF3.6+ */ - background: -webkit-gradient(linear, left bottom, right top, color-stop(15%, #003e7c), color-stop(50%, #0568b3), color-stop(85%, #004a7c)); - /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(45deg, #003e7c 15%, #0568b3 50%, #004a7c 85%); - /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(45deg, #003e7c 15%, #0568b3 50%, #004a7c 85%); - /* Opera 11.10+ */ - background: -ms-linear-gradient(45deg, #003e7c 15%, #0568b3 50%, #004a7c 85%); - /* IE10+ */ - background: linear-gradient(45deg, #003e7c 15%, #0568b3 50%, #004a7c 85%); - /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003e7c', endColorstr='#004a7c',GradientType=1 ); - /* IE6-9 fallback on horizontal gradient */ - /* background-color: #0568b3;*/ + background: #0568b3; border-radius: 4px; color: white; font-family: times; @@ -6181,9 +6175,11 @@ article h2 { .ngg-gallery-thumbnail img { padding: 0 !important; - margin-left: auto !important; - margin-right: auto !important; - float: none; } + margin: none auto !important; + float: none; + display: inline-block; + border: 0; + border-bottom: 1px solid darkgrey; } .slideshowlink { display: none; } @@ -6194,8 +6190,6 @@ article h2 { #menu-menu-1 > li > a { padding-bottom: 10px; } -.glmServicesNav { - margin-left: -28px; } #menu-menu-1 .glmServicesNav > a { border-top-left-radius: 8px; } @@ -6263,6 +6257,9 @@ article h2 { filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2d4bc', endColorstr='#f48228',GradientType=0 ); /* IE6-8 */ } +.top-bar-section > ul { + margin-left: 15px; } + /** * 4.2 Posts * ------------------------------------ @@ -6299,18 +6296,18 @@ nav.top-bar { transition: max-height 0.3s ease-in-out; } @media (max-width: 640px) { - #donate_form tbody tr { + #payment_form tbody tr { width: 100%; display: block; } - #donate_form table { + #payment_form table { /* width: 250px;*/ width: 100%; display: block; } - #donate_form tbody { + #payment_form tbody { width: 100%; display: block; } #main { - padding: 0; } } + padding: 10%; } } /* Assets */ /* diff --git a/footer.php b/footer.php index ff61036..22cdbf3 100644 --- a/footer.php +++ b/footer.php @@ -32,12 +32,12 @@