From abebad0ef7f12f0e2e07969315db16a10b058dfe Mon Sep 17 00:00:00 2001 From: Christopher Neugebauer Date: Sat, 12 Aug 2017 19:43:28 -0700 Subject: [PATCH] Adds a faded hills too --- pinaxcon/templates/site_base.html | 4 +- pinaxcon/templates/static_pages/homepage.html | 2 +- static/images/hills-footer.svg | 263 ++++++++++++++++++ static/scss/custom.scss | 13 +- static/scss/variables.scss | 2 +- 5 files changed, 277 insertions(+), 7 deletions(-) create mode 100644 static/images/hills-footer.svg diff --git a/pinaxcon/templates/site_base.html b/pinaxcon/templates/site_base.html index ac912a8..bf65c2a 100644 --- a/pinaxcon/templates/site_base.html +++ b/pinaxcon/templates/site_base.html @@ -21,7 +21,9 @@
-
+
+ +
diff --git a/pinaxcon/templates/static_pages/homepage.html b/pinaxcon/templates/static_pages/homepage.html index 2807883..0c91259 100644 --- a/pinaxcon/templates/static_pages/homepage.html +++ b/pinaxcon/templates/static_pages/homepage.html @@ -15,7 +15,7 @@
-
+
diff --git a/static/images/hills-footer.svg b/static/images/hills-footer.svg new file mode 100644 index 0000000..c7e9348 --- /dev/null +++ b/static/images/hills-footer.svg @@ -0,0 +1,263 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/static/scss/custom.scss b/static/scss/custom.scss index 6d0e5dc..f27bf1f 100644 --- a/static/scss/custom.scss +++ b/static/scss/custom.scss @@ -164,8 +164,7 @@ body.auth .panel-heading .panel-title span.pull-right { } -#hills { - background: url("../images/hills.svg"); +.hills { background-size: 100%; background-position: bottom; background-repeat: no-repeat; @@ -175,6 +174,12 @@ body.auth .panel-heading .panel-title span.pull-right { bottom: 0; right: 0; z-index: -9999; - opacity: 0.3; - background-blend-mode: multiply; + + &.main { + background-image: url("../images/hills.svg"); + } + + &.footer { + background-image: url("../images/hills-footer.svg"); + } } diff --git a/static/scss/variables.scss b/static/scss/variables.scss index 8ffcd29..32635c3 100644 --- a/static/scss/variables.scss +++ b/static/scss/variables.scss @@ -1,6 +1,6 @@ /* COLORS */ // Used by links, buttons, and other background bits. -$brand-primary: #1f6400; +$brand-primary: darken(rgb(0, 202, 10), 20%); $background-filter: hsla(207, 60%, 85%, 1.0); $background-filter-transparent: change-color($background-filter, $alpha: 0.5);