diff options
author | MORITA Hajime (omo) <omo@dodgson.org> | 2011-10-23 06:55:20 -0700 |
---|---|---|
committer | MORITA Hajime (omo) <omo@dodgson.org> | 2011-10-23 06:55:20 -0700 |
commit | 633b3389f3bbcb5ee05079da16e518fc918911f4 (patch) | |
tree | b83a33869e6ff2a8d69efb1f2903d4dfe03ce22e /.themes/classic/sass/partials | |
parent | 408ed3e1e2ed1f62aebb13d5382732ade9de8655 (diff) | |
download | my_new_personal_website-633b3389f3bbcb5ee05079da16e518fc918911f4.tar.xz my_new_personal_website-633b3389f3bbcb5ee05079da16e518fc918911f4.zip |
Make the background and the footer gradiations customizable
This change extracts following variables for allowing customizatin:
- nav-bg-back
- nav-bg-front
- footer-bg-back
- footer-bg-front
Diffstat (limited to '')
-rw-r--r-- | .themes/classic/sass/partials/_footer.scss | 2 | ||||
-rw-r--r-- | .themes/classic/sass/partials/_navigation.scss | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.themes/classic/sass/partials/_footer.scss b/.themes/classic/sass/partials/_footer.scss index e750342c..37411225 100644 --- a/.themes/classic/sass/partials/_footer.scss +++ b/.themes/classic/sass/partials/_footer.scss @@ -4,7 +4,7 @@ body > footer { color: $footer-color; text-shadow: lighten($footer-bg, 5) 0 1px; background-color: $footer-bg; - @include background(image-url('noise.png'), linear-gradient(lighten($footer-bg, 8), $footer-bg, darken($footer-bg, 11))); + @include background($footer-bg-front, $footer-bg-back); border-top: 1px solid $footer-border-top; position: relative; padding-top: 1em; diff --git a/.themes/classic/sass/partials/_navigation.scss b/.themes/classic/sass/partials/_navigation.scss index c05819ad..68a15ce0 100644 --- a/.themes/classic/sass/partials/_navigation.scss +++ b/.themes/classic/sass/partials/_navigation.scss @@ -1,7 +1,7 @@ body > nav { position: relative; background-color: $nav-bg; - @include background(image-url('noise.png'), linear-gradient(lighten($nav-bg, 8), $nav-bg, darken($nav-bg, 11))); + @include background($nav-bg-front, $nav-bg-back); border: { top: 1px solid $nav-border-top; bottom: 1px solid $nav-border-bottom; } |