/* ---- reset ---- */
body {
margin: 0;
font: normal 75% Arial, Helvetica, sans-serif;
}
canvas {
display: block;
vertical-align: bottom;
}
/* ---- tsparticles container ---- */
#tsparticles {
position: fixed;
width: 100%;
height: 100%;
z-index: -1;
}
.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: 0,
density: {
enable: true,
value_area: 800
}
},
color: {
value: "#ffff00",
animation: {
enable: true,
speed: -70,
sync: true
}
},
shape: {
type: "circle"
},
opacity: {
value: 1,
random: false,
animation: {
enable: true,
speed: 0.5,
minimumValue: 0,
sync: false
}
},
size: {
value: 8,
random: { enable: true, minimumValue: 4 },
animation: {
enable: false,
speed: 20,
minimumValue: 4,
sync: false
}
},
life: {
duration: {
value: 2
},
count: 1
},
move: {
angle: {
value: 45,
offset: 0
},
enable: true,
gravity: {
enable: true,
acceleration: -0.5
},
speed: 10,
direction: "top",
random: false,
straight: false,
size: true,
outModes: {
default: "destroy",
bottom: "none"
},
attract: {
enable: false,
distance: 300,
rotate: {
x: 600,
y: 1200
}
}
}
},
interactivity: {
detectsOn: "canvas",
events: {
resize: true
}
},
detectRetina: true,
background: {
color: "#000000"
},
emitters: {
direction: "top",
rate: {
quantity: 50,
delay: 0.01
},
size: {
width: 100,
height: 10
},
position: {
x: 50,
y: 100
}
}
});