diff --git a/app/styles/scss/_footer.scss b/app/styles/scss/_footer.scss index a60a8c2..58812cd 100644 --- a/app/styles/scss/_footer.scss +++ b/app/styles/scss/_footer.scss @@ -1,6 +1,6 @@ /* Footer */ -#footer { +.site-footer { background-color: $color-background; border-top: 1px solid $color-background-border; clear: both; diff --git a/app/styles/scss/_wordpress.scss b/app/styles/scss/_wordpress.scss index e873e24..589d3c3 100644 --- a/app/styles/scss/_wordpress.scss +++ b/app/styles/scss/_wordpress.scss @@ -1,22 +1,26 @@ body.admin-bar { padding-top: 28px; - #content-wrapper, - .navbar-fixed-top { - top: 28px; - } - @media screen and (max-width: 782px) { padding-top: 46px; + } + + .site-body { + top: 28px; - #content-wrapper, - .navbar-fixed-top { + @media screen and (max-width: 782px) { top: 46px; } } - @media screen and (max-width: 600px) { - .navbar-fixed-top { + .navbar-fixed-top { + top: 28px; + + @media screen and (max-width: 782px) { + top: 46px; + } + + @media screen and (max-width: 600px) { position: absolute; } } diff --git a/app/styles/scss/_mixins.scss b/app/styles/scss/mixins/_mixins.scss similarity index 100% rename from app/styles/scss/_mixins.scss rename to app/styles/scss/mixins/_mixins.scss diff --git a/app/styles/scss/style.scss b/app/styles/scss/style.scss index 1d6d2f5..e27dcd7 100644 --- a/app/styles/scss/style.scss +++ b/app/styles/scss/style.scss @@ -11,7 +11,7 @@ /** * Import theme mixins. */ -@import "mixins"; +@import "mixins/mixins"; /** * Import accessibility styles. @@ -42,14 +42,14 @@ body { } } -#header { +.site-header { min-height: 50px; } -#content-wrapper { +.site-body { @extend .container; - #main { + .site-body__main { @include make-md-column(9); @include make-xs-column(12); @@ -64,7 +64,7 @@ body { } } - #sidebar { + .site-body__sidebar { @extend .container; @include make-md-column(3); @include make-xs-column(12); @@ -75,7 +75,7 @@ body { } #b3-error, - #sidebar { + .site-body__sidebar { margin-top: 40px; } } @@ -108,7 +108,6 @@ body { clear: both; margin-left: auto; margin-right: auto; - } .alignnone { diff --git a/index.php b/index.php index fb7c8f3..0d34e2a 100644 --- a/index.php +++ b/index.php @@ -15,13 +15,13 @@ role="document"> - -
-
- + +
+
+
- -
+ +