From f25e21de0fdebb3afa168123566b8bbe655ddb3e Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 5 May 2015 16:10:23 -0400 Subject: [PATCH] Some colour fixes that I re-broke --- root/scss/_blog.scss | 106 +------------------------------- root/scss/_defaults.scss | 37 ----------- root/scss/_search.scss | 4 +- root/scss/_sidebar.scss | 6 +- root/scss/plugins/_nextgen.scss | 36 ++++++++++- 5 files changed, 41 insertions(+), 148 deletions(-) diff --git a/root/scss/_blog.scss b/root/scss/_blog.scss index 32f13cd..1cb7afa 100644 --- a/root/scss/_blog.scss +++ b/root/scss/_blog.scss @@ -53,7 +53,7 @@ a { font-size: rem-calc(11); &.more { - color: $dark-blue; + color: darkblue; font-weight: bold; text-transform: uppercase; } @@ -85,108 +85,4 @@ } } } -} -.home-feed-post { - padding-bottom: 25px; - @media #{$small-only} { - > * { - text-align: center; - } - } -} -input[type="submit"].blogbutton { - border-radius: 3px; - color: $white; - border: 2px solid $white; - font-weight: bold; - font-size: 13px; - padding: 2px 5px; - margin-top: -10px; - text-transform: uppercase; - &:hover { - cursor: pointer; - background: $white; - border: 2px solid #035C84; - color: white; - } -} -#blog-posts-over article { - padding-top: 10px; - margin-bottom: 15px; - display: inline-block; - width: 100%; - .entry-header { - background: transparent; - } - p { - padding-bottom: 15px; - } - a.read-more { - border: 2px solid $white; - font-weight: bold; - font-size: 13px; - padding: 0 3px; - text-transform: uppercase; - &:hover { - background: $white; - border: 2px solid #035C84; - color: #035C84; - } - } - .entry-header { - margin-bottom: 10px; - .entry-title { - margin-bottom: 0; - } - .meta.date { - font-size: 13px; - font-weight: bold; - } - } -} -/*#searchform div input &[type="text"] { - width: 95%; -}*/ -#blog-posts-over .entry-meta { - text-align: center; - color: #757575; - font-size: 12px; -} -#blog-posts-over > div { - margin: 25px 0; -} -#blog-side-info { - #searchform { - margin-bottom: 30px; - } - p { - margin-bottom: 0; - } -} -@media #{$small-only} { - #blog-side-info-wrapper { - float: none; - margin: 0 auto; - clear: both; - } - #blog-side-info { - padding-left: 0; - border-left: 0; - ul { - margin-left: 0; - margin-top:10px; - } - #searchform { - padding: 35px 0; - #s { - width: 100%; - } - } - } -} -#blog-side-info { - padding-right: 10px; - ul { - list-style-type: none; - } } \ No newline at end of file diff --git a/root/scss/_defaults.scss b/root/scss/_defaults.scss index ff8311b..accd6a7 100644 --- a/root/scss/_defaults.scss +++ b/root/scss/_defaults.scss @@ -2,43 +2,6 @@ // 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; -} -/* 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; diff --git a/root/scss/_search.scss b/root/scss/_search.scss index e046cb2..bd3e3d3 100644 --- a/root/scss/_search.scss +++ b/root/scss/_search.scss @@ -26,7 +26,7 @@ font-size: 10em; /* This controls the size. */ width: rem-calc(12); height: rem-calc(12); - border: rem-calc(2) solid $dark-blue; + border: rem-calc(2) solid darkblue; position: absolute; top: 15px; border-radius: 0.35em; @@ -38,7 +38,7 @@ right: rem-calc(-7); bottom: rem-calc(-4); border-width: 0; - background: $dark-blue; + background: darkblue; width: rem-calc(8); height: rem-calc(2); -webkit-transform: rotate(45deg); diff --git a/root/scss/_sidebar.scss b/root/scss/_sidebar.scss index 476372a..b64cf19 100644 --- a/root/scss/_sidebar.scss +++ b/root/scss/_sidebar.scss @@ -32,7 +32,7 @@ li { padding: 0 rem-calc(10) rem-calc(10); img { - border: 2px solid $light-blue; + border: 2px solid lightblue; } } & > li:nth-of-type(2), & > li:nth-of-type(4) { @@ -84,7 +84,7 @@ background: #81adc1; } a { - color: $dark-blue; + color: darkblue; &:hover { color: $white; } @@ -117,7 +117,7 @@ } &#message { text-transform: uppercase; - color: $light-blue; + color: lightblue; font-size: rem-calc(15); margin: 40px 0; } diff --git a/root/scss/plugins/_nextgen.scss b/root/scss/plugins/_nextgen.scss index c9f6434..3bb3619 100644 --- a/root/scss/plugins/_nextgen.scss +++ b/root/scss/plugins/_nextgen.scss @@ -3,4 +3,38 @@ .ngg-gallery-thumbnail-box { float: none !important; } -/* End NextGen Gallery */ \ No newline at end of file +.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; +} +/* Ninja Forms */ +.ninja-forms-form-wrap { + max-width: 600px; + margin: 0 auto; + input[type=submit] { + @include button(); + display: block; + margin: 0 auto; + } +} + +/* End NextGen Gallery */ -- 2.17.1