From e126756287be2d2ea8f1072c4f75ce1e5595978b Mon Sep 17 00:00:00 2001 From: Ali Karbassi Date: Sat, 6 Jun 2020 15:14:07 -0500 Subject: [PATCH] Beginning of donation page redo --- weallcode/static/weallcode/css/app.css | 5 + weallcode/templates/weallcode/_footer.html | 2 +- .../templates/weallcode/associate_board.html | 6 +- weallcode/templates/weallcode/donate.html | 224 ++++++++++++++++++ weallcode/templates/weallcode/join_us.html | 2 +- weallcode/urls.py | 2 + weallcode/views.py | 11 +- 7 files changed, 244 insertions(+), 8 deletions(-) create mode 100644 weallcode/templates/weallcode/donate.html diff --git a/weallcode/static/weallcode/css/app.css b/weallcode/static/weallcode/css/app.css index 3303fb05..7f9f6fd3 100644 --- a/weallcode/static/weallcode/css/app.css +++ b/weallcode/static/weallcode/css/app.css @@ -204,6 +204,10 @@ section { outline: none; } +address { + margin-bottom: 1rem; +} + ul.list-plus { margin: 0; padding: 0; @@ -611,6 +615,7 @@ html[data-whatintent="mouse"] .main-menu a:not(.button):hover, } html[data-whatintent="mouse"] .sub-menu a:hover, + .sub-menu .active, .sub-menu .active a { padding-bottom: calc(1.2rem - 5px); border-bottom: 5px solid var(--black); diff --git a/weallcode/templates/weallcode/_footer.html b/weallcode/templates/weallcode/_footer.html index 8a50add4..0f4e16dc 100644 --- a/weallcode/templates/weallcode/_footer.html +++ b/weallcode/templates/weallcode/_footer.html @@ -40,7 +40,7 @@ diff --git a/weallcode/templates/weallcode/associate_board.html b/weallcode/templates/weallcode/associate_board.html index 5115d932..13e35c01 100644 --- a/weallcode/templates/weallcode/associate_board.html +++ b/weallcode/templates/weallcode/associate_board.html @@ -1,6 +1,6 @@ {% extends 'weallcode/_base.html' %} -{% load static %} +{% load static active %} {% block page-class %}join-us{% endblock %} @@ -13,8 +13,8 @@