added particles.min.js
This commit is contained in:
parent
51bb3e0df8
commit
84a3c7e21e
9 changed files with 305 additions and 43 deletions
|
@ -31,3 +31,12 @@
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#particles-js {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
z-index: 1; /* This value must be lower than other elements! */
|
||||||
|
}
|
||||||
|
|
|
@ -159,10 +159,10 @@ input, select, textarea {
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
-moz-transition: color 0.2s ease, border-bottom 0.2s ease;
|
-moz-transition: color 0.3s ease, border-bottom 0.3s ease;
|
||||||
-webkit-transition: color 0.2s ease, border-bottom 0.2s ease;
|
-webkit-transition: color 0.3s ease, border-bottom 0.3s ease;
|
||||||
-ms-transition: color 0.2s ease, border-bottom 0.2s ease;
|
-ms-transition: color 0.3s ease, border-bottom 0.3s ease;
|
||||||
transition: color 0.2s ease, border-bottom 0.2s ease;
|
transition: color 0.3s ease, border-bottom 0.3s ease;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-bottom: dotted 1px;
|
border-bottom: dotted 1px;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
@ -1836,10 +1836,10 @@ input, select, textarea {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
-ms-appearance: none;
|
-ms-appearance: none;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
-moz-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
|
||||||
-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
-webkit-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
|
||||||
-ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
-ms-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
|
||||||
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
border: 0;
|
border: 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
@ -2218,10 +2218,10 @@ input, select, textarea {
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
-moz-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
|
||||||
-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
-webkit-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
|
||||||
-ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
-ms-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
|
||||||
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
@ -3220,10 +3220,10 @@ input, select, textarea {
|
||||||
/* Nav */
|
/* Nav */
|
||||||
|
|
||||||
#nav {
|
#nav {
|
||||||
-moz-transition: background-color 0.2s ease, border-top-left-radius 0.2s ease, border-top-right-radius 0.2s ease, padding 0.2s ease;
|
-moz-transition: background-color 0.3s ease, border-top-left-radius 0.3s ease, border-top-right-radius 0.3s ease, padding 0.3s ease;
|
||||||
-webkit-transition: background-color 0.2s ease, border-top-left-radius 0.2s ease, border-top-right-radius 0.2s ease, padding 0.2s ease;
|
-webkit-transition: background-color 0.3s ease, border-top-left-radius 0.3s ease, border-top-right-radius 0.3s ease, padding 0.3s ease;
|
||||||
-ms-transition: background-color 0.2s ease, border-top-left-radius 0.2s ease, border-top-right-radius 0.2s ease, padding 0.2s ease;
|
-ms-transition: background-color 0.3s ease, border-top-left-radius 0.3s ease, border-top-right-radius 0.3s ease, padding 0.3s ease;
|
||||||
transition: background-color 0.2s ease, border-top-left-radius 0.2s ease, border-top-right-radius 0.2s ease, padding 0.2s ease;
|
transition: background-color 0.3s ease, border-top-left-radius 0.3s ease, border-top-right-radius 0.3s ease, padding 0.3s ease;
|
||||||
background-color: #0a0a0a;
|
background-color: #0a0a0a;
|
||||||
color: #fafafa;
|
color: #fafafa;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -3277,10 +3277,10 @@ input, select, textarea {
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav ul li {
|
#nav ul li {
|
||||||
-moz-transition: margin 0.2s ease;
|
-moz-transition: margin 0.3s ease;
|
||||||
-webkit-transition: margin 0.2s ease;
|
-webkit-transition: margin 0.3s ease;
|
||||||
-ms-transition: margin 0.2s ease;
|
-ms-transition: margin 0.3s ease;
|
||||||
transition: margin 0.2s ease;
|
transition: margin 0.3s ease;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0 0.35em;
|
margin: 0 0.35em;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -3288,10 +3288,10 @@ input, select, textarea {
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav ul li a {
|
#nav ul li a {
|
||||||
-moz-transition: font-size 0.2s ease;
|
-moz-transition: font-size 0.3s ease;
|
||||||
-webkit-transition: font-size 0.2s ease;
|
-webkit-transition: font-size 0.3s ease;
|
||||||
-ms-transition: font-size 0.2s ease;
|
-ms-transition: font-size 0.3s ease;
|
||||||
transition: font-size 0.2s ease;
|
transition: font-size 0.3s ease;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 2.25em;
|
height: 2.25em;
|
||||||
line-height: 2.25em;
|
line-height: 2.25em;
|
||||||
|
@ -3301,15 +3301,19 @@ input, select, textarea {
|
||||||
box-shadow: inset 0 0 0 1px transparent;
|
box-shadow: inset 0 0 0 1px transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav ul li a:hover {
|
|
||||||
background-color: #080808;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav ul li a.active {
|
#nav ul li a.active {
|
||||||
background-color: #000000;
|
transition: all 0.3s ease;
|
||||||
|
background-color: #1a1a1a;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#nav ul li a:hover {
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#nav.alt {
|
#nav.alt {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
9
static/js/particles.min.js
vendored
Normal file
9
static/js/particles.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
110
static/js/particlesjs-config-alt.json
Normal file
110
static/js/particlesjs-config-alt.json
Normal file
|
@ -0,0 +1,110 @@
|
||||||
|
{
|
||||||
|
"particles": {
|
||||||
|
"number": {
|
||||||
|
"value": 160,
|
||||||
|
"density": {
|
||||||
|
"enable": true,
|
||||||
|
"value_area": 800
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"value": "#ffffff"
|
||||||
|
},
|
||||||
|
"shape": {
|
||||||
|
"type": "circle",
|
||||||
|
"stroke": {
|
||||||
|
"width": 0,
|
||||||
|
"color": "#000000"
|
||||||
|
},
|
||||||
|
"polygon": {
|
||||||
|
"nb_sides": 5
|
||||||
|
},
|
||||||
|
"image": {
|
||||||
|
"src": "img/github.svg",
|
||||||
|
"width": 100,
|
||||||
|
"height": 100
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"opacity": {
|
||||||
|
"value": 1,
|
||||||
|
"random": true,
|
||||||
|
"anim": {
|
||||||
|
"enable": true,
|
||||||
|
"speed": 1,
|
||||||
|
"opacity_min": 0,
|
||||||
|
"sync": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"value": 3,
|
||||||
|
"random": true,
|
||||||
|
"anim": {
|
||||||
|
"enable": false,
|
||||||
|
"speed": 4,
|
||||||
|
"size_min": 0.3,
|
||||||
|
"sync": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"line_linked": {
|
||||||
|
"enable": false,
|
||||||
|
"distance": 150,
|
||||||
|
"color": "#ffffff",
|
||||||
|
"opacity": 0.4,
|
||||||
|
"width": 1
|
||||||
|
},
|
||||||
|
"move": {
|
||||||
|
"enable": true,
|
||||||
|
"speed": 1,
|
||||||
|
"direction": "none",
|
||||||
|
"random": true,
|
||||||
|
"straight": false,
|
||||||
|
"out_mode": "out",
|
||||||
|
"bounce": false,
|
||||||
|
"attract": {
|
||||||
|
"enable": false,
|
||||||
|
"rotateX": 600,
|
||||||
|
"rotateY": 600
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"interactivity": {
|
||||||
|
"detect_on": "canvas",
|
||||||
|
"events": {
|
||||||
|
"onhover": {
|
||||||
|
"enable": true,
|
||||||
|
"mode": "bubble"
|
||||||
|
},
|
||||||
|
"onclick": {
|
||||||
|
"enable": true,
|
||||||
|
"mode": "repulse"
|
||||||
|
},
|
||||||
|
"resize": true
|
||||||
|
},
|
||||||
|
"modes": {
|
||||||
|
"grab": {
|
||||||
|
"distance": 400,
|
||||||
|
"line_linked": {
|
||||||
|
"opacity": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"bubble": {
|
||||||
|
"distance": 250,
|
||||||
|
"size": 0,
|
||||||
|
"duration": 2,
|
||||||
|
"opacity": 0,
|
||||||
|
"speed": 3
|
||||||
|
},
|
||||||
|
"repulse": {
|
||||||
|
"distance": 400,
|
||||||
|
"duration": 0.4
|
||||||
|
},
|
||||||
|
"push": {
|
||||||
|
"particles_nb": 4
|
||||||
|
},
|
||||||
|
"remove": {
|
||||||
|
"particles_nb": 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"retina_detect": true
|
||||||
|
}
|
110
static/js/particlesjs-config.json
Normal file
110
static/js/particlesjs-config.json
Normal file
|
@ -0,0 +1,110 @@
|
||||||
|
{
|
||||||
|
"particles": {
|
||||||
|
"number": {
|
||||||
|
"value": 160,
|
||||||
|
"density": {
|
||||||
|
"enable": true,
|
||||||
|
"value_area": 800
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"value": "#ffffff"
|
||||||
|
},
|
||||||
|
"shape": {
|
||||||
|
"type": "circle",
|
||||||
|
"stroke": {
|
||||||
|
"width": 0,
|
||||||
|
"color": "#000000"
|
||||||
|
},
|
||||||
|
"polygon": {
|
||||||
|
"nb_sides": 5
|
||||||
|
},
|
||||||
|
"image": {
|
||||||
|
"src": "img/github.svg",
|
||||||
|
"width": 10,
|
||||||
|
"height": 10
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"opacity": {
|
||||||
|
"value": 0.7,
|
||||||
|
"random": true,
|
||||||
|
"anim": {
|
||||||
|
"enable": true,
|
||||||
|
"speed": 0.47948982282851027,
|
||||||
|
"opacity_min": 0,
|
||||||
|
"sync": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"value": 2,
|
||||||
|
"random": true,
|
||||||
|
"anim": {
|
||||||
|
"enable": false,
|
||||||
|
"speed": 4,
|
||||||
|
"size_min": 0.3,
|
||||||
|
"sync": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"line_linked": {
|
||||||
|
"enable": false,
|
||||||
|
"distance": 150,
|
||||||
|
"color": "#ffffff",
|
||||||
|
"opacity": 0.4,
|
||||||
|
"width": 1
|
||||||
|
},
|
||||||
|
"move": {
|
||||||
|
"enable": true,
|
||||||
|
"speed": 0,
|
||||||
|
"direction": "none",
|
||||||
|
"random": true,
|
||||||
|
"straight": false,
|
||||||
|
"out_mode": "out",
|
||||||
|
"bounce": false,
|
||||||
|
"attract": {
|
||||||
|
"enable": false,
|
||||||
|
"rotateX": 600,
|
||||||
|
"rotateY": 600
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"interactivity": {
|
||||||
|
"detect_on": "canvas",
|
||||||
|
"events": {
|
||||||
|
"onhover": {
|
||||||
|
"enable": true,
|
||||||
|
"mode": "bubble"
|
||||||
|
},
|
||||||
|
"onclick": {
|
||||||
|
"enable": true,
|
||||||
|
"mode": "repulse"
|
||||||
|
},
|
||||||
|
"resize": true
|
||||||
|
},
|
||||||
|
"modes": {
|
||||||
|
"grab": {
|
||||||
|
"distance": 400,
|
||||||
|
"line_linked": {
|
||||||
|
"opacity": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"bubble": {
|
||||||
|
"distance": 250,
|
||||||
|
"size": 0,
|
||||||
|
"duration": 2,
|
||||||
|
"opacity": 0,
|
||||||
|
"speed": 3
|
||||||
|
},
|
||||||
|
"repulse": {
|
||||||
|
"distance": 400,
|
||||||
|
"duration": 0.4
|
||||||
|
},
|
||||||
|
"push": {
|
||||||
|
"particles_nb": 4
|
||||||
|
},
|
||||||
|
"remove": {
|
||||||
|
"particles_nb": 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"retina_detect": true
|
||||||
|
}
|
|
@ -31,7 +31,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Top Floater Footer -->
|
<!-- Top Floater Footer -->
|
||||||
<div style="background-color: red; color: white; text-align: center; padding: 10px 0; position: fixed; top: 0; width: 100%; z-index: 1000;">
|
<div style="background-color: red; color: white; text-align: center; padding: 10px 0; position: fixed; bottom: 0; width: 100%; z-index: 1000;">
|
||||||
🚧👷♂️ This site is under construction! Please check back later. 👷♀️🚧
|
🚧👷♂️ This site is under construction! Please check back later. 👷♀️🚧
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Top Floater Footer -->
|
<!-- Top Floater Footer -->
|
||||||
<div style="background-color: red; color: white; text-align: center; padding: 10px 0; position: fixed; top: 0; width: 100%; z-index: 1000;">
|
<div style="background-color: red; color: white; text-align: center; padding: 10px 0; position: fixed; bottom: 0; width: 100%; z-index: 1000;">
|
||||||
🚧👷♂️ This site is under construction! Please check back later. 👷♀️🚧
|
🚧👷♂️ This site is under construction! Please check back later. 👷♀️🚧
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -28,13 +28,16 @@
|
||||||
|
|
||||||
<!-- Star Background Divs -->
|
<!-- Star Background Divs -->
|
||||||
<div id="star-background">
|
<div id="star-background">
|
||||||
<div id="stars"></div>
|
<div id="particles-js"></div>
|
||||||
<div id="stars2"></div>
|
<noscript>
|
||||||
<div id="stars3"></div>
|
<div id="stars"></div>
|
||||||
|
<div id="stars2"></div>
|
||||||
|
<div id="stars3"></div>
|
||||||
|
</noscript>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Top Floater Footer -->
|
<!-- Top Floater Footer -->
|
||||||
<div style="background-color: red; color: white; text-align: center; padding: 10px 0; position: fixed; top: 0; width: 100%; z-index: 1000;">
|
<div style="background-color: red; color: white; text-align: center; padding: 10px 0; position: fixed; bottom: 0; width: 100%; z-index: 1000;">
|
||||||
🚧👷♂️ This site is under construction! Please check back later. 👷♀️🚧
|
🚧👷♂️ This site is under construction! Please check back later. 👷♀️🚧
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -130,7 +133,7 @@
|
||||||
<h2>Try Searching</h2>
|
<h2>Try Searching</h2>
|
||||||
<p></p>
|
<p></p>
|
||||||
</header>
|
</header>
|
||||||
<iframe src="https://search.spitfirebrowser.com" width="100%" height="600px" style="border:none; border-radius: 10px; overflow:hidden;"></iframe>
|
<iframe src="https://search.spitfirebrowser.com" width="100%" height="700px" style="border:none; border-radius: 10px; overflow:hidden;"></iframe>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Security Section -->
|
<!-- Security Section -->
|
||||||
|
@ -206,13 +209,13 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#" class="icon alt">
|
<a href="https://weforgecode.xyz/Spitfire" class="icon alt">
|
||||||
<img src="/static/images/icons/brands/git-alt.svg" alt="Forgejo">
|
<img src="/static/images/icons/brands/git-alt.svg" alt="Forgejo">
|
||||||
<span class="label">Forgejo</span>
|
<span class="label">Forgejo</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#" class="icon alt">
|
<a href="https://www.youtube.com/@Internet.Addict" class="icon alt">
|
||||||
<img src="/static/images/icons/brands/youtube.svg" alt="YouTube">
|
<img src="/static/images/icons/brands/youtube.svg" alt="YouTube">
|
||||||
<span class="label">YouTube</span>
|
<span class="label">YouTube</span>
|
||||||
</a>
|
</a>
|
||||||
|
@ -236,6 +239,13 @@
|
||||||
<script src="/static/js/util.js" defer></script>
|
<script src="/static/js/util.js" defer></script>
|
||||||
<script src="/static/js/main.js" defer></script>
|
<script src="/static/js/main.js" defer></script>
|
||||||
<script src="/static/js/slick-conf.js" defer></script>
|
<script src="/static/js/slick-conf.js" defer></script>
|
||||||
|
<script src="/static/js/particles.min.js"></script>
|
||||||
|
<script>
|
||||||
|
/* particlesJS.load(@dom-id, @path-json, @callback (optional)); */
|
||||||
|
particlesJS.load('particles-js', '/static/js/particlesjs-config.json', function() {
|
||||||
|
console.log('callback - particles.js config loaded');
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -27,15 +27,18 @@
|
||||||
|
|
||||||
<!-- Star Background Divs -->
|
<!-- Star Background Divs -->
|
||||||
<div id="star-background">
|
<div id="star-background">
|
||||||
<div id="stars"></div>
|
<div id="particles-js"></div>
|
||||||
<div id="stars2"></div>
|
<noscript>
|
||||||
<div id="stars3"></div>
|
<div id="stars"></div>
|
||||||
|
<div id="stars2"></div>
|
||||||
|
<div id="stars3"></div>
|
||||||
|
</noscript>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Top Floater Footer -->
|
<!-- Top Floater Footer
|
||||||
<div style="background-color: red; color: white; text-align: center; padding: 10px 0; position: fixed; top: 0; width: 100%; z-index: 1000;">
|
<div style="background-color: red; color: white; text-align: center; padding: 10px 0; position: fixed; top: 0; width: 100%; z-index: 1000;">
|
||||||
🚧👷♂️ This site is under construction! Please check back later. 👷♀️🚧
|
🚧👷♂️ This site is under construction! Please check back later. 👷♀️🚧
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<!-- Wrapper -->
|
<!-- Wrapper -->
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
|
@ -116,6 +119,13 @@
|
||||||
<script src="/static/js/breakpoints.min.js" defer></script>
|
<script src="/static/js/breakpoints.min.js" defer></script>
|
||||||
<script src="/static/js/util.js" defer></script>
|
<script src="/static/js/util.js" defer></script>
|
||||||
<script src="/static/js/main.js" defer></script>
|
<script src="/static/js/main.js" defer></script>
|
||||||
|
<script src="/static/js/particles.min.js"></script>
|
||||||
|
<script>
|
||||||
|
/* particlesJS.load(@dom-id, @path-json, @callback (optional)); */
|
||||||
|
particlesJS.load('particles-js', '/static/js/particlesjs-config.json', function() {
|
||||||
|
console.log('callback - particles.js config loaded');
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue