diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..42e3728 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,6 @@ +{ + "extends": "eslint-config-standard", + "rules": { + "no-unused-vars": "off" + } +} \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1e95a8a..3aaca5d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,4 +17,6 @@ jobs: - name: Install dependencies run: npm install - name: Lint CSS - run: npm run lint:css \ No newline at end of file + run: npm run lint:css + - name: Lint JS + run: npm run lint:js \ No newline at end of file diff --git a/.stylelintrc.json b/.stylelintrc.json index 64f7a48..f1ed28d 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,3 +1,9 @@ { - "extends": ["stylelint-config-standard"] + "extends": ["stylelint-config-standard"], + "rules": { + "selector-pseudo-class-no-unknown": null, + "selector-type-no-unknown": null, + "property-no-unknown": null, + "at-rule-no-unknown": null + } } \ No newline at end of file diff --git a/content.css b/content.css index 9743895..0b6fdcf 100644 --- a/content.css +++ b/content.css @@ -132,9 +132,9 @@ body { } #scroll-button { - position: absolute; - bottom: 20px; - left: 50%; + position: fixed; + top: 30px; + left: 96%; transform: translateX(-50%); background-color: transparent; border: none; @@ -183,6 +183,10 @@ video { margin-bottom: 70px; } + #scroll-button { + left: 90%; + } + video { width: 100%; } diff --git a/content.html b/content.html index a4ddc8f..b88a73d 100644 --- a/content.html +++ b/content.html @@ -17,29 +17,34 @@ Вернуться на главную -
+
+
+
+
+
+
-
-
-
+
+ +
    +
+ +
+
+
+