From 516406e48daeea1adecd68785042241350874938 Mon Sep 17 00:00:00 2001 From: Rushil Umaretiya <2023rumareti@tjhsst.edu> Date: Tue, 20 Oct 2020 15:15:54 -0400 Subject: [PATCH] fixed spacing and anim --- manage.py | 0 notes/templates/notes/meeting.html | 2 +- notes/templates/notes/test.html | 2 +- pages/static/pages/css/styles.css | 61 ++++++++++++++++-------------- pages/templates/pages/base.html | 4 +- pages/templates/pages/council.html | 2 +- pages/templates/pages/events.html | 2 +- pages/templates/pages/index.html | 26 ++++++------- pages/views.py | 2 +- 9 files changed, 52 insertions(+), 49 deletions(-) mode change 100644 => 100755 manage.py diff --git a/manage.py b/manage.py old mode 100644 new mode 100755 diff --git a/notes/templates/notes/meeting.html b/notes/templates/notes/meeting.html index 886fdf7..7445b06 100644 --- a/notes/templates/notes/meeting.html +++ b/notes/templates/notes/meeting.html @@ -5,7 +5,7 @@ {% endblock css %} {% block content %} -
+
{{html|safe}}
{% endblock content %} \ No newline at end of file diff --git a/notes/templates/notes/test.html b/notes/templates/notes/test.html index 6db2367..0f33fc2 100644 --- a/notes/templates/notes/test.html +++ b/notes/templates/notes/test.html @@ -4,7 +4,7 @@ {% endblock css %} {% block content %} -
+
{{html|safe}}
{% endblock content %} \ No newline at end of file diff --git a/pages/static/pages/css/styles.css b/pages/static/pages/css/styles.css index 00bdc26..d90f01a 100644 --- a/pages/static/pages/css/styles.css +++ b/pages/static/pages/css/styles.css @@ -1,30 +1,33 @@ -html { - overflow-x: hidden; -} - -nav { - transform: translateY(-70px); - z-index: 10; - animation: nav-slide 0.75s ease-in-out forwards; - animation-delay: 1s; -} - -@keyframes nav-slide { - 0% { - transform: translateY(-70px); - } - - 100% { - transform: translateY(0px); - } -} - - -.jumbotron { - position: absolute; - top: 0; - left: 0; - height: 100vh; - width: 100vw; - background-image: url('img/hero.png') +html { + overflow-x: hidden; +} + +nav { + z-index: 10; +} + +.animated-navbar { + transform: translateY(-70px); + animation: nav-slide 0.75s ease-in-out forwards; + animation-delay: 1s; +} + +@keyframes nav-slide { + 0% { + transform: translateY(-70px); + } + + 100% { + transform: translateY(0px); + } +} + + +.jumbotron { + position: absolute; + top: 0; + left: 0; + height: 100vh; + width: 100vw; + background-image: url('img/hero.png') } \ No newline at end of file diff --git a/pages/templates/pages/base.html b/pages/templates/pages/base.html index d8fae87..1fdb3b2 100644 --- a/pages/templates/pages/base.html +++ b/pages/templates/pages/base.html @@ -19,8 +19,8 @@

You are using an outdated browser. Please upgrade your browser to improve your experience.

-