From: Anthony Talarico Date: Thu, 25 Feb 2016 21:50:23 +0000 (-0500) Subject: removed unused sidebar id in style, reduced line height between li and increased... X-Git-Tag: v1.0.0^2~143 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=27266628f6d4e138069ab7ff8782ea5921cf4054;p=WP-Themes%2FDiscoverKZOO.git removed unused sidebar id in style, reduced line height between li and increased bottom margin --- diff --git a/css/app.css b/css/app.css index 41cdfbb..e9dfc0e 100644 --- a/css/app.css +++ b/css/app.css @@ -7192,11 +7192,7 @@ input[type="submit"].blogbutton { text-decoration: underline; } .pf-content p { - margin-bottom: 0px; - padding: 0 30px; } - -div.pf-content > h2 { - padding: 0 30px; } + margin-bottom: 0px; } #category-menu ul li { background-color: #2C296D; @@ -7235,50 +7231,6 @@ article { .addthis_counter.addthis_pill_style { float: right; } -#sidebar { - padding-top: 25px; - background: #f2f9fc; } - #sidebar .row.collapse { - margin-left: 14px; } - #sidebar li { - list-style: none; } - #sidebar li #calendar_wrap table#wp-calendar { - margin: 0 auto; } - #sidebar a { - font-size: 12px; } - #sidebar form { - margin: 0 12px 0 14px; } - #sidebar form select { - padding: 0 0.5rem; - border-radius: 5px; - height: 25px; - margin: 0; } - #sidebar form select option { - font-size: 10px; } - #sidebar .small-block-grid-2 { - margin-top: 10px; } - #sidebar .small-block-grid-2 li { - padding: 0 0.625rem 0.625rem; } - #sidebar .small-block-grid-2 li img { - border: 2px solid lightblue; } - #sidebar .small-block-grid-2 > li:nth-of-type(2), #sidebar .small-block-grid-2 > li:nth-of-type(4) { - padding-left: 0; } - #sidebar .small-block-grid-2 > li:nth-of-type(3), #sidebar .small-block-grid-2 > li:nth-of-type(4) { - padding-bottom: 20px; } - #sidebar h3 { - margin: 20px 0 0; } - #sidebar h1 { - margin: 0; - font-size: 1.5625rem; - text-transform: none; } - #sidebar input { - padding: 5px 0 5px 8px; - height: auto; - margin: 10px 0; } - #sidebar button { - border-radius: 2px; - padding: 0 10px; } - #side-nav { padding-top: 10px; background: #f2f9fc; } @@ -7316,8 +7268,7 @@ article { #side-links #menu-side { background: #2c296d; padding-top: 20px; - margin-bottom: 30px; - width: 386px; } + margin-bottom: 30px; } @media only screen and (max-width: 1165px) { #side-links #menu-side { width: 95%; } } @@ -7329,11 +7280,14 @@ article { #side-links #menu-side ul.sidebar { list-style: none; margin-left: 30px; } - #side-links #menu-side ul.sidebar li a { - color: #FFFFFF; - font-size: 1.5rem; } - #side-links #menu-side ul.sidebar li a:hover { - color: #57b649; } + #side-links #menu-side ul.sidebar li { + line-height: 1; + margin-bottom: 15px; } + #side-links #menu-side ul.sidebar li a { + color: #FFFFFF; + font-size: 1.5rem; } + #side-links #menu-side ul.sidebar li a:hover { + color: #57b649; } #side-links img { margin-bottom: 30px; } @media only screen and (max-width: 1165px) { diff --git a/index.php b/index.php index 6053a5b..22b0978 100644 --- a/index.php +++ b/index.php @@ -4,9 +4,9 @@
-
+
-
+
diff --git a/scss/_blog.scss b/scss/_blog.scss index df4a8e9..a7963ae 100644 --- a/scss/_blog.scss +++ b/scss/_blog.scss @@ -182,10 +182,10 @@ input[type="submit"].blogbutton { } .pf-content p{ margin-bottom: 0px; - padding: 0 30px; +// padding: 0 30px; } div.pf-content > h2 { - padding: 0 30px; +// padding: 0 30px; } #category-menu ul li { background-color: #2C296D; diff --git a/scss/_sidebar.scss b/scss/_sidebar.scss index 2616d14..20c9c5a 100644 --- a/scss/_sidebar.scss +++ b/scss/_sidebar.scss @@ -1,65 +1,4 @@ -#sidebar { - padding-top: 25px; - background: #f2f9fc; - .row.collapse { - margin-left: 14px; - } - li { - list-style: none; - #calendar_wrap { - table#wp-calendar { - margin: 0 auto; - } - } - } - a { - font-size: 12px; - } - form { - margin: 0 12px 0 14px; - select { - padding: 0 rem-calc(8); - border-radius: 5px; - height: 25px; - margin: 0; - option { - font-size: 10px; - } - } - } - .small-block-grid-2 { - margin-top: 10px; - li { - padding: 0 rem-calc(10) rem-calc(10); - img { - border: 2px solid lightblue; - } - } - & > li:nth-of-type(2), & > li:nth-of-type(4) { - padding-left: 0; - } - & > li:nth-of-type(3), & > li:nth-of-type(4) { - padding-bottom: 20px; - } - } - h3 { - margin: 20px 0 0; - } - h1 { - margin: 0; - font-size: rem-calc(25); - text-transform: none; - } - input { - padding: 5px 0 5px 8px; - height: auto; - margin: 10px 0; - } - button { - border-radius: 2px; - padding: 0 10px; - } -} + #side-nav { padding-top: 10px; background: #f2f9fc; @@ -110,7 +49,7 @@ background: $purple; padding-top: 20px; margin-bottom: 30px; - width: 386px; +// width: 386px; // width: 360px; @media only screen and (max-width: 1165px) { width: 95%; @@ -126,6 +65,8 @@ list-style: none; margin-left: 30px; li { + line-height: 1; + margin-bottom: 15px; a { color: $white; font-size: rem-calc(24);