From 46fedda7c48518d0003d15a94ce6221f3653651d Mon Sep 17 00:00:00 2001 From: hendr-ik Date: Thu, 22 Aug 2019 00:13:11 +0200 Subject: [PATCH] layout ready --- homepage/theme/static/images/illustration.svg | 3 + ...-circle-only.svg => offen-brand-white.svg} | 0 .../images/offen-logo-letters-only-grey.svg | 6 - .../images/offen-logo-letters-only-white.svg | 6 - .../static/images/offen-sign-brand-grey.svg | 8 + .../static/images/offen-sign-brand-white.svg | 8 + homepage/theme/static/scripts/fade.js | 3 + .../static/scripts/{functions.js => menu.js} | 1 - homepage/theme/templates/base.html | 63 +++++--- styles/index.css | 138 ++++++++++++------ 10 files changed, 165 insertions(+), 71 deletions(-) create mode 100644 homepage/theme/static/images/illustration.svg rename homepage/theme/static/images/{offen-logo-circle-only.svg => offen-brand-white.svg} (100%) delete mode 100644 homepage/theme/static/images/offen-logo-letters-only-grey.svg delete mode 100644 homepage/theme/static/images/offen-logo-letters-only-white.svg create mode 100644 homepage/theme/static/images/offen-sign-brand-grey.svg create mode 100644 homepage/theme/static/images/offen-sign-brand-white.svg create mode 100644 homepage/theme/static/scripts/fade.js rename homepage/theme/static/scripts/{functions.js => menu.js} (89%) diff --git a/homepage/theme/static/images/illustration.svg b/homepage/theme/static/images/illustration.svg new file mode 100644 index 0000000..4614354 --- /dev/null +++ b/homepage/theme/static/images/illustration.svg @@ -0,0 +1,3 @@ + + + diff --git a/homepage/theme/static/images/offen-logo-circle-only.svg b/homepage/theme/static/images/offen-brand-white.svg similarity index 100% rename from homepage/theme/static/images/offen-logo-circle-only.svg rename to homepage/theme/static/images/offen-brand-white.svg diff --git a/homepage/theme/static/images/offen-logo-letters-only-grey.svg b/homepage/theme/static/images/offen-logo-letters-only-grey.svg deleted file mode 100644 index 68264f8..0000000 --- a/homepage/theme/static/images/offen-logo-letters-only-grey.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/homepage/theme/static/images/offen-logo-letters-only-white.svg b/homepage/theme/static/images/offen-logo-letters-only-white.svg deleted file mode 100644 index 02c4971..0000000 --- a/homepage/theme/static/images/offen-logo-letters-only-white.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/homepage/theme/static/images/offen-sign-brand-grey.svg b/homepage/theme/static/images/offen-sign-brand-grey.svg new file mode 100644 index 0000000..a661095 --- /dev/null +++ b/homepage/theme/static/images/offen-sign-brand-grey.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/homepage/theme/static/images/offen-sign-brand-white.svg b/homepage/theme/static/images/offen-sign-brand-white.svg new file mode 100644 index 0000000..0526b05 --- /dev/null +++ b/homepage/theme/static/images/offen-sign-brand-white.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/homepage/theme/static/scripts/fade.js b/homepage/theme/static/scripts/fade.js new file mode 100644 index 0000000..6e80612 --- /dev/null +++ b/homepage/theme/static/scripts/fade.js @@ -0,0 +1,3 @@ +$(window).scroll(function(){ + $(".brand").css("opacity", 0 + $(window).scrollTop() / 100); + }); diff --git a/homepage/theme/static/scripts/functions.js b/homepage/theme/static/scripts/menu.js similarity index 89% rename from homepage/theme/static/scripts/functions.js rename to homepage/theme/static/scripts/menu.js index f1341ca..e34d5b3 100644 --- a/homepage/theme/static/scripts/functions.js +++ b/homepage/theme/static/scripts/menu.js @@ -1,4 +1,3 @@ -/** code by webdevtrick ( https://webdevtrick.com ) **/ (function($) { $(function() { $('nav ul li a:not(:only-child)').click(function(e) { diff --git a/homepage/theme/templates/base.html b/homepage/theme/templates/base.html index 4dab771..b9fc6ac 100644 --- a/homepage/theme/templates/base.html +++ b/homepage/theme/templates/base.html @@ -30,7 +30,7 @@