From 518ec855e4a37674513a74d196b42b8a55020238 Mon Sep 17 00:00:00 2001 From: Ivlev Denis Date: Thu, 3 May 2018 20:46:46 +0300 Subject: [PATCH] Fix scrool to anchor --- project/templates/blocks/about.html | 2 +- project/templates/blocks/game.html | 21 ++++++++++----------- project/templates/blocks/teachers.html | 4 ++-- web/src/sass/_common.sass | 4 ++++ 4 files changed, 17 insertions(+), 14 deletions(-) diff --git a/project/templates/blocks/about.html b/project/templates/blocks/about.html index 66116c55..2287c4cb 100644 --- a/project/templates/blocks/about.html +++ b/project/templates/blocks/about.html @@ -1,5 +1,5 @@ {% load static %} -
+
diff --git a/project/templates/blocks/game.html b/project/templates/blocks/game.html index 7156e621..3ec1abf9 100644 --- a/project/templates/blocks/game.html +++ b/project/templates/blocks/game.html @@ -1,14 +1,13 @@ {% load static %} - -
-
-
-
LILCITY
-
Приложения, развивающие игры и интерактивные книги от Lil City.
- УЗНАТЬ БОЛЬШЕ -
-
-
- +
+
+
+
LILCITY
+
Приложения, развивающие игры и интерактивные книги от Lil City.
+ УЗНАТЬ БОЛЬШЕ
+
+
+ +
diff --git a/project/templates/blocks/teachers.html b/project/templates/blocks/teachers.html index 2aec308c..00e14c97 100644 --- a/project/templates/blocks/teachers.html +++ b/project/templates/blocks/teachers.html @@ -1,7 +1,7 @@ {% load static %} -
+
- +
Преподаватели
diff --git a/web/src/sass/_common.sass b/web/src/sass/_common.sass index 9cec928a..fae1cb73 100755 --- a/web/src/sass/_common.sass +++ b/web/src/sass/_common.sass @@ -4022,3 +4022,7 @@ a opacity: 0.3 +m //margin-top: 0px + +.anchor + padding-top: 100px; + margin-top: -100px