diff --git a/static/src/js/index.js b/static/src/js/index.js index 67e60e9..2390816 100644 --- a/static/src/js/index.js +++ b/static/src/js/index.js @@ -1,3 +1,4 @@ document.addEventListener("DOMContentLoaded", function() { M.Sidenav.init(document.querySelectorAll(".sidenav"), {}); + M.Parallax.init(document.querySelectorAll(".parallax"), {}); }); diff --git a/static/src/scss/index.scss b/static/src/scss/index.scss index 4c88220..915fcc2 100644 --- a/static/src/scss/index.scss +++ b/static/src/scss/index.scss @@ -5,9 +5,12 @@ $sidenav-width: 275px; body { + @extend .grey-text, .text-lighten-3; + display: flex; min-height: 100vh; flex-direction: column; + background-color: #17181C; } main { @@ -21,9 +24,19 @@ main { footer.page-footer { padding-top: 0; + + @media #{$large-and-up} { + margin-left: $sidenav-width; + } } .sidenav { + background-color: #17181C; + + li > a { + @extend .grey-text, .text-lighten-3; + } + width: $sidenav-width; @media #{$large-and-up} { @@ -36,3 +49,7 @@ nav { display: none; } } + +.header-image { + height: $sidenav-width * 1.5; +} diff --git a/templates/about.html b/templates/about.html index e7b4146..f49f858 100644 --- a/templates/about.html +++ b/templates/about.html @@ -1,9 +1,85 @@ -{% extends "base.html" %} +{% extends "content.html" %} {% load static %} {% block title %}About{% endblock %} +{% block headerimage %}{% static "img/header.jpg" %}{% endblock %} + {% block content %} -