Skip to content

Commit 8dbe99f

Browse files
committed
update font
1 parent 9e4dac1 commit 8dbe99f

File tree

4 files changed

+1715
-25
lines changed

4 files changed

+1715
-25
lines changed

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ gunicorn==20.0.4
77
itsdangerous==1.1.0
88
Jinja2==2.10.3
99
MarkupSafe==1.1.1
10-
Werkzeug==0.16.0
10+
Werkzeug==0.16.0
11+

static/js/app.js

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
/* -----------------------------------------------
2+
/* How to use? : Check the GitHub README
3+
/* ----------------------------------------------- */
4+
5+
/* To load a config file (particles.json) you need to host this demo (MAMP/WAMP/local)... */
6+
/*
7+
particlesJS.load('particles-js', 'particles.json', function() {
8+
console.log('particles.js loaded - callback');
9+
});
10+
*/
11+
12+
/* Otherwise just put the config content (json): */
13+
14+
particlesJS('particles-js',
15+
16+
{
17+
"particles": {
18+
"number": {
19+
"value": 80,
20+
"density": {
21+
"enable": true,
22+
"value_area": 800
23+
}
24+
},
25+
"color": {
26+
"value": "#ffffff"
27+
},
28+
"shape": {
29+
"type": "circle",
30+
"stroke": {
31+
"width": 0,
32+
"color": "#000000"
33+
},
34+
"polygon": {
35+
"nb_sides": 5
36+
},
37+
"image": {
38+
"src": "img/github.svg",
39+
"width": 100,
40+
"height": 100
41+
}
42+
},
43+
"opacity": {
44+
"value": 0.5,
45+
"random": false,
46+
"anim": {
47+
"enable": false,
48+
"speed": 1,
49+
"opacity_min": 0.1,
50+
"sync": false
51+
}
52+
},
53+
"size": {
54+
"value": 5,
55+
"random": true,
56+
"anim": {
57+
"enable": false,
58+
"speed": 40,
59+
"size_min": 0.1,
60+
"sync": false
61+
}
62+
},
63+
"line_linked": {
64+
"enable": true,
65+
"distance": 150,
66+
"color": "#ffffff",
67+
"opacity": 0.4,
68+
"width": 1
69+
},
70+
"move": {
71+
"enable": true,
72+
"speed": 6,
73+
"direction": "none",
74+
"random": false,
75+
"straight": false,
76+
"out_mode": "out",
77+
"attract": {
78+
"enable": false,
79+
"rotateX": 600,
80+
"rotateY": 1200
81+
}
82+
}
83+
},
84+
"interactivity": {
85+
"detect_on": "canvas",
86+
"events": {
87+
"onhover": {
88+
"enable": true,
89+
"mode": "repulse"
90+
},
91+
"onclick": {
92+
"enable": true,
93+
"mode": "push"
94+
},
95+
"resize": true
96+
},
97+
"modes": {
98+
"grab": {
99+
"distance": 400,
100+
"line_linked": {
101+
"opacity": 1
102+
}
103+
},
104+
"bubble": {
105+
"distance": 400,
106+
"size": 40,
107+
"duration": 2,
108+
"opacity": 8,
109+
"speed": 3
110+
},
111+
"repulse": {
112+
"distance": 200
113+
},
114+
"push": {
115+
"particles_nb": 4
116+
},
117+
"remove": {
118+
"particles_nb": 2
119+
}
120+
}
121+
},
122+
"retina_detect": true,
123+
"config_demo": {
124+
"hide_card": false,
125+
"background_color": "#b61924",
126+
"background_image": "",
127+
"background_position": "50% 50%",
128+
"background_repeat": "no-repeat",
129+
"background_size": "cover"
130+
}
131+
}
132+
133+
);

0 commit comments

Comments
 (0)