From e76e18cd339d214b191832e6da5acc70384efabe Mon Sep 17 00:00:00 2001 From: nglk Date: Tue, 29 Sep 2020 14:20:57 +0200 Subject: [PATCH] smooth scroooooooooll --- static/css/style.css | 6 ++++++ templates/hello.html | 33 ++++++++++++++------------------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 926d6fd..f394ccf 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -24,6 +24,12 @@ .thesis { overflow-y: scroll; max-height:500px; +scroll-behavior: smooth; +} + +/* background audio */ +audio { + width:100%; } /* circles */ diff --git a/templates/hello.html b/templates/hello.html index 8a31f5f..e739a2c 100644 --- a/templates/hello.html +++ b/templates/hello.html @@ -3,14 +3,19 @@ {% block body %}
-
Map area
+
- + + + - hello + Angelahello
@@ -82,21 +87,11 @@ elem.scrollIntoView(); } - - + {% endblock %}