1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-08-10 22:41:43 +02:00

Доработка доков

This commit is contained in:
Anton Titovets
2025-07-10 23:36:54 +03:00
parent 262f7dd78f
commit e1741cb5fe
3 changed files with 6 additions and 9 deletions

View File

@@ -459,9 +459,9 @@ li > a.menu__link {
@keyframes fall {
0% {
transform: translateY(-100px);
opacity: 0.15;
opacity: 0.25;
}
28% {
27% {
opacity: 0;
}
100% {

View File

@@ -38,16 +38,14 @@ const iconList = [
];
const FallingIcons = () => {
const baseIconCount = 350;
const iconCount = Math.round(baseIconCount * (window.innerWidth / 1000));
const iconCount = 60; // количество падающих иконок
const icons = [];
for (let i = 0; i < iconCount; i++) {
const randomIcon = iconList[Math.floor(Math.random() * iconList.length)];
const left = (i / (iconCount - 1)) * 100; // равномерное распределение по ширине
const duration = Math.random() + 40;// случайная длительность от 6 до 10 секунд
const delay = Math.random() * 40; // случайная задержка от 0 до 5 секунд
const duration = Math.random() + 20;// случайная длительность от 6 до 10 секунд
const delay = Math.random() * 20; // случайная задержка от 0 до 5 секунд
icons.push(
<img

View File

@@ -102,5 +102,4 @@
.textContainer {
background-color: white;
}
}