/* ---- reset ---- */
body { margin: 0; font: normal 75% Arial, Helvetica, sans-serif;
}
canvas { display: block; vertical-align: bottom;
}
/* ---- tsparticles container ---- */
#tsparticles { position: absolute; width: 100%; height: 100%;
}
.github { bottom: 10px; right: 10px; position: fixed; border-radius: 10px; background: #fff; padding: 0 12px 6px 12px; border: 1px solid #000;
}
.github a:hover,
.github a:link,
.github a:visited,
.github a:active { color: #000; text-decoration: none;
}
.github img { height: 30px;
}
.github #gh-project { font-size: 20px; padding-left: 5px; font-weight: bold; vertical-align: bottom;
}
tsParticles.load("tsparticles", { fpsLimit: 60, particles: { number: { value: 80, density: { enable: true, value_area: 800 } }, color: { value: "#ff0000", animation: { enable: true, speed: 20, sync: true } }, shape: { type: "circle", stroke: { width: 0, color: "#000000" }, polygon: { nb_sides: 5 }, image: { src: "https://cdn.matteobruni.it/images/particles/github.svg", width: 100, height: 100 } }, opacity: { value: 0.5, random: false, anim: { enable: false, speed: 3, opacity_min: 0.1, sync: false } }, size: { value: 3, random: true, anim: { enable: false, speed: 20, size_min: 0.1, sync: false } }, line_linked: { enable: true, distance: 100, color: "random", opacity: 0.4, width: 1, triangles: { enable: true, color: "#ffffff", opacity: 0.1 } }, move: { enable: true, speed: 6, direction: "none", random: false, straight: false, out_mode: "out", attract: { enable: false, rotateX: 600, rotateY: 1200 } } }, interactivity: { detect_on: "canvas", events: { onhover: { enable: true, mode: "repulse" }, onclick: { enable: true, mode: "push" }, resize: true }, modes: { grab: { distance: 400, line_linked: { opacity: 1 } }, bubble: { distance: 400, size: 40, duration: 2, opacity: 0.8, speed: 3 }, repulse: { distance: 200 }, push: { particles_nb: 4 }, remove: { particles_nb: 2 } } }, retina_detect: true, background: { color: "#000000", image: "", position: "50% 50%", repeat: "no-repeat", size: "cover" }
});