From 87cad9d6c9cb9e262ce489a6197538289dd42886 Mon Sep 17 00:00:00 2001 From: artemskakun Date: Wed, 28 Feb 2024 20:49:55 +0300 Subject: [PATCH] Fixed --- .eslintrc.json | 6 ++ .github/workflows/main.yml | 4 +- .stylelintrc.json | 8 +- content.css | 10 ++- content.html | 33 +++++---- package.json | 5 +- script.js | 145 +++++++++++++++++++++---------------- 7 files changed, 128 insertions(+), 83 deletions(-) create mode 100644 .eslintrc.json 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 @@ Вернуться на главную -
+
    - img-1 - img-2 - img-3 - img-4 - img-5 - img-6 - img-7 - img-8 - img-9 - img-10
+
+
+
+
+
-
-
-
+
+ +
    +
+ +
+
+
+