From 7a6842c07c3674ccc543e682bfdc7d88baca151b Mon Sep 17 00:00:00 2001 From: reggie duran Date: Tue, 21 Apr 2015 18:31:49 +0800 Subject: [PATCH 1/6] footer style done --- config.codekit | 50 ------------------------------------ scss/_footer.scss | 25 ++++++++++++++---- scss/_single.scss | 2 +- sidebar-footer-frontpage.php | 18 +++++-------- sidebar-footer-innerpage.php | 13 +++------- style.css | 22 ++++++++++++---- 6 files changed, 48 insertions(+), 82 deletions(-) diff --git a/config.codekit b/config.codekit index b9114c8..9a72bd0 100644 --- a/config.codekit +++ b/config.codekit @@ -137,15 +137,6 @@ "outputPathIsOutsideProject": 0, "outputPathIsSetByUser": 0 }, - "\/header.php": { - "fileType": 8192, - "ignore": 0, - "ignoreWasSetByUser": 0, - "inputAbbreviatedPath": "\/header.php", - "outputAbbreviatedPath": "No Output Path", - "outputPathIsOutsideProject": 0, - "outputPathIsSetByUser": 0 - }, "\/images\/header-image-default1-thumb.jpg": { "fileType": 16384, "ignore": 0, @@ -586,22 +577,6 @@ "shouldRunBless": 0, "useLibsass": 0 }, - "\/scss\/_page.scss": { - "createSourceMap": 0, - "debugStyle": 0, - "decimalPrecision": 10, - "fileType": 4, - "ignore": 1, - "ignoreWasSetByUser": 0, - "inputAbbreviatedPath": "\/scss\/_page.scss", - "outputAbbreviatedPath": "\/css\/_page.css", - "outputPathIsOutsideProject": 0, - "outputPathIsSetByUser": 0, - "outputStyle": 0, - "shouldRunAutoprefixer": 0, - "shouldRunBless": 0, - "useLibsass": 0 - }, "\/scss\/_portfolio.scss": { "createSourceMap": 0, "debugStyle": 0, @@ -634,22 +609,6 @@ "shouldRunBless": 0, "useLibsass": 0 }, - "\/scss\/_single.scss": { - "createSourceMap": 0, - "debugStyle": 0, - "decimalPrecision": 10, - "fileType": 4, - "ignore": 1, - "ignoreWasSetByUser": 0, - "inputAbbreviatedPath": "\/scss\/_single.scss", - "outputAbbreviatedPath": "\/css\/_single.css", - "outputPathIsOutsideProject": 0, - "outputPathIsSetByUser": 0, - "outputStyle": 0, - "shouldRunAutoprefixer": 0, - "shouldRunBless": 0, - "useLibsass": 0 - }, "\/scss\/_social.scss": { "createSourceMap": 0, "debugStyle": 0, @@ -784,15 +743,6 @@ "outputPathIsOutsideProject": 0, "outputPathIsSetByUser": 0 }, - "\/style.css": { - "fileType": 16, - "ignore": 1, - "ignoreWasSetByUser": 0, - "inputAbbreviatedPath": "\/style.css", - "outputAbbreviatedPath": "No Output Path", - "outputPathIsOutsideProject": 0, - "outputPathIsSetByUser": 0 - }, "\/tgm-plugin-activation.php": { "fileType": 8192, "ignore": 0, diff --git a/scss/_footer.scss b/scss/_footer.scss index 0a7551d..6daaf65 100644 --- a/scss/_footer.scss +++ b/scss/_footer.scss @@ -1,7 +1,5 @@ .footer-widgets { - max-width: 710px; margin: 0 auto 1.5em; - width: 80%; padding-top: 50px; } @@ -71,16 +69,33 @@ body.single .padding { * Footer copyright */ .site-info { - width: 80%; - max-width: 710px; + width: 100%; + max-width: 1200px; margin: 0 auto; padding: 1em 0; font-size: .8em; font-style: italic; } +body.home .site-info .widget-area { + width: 400px; + display: inline-block; + padding: 0 30px; +} + +body.page .footer-widgets { + padding: 0 40px; + max-width: 640px; +} + +body.page .footer-widgets .widget-area { + width: 280px; + padding: 0 20px; + display: inline-block; +} #site-navigation #main-menu .inner-menu .menu-widgets .widget_tag_cloud .tagcloud a { background: none; border: none; -} \ No newline at end of file +} + diff --git a/scss/_single.scss b/scss/_single.scss index c40d939..14478e1 100644 --- a/scss/_single.scss +++ b/scss/_single.scss @@ -28,7 +28,7 @@ body.single #masthead, body.page #masthead{ position: fixed; } -body.single #content { +body.single #content, body.page #content { margin-left: 50vw; } diff --git a/sidebar-footer-frontpage.php b/sidebar-footer-frontpage.php index b7f1325..ccf8afc 100755 --- a/sidebar-footer-frontpage.php +++ b/sidebar-footer-frontpage.php @@ -18,25 +18,19 @@ -