#tsparticles {
position: absolute;
width: 100%;
height: 100%;
background-color: #1c1c1c;
background-repeat: repeat;
background-size: cover;
background-position: 50% 50%;
}
#gh-project {
font-size: 18px;
color: #df00ff;
padding-left: 5px;
font-weight: Bold;
vertical-align: bottom;
bottom: 10px;
right: 10px;
position: fixed;
border-radius: 10px;
background: #000;
padding: 0 12px 6px 12px;
border: 1px solid #000;
}
tsParticles.load("tsparticles", {
fpsLimit: 100,
interactivity: {
events: {
onClick: { enable: true, mode: "push" },
onHover: {
enable: true,
mode: "repulse"
},
resize: true
},
modes: {
push: { quantity: 4 },
repulse: { distance: 200, duration: 0.9 }
}
},
particles: {
color: { value: "random" },
move: {
bounce: false,
direction: "none",
enable: true,
outModes: "out",
random: false,
speed: 2,
straight: false
},
number: { density: { enable: true, area: 800 }, value: 320 },
opacity: {
value: 0.5
},
shape: {
type: "circle",
options: {
circle: {
sides: 5
}
}
},
size: {
value: { min: -1, max: 6 }
}
}
});