Skip to content

Commit 223fcb9

Browse files
committed
Uploaded /assets/styles/rising-particles/
1 parent 3a52ce8 commit 223fcb9

11 files changed

Lines changed: 417 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# 🏛️ MIT License
2+
3+
**Copyright © 2014–2024 [sarazond](https://github.com/sarazond)**
4+
**Copyright © 2024–2026 [Adam Lui](https://github.com/adamlui)**
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7+
8+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9+
10+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

assets/styles/rising-particles/dist/black.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/styles/rising-particles/dist/blue.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/styles/rising-particles/dist/gray.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/styles/rising-particles/dist/rainbow.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/styles/rising-particles/dist/white.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/* * . * . * * .
2+
. * Add rising black particles background using IDs
3+
* . . . * . . *
4+
. * © 2014–2024 sarazond © 2024–2025 Adam Lui
5+
* . * . * . * . */
6+
7+
@use "sass:math";
8+
@use "sass:string";
9+
10+
@function multiple-box-shadow($n) {
11+
$value: "#{math.random(2000)}px #{math.random(2000)}px #332f2f";
12+
@for $i from 2 through $n {
13+
$value: "#{$value}, #{math.random(2000)}px #{math.random(2000)}px #332f2f";
14+
}
15+
@return string.unquote($value);
16+
}
17+
18+
$shadows-sm: multiple-box-shadow(700);
19+
$shadows-med: multiple-box-shadow(200);
20+
$shadows-lg: multiple-box-shadow(100);
21+
22+
#black-particles-sm {
23+
width: 1px;
24+
height: 1px;
25+
background: transparent;
26+
box-shadow: $shadows-sm;
27+
animation: animate-particle 83s linear infinite;
28+
29+
&:after {
30+
content: " ";
31+
position: absolute;
32+
top: 2000px;
33+
width: 1px;
34+
height: 1px;
35+
background: transparent;
36+
box-shadow: $shadows-sm;
37+
}
38+
}
39+
40+
#black-particles-med {
41+
width: 2px;
42+
height: 2px;
43+
background: transparent;
44+
box-shadow: $shadows-med;
45+
animation: animate-particle 167s linear infinite;
46+
47+
&:after {
48+
content: " ";
49+
position: absolute;
50+
top: 2000px;
51+
width: 2px;
52+
height: 2px;
53+
background: transparent;
54+
box-shadow: $shadows-med;
55+
}
56+
}
57+
58+
#black-particles-lg {
59+
width: 3px;
60+
height: 3px;
61+
border-radius: 3px;
62+
background: transparent;
63+
box-shadow: $shadows-lg;
64+
animation: animate-particle 250s linear infinite;
65+
66+
&:after {
67+
content: " ";
68+
position: absolute;
69+
top: 2000px;
70+
width: 3px;
71+
height: 3px;
72+
background: transparent;
73+
box-shadow: $shadows-lg;
74+
}
75+
}
76+
77+
@keyframes animate-particle {
78+
from { transform: translateY(0px); } to { transform: translateY(-2000px); }
79+
}
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/* * . * . * * .
2+
. * Add rising blue particles background using IDs
3+
* . . . * . . *
4+
. * © 2014–2024 sarazond © 2024–2025 Adam Lui
5+
* . * . * . * . */
6+
7+
@use "sass:math";
8+
@use "sass:string";
9+
10+
@function multiple-box-shadow($n) {
11+
$value: "#{math.random(2000)}px #{math.random(2000)}px #add8e6";
12+
@for $i from 2 through $n {
13+
$value: "#{$value}, #{math.random(2000)}px #{math.random(2000)}px #add8e6";
14+
}
15+
@return string.unquote($value);
16+
}
17+
18+
$shadows-sm: multiple-box-shadow(700);
19+
$shadows-med: multiple-box-shadow(200);
20+
$shadows-lg: multiple-box-shadow(100);
21+
22+
#blue-particles-sm {
23+
width: 1px;
24+
height: 1px;
25+
background: transparent;
26+
box-shadow: $shadows-sm;
27+
animation: animate-particle 83s linear infinite;
28+
29+
&:after {
30+
content: " ";
31+
position: absolute;
32+
top: 2000px;
33+
width: 1px;
34+
height: 1px;
35+
background: transparent;
36+
box-shadow: $shadows-sm;
37+
}
38+
}
39+
40+
#blue-particles-med {
41+
width: 2px;
42+
height: 2px;
43+
background: transparent;
44+
box-shadow: $shadows-med;
45+
animation: animate-particle 167s linear infinite;
46+
47+
&:after {
48+
content: " ";
49+
position: absolute;
50+
top: 2000px;
51+
width: 2px;
52+
height: 2px;
53+
background: transparent;
54+
box-shadow: $shadows-med;
55+
}
56+
}
57+
58+
#blue-particles-lg {
59+
width: 3px;
60+
height: 3px;
61+
border-radius: 3px;
62+
background: transparent;
63+
box-shadow: $shadows-lg;
64+
animation: animate-particle 250s linear infinite;
65+
66+
&:after {
67+
content: " ";
68+
position: absolute;
69+
top: 2000px;
70+
width: 3px;
71+
height: 3px;
72+
background: transparent;
73+
box-shadow: $shadows-lg;
74+
}
75+
}
76+
77+
@keyframes animate-particle {
78+
from { transform: translateY(0px); } to { transform: translateY(-2000px); }
79+
}
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/* * . * . * * .
2+
. * Add rising gray particles background using IDs
3+
* . . . * . . *
4+
. * © 2014–2024 sarazond © 2024–2025 Adam Lui
5+
* . * . * . * . */
6+
7+
@use "sass:math";
8+
@use "sass:string";
9+
10+
@function multiple-box-shadow($n) {
11+
$value: "#{math.random(2000)}px #{math.random(2000)}px #808080";
12+
@for $i from 2 through $n {
13+
$value: "#{$value}, #{math.random(2000)}px #{math.random(2000)}px #808080";
14+
}
15+
@return string.unquote($value);
16+
}
17+
18+
$shadows-sm: multiple-box-shadow(700);
19+
$shadows-med: multiple-box-shadow(200);
20+
$shadows-lg: multiple-box-shadow(100);
21+
22+
#gray-particles-sm {
23+
width: 1px;
24+
height: 1px;
25+
background: transparent;
26+
box-shadow: $shadows-sm;
27+
animation: animate-particle 83s linear infinite;
28+
29+
&:after {
30+
content: " ";
31+
position: absolute;
32+
top: 2000px;
33+
width: 1px;
34+
height: 1px;
35+
background: transparent;
36+
box-shadow: $shadows-sm;
37+
}
38+
}
39+
40+
#gray-particles-med {
41+
width: 2px;
42+
height: 2px;
43+
background: transparent;
44+
box-shadow: $shadows-med;
45+
animation: animate-particle 167s linear infinite;
46+
47+
&:after {
48+
content: " ";
49+
position: absolute;
50+
top: 2000px;
51+
width: 2px;
52+
height: 2px;
53+
background: transparent;
54+
box-shadow: $shadows-med;
55+
}
56+
}
57+
58+
#gray-particles-lg {
59+
width: 3px;
60+
height: 3px;
61+
border-radius: 3px;
62+
background: transparent;
63+
box-shadow: $shadows-lg;
64+
animation: animate-particle 250s linear infinite;
65+
66+
&:after {
67+
content: " ";
68+
position: absolute;
69+
top: 2000px;
70+
width: 3px;
71+
height: 3px;
72+
background: transparent;
73+
box-shadow: $shadows-lg;
74+
}
75+
}
76+
77+
@keyframes animate-particle {
78+
from { transform: translateY(0px); } to { transform: translateY(-2000px); }
79+
}
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
/* * . * . * * .
2+
. * Add rising rainbow particles background using IDs
3+
* . . . * . . *
4+
. * © 2014–2024 sarazond © 2024–2025 Adam Lui
5+
* . * . * . * . */
6+
7+
@use "sass:math";
8+
@use "sass:string";
9+
10+
@function random-color() {
11+
$red: math.random(255);
12+
$green: math.random(255);
13+
$blue: math.random(255);
14+
@return rgba($red, $green, $blue, 1);
15+
}
16+
17+
@function multiple-box-shadow($n) {
18+
$value: "#{math.random(2000)}px #{math.random(2000)}px #{random-color()}";
19+
@for $i from 2 through $n {
20+
$value: "#{$value}, #{math.random(2000)}px #{math.random(2000)}px #{random-color()}";
21+
}
22+
@return string.unquote($value);
23+
}
24+
25+
$shadows-sm: multiple-box-shadow(700);
26+
$shadows-med: multiple-box-shadow(200);
27+
$shadows-lg: multiple-box-shadow(100);
28+
29+
#rainbow-particles-sm {
30+
width: 1px;
31+
height: 1px;
32+
background: transparent;
33+
box-shadow: $shadows-sm;
34+
animation: animate-particle 83s linear infinite;
35+
36+
&:after {
37+
content: " ";
38+
position: absolute;
39+
top: 2000px;
40+
width: 1px;
41+
height: 1px;
42+
background: transparent;
43+
box-shadow: $shadows-sm;
44+
}
45+
}
46+
47+
#rainbow-particles-med {
48+
width: 2px;
49+
height: 2px;
50+
background: transparent;
51+
box-shadow: $shadows-med;
52+
animation: animate-particle 167s linear infinite;
53+
54+
&:after {
55+
content: " ";
56+
position: absolute;
57+
top: 2000px;
58+
width: 2px;
59+
height: 2px;
60+
background: transparent;
61+
box-shadow: $shadows-med;
62+
}
63+
}
64+
65+
#rainbow-particles-lg {
66+
width: 3px;
67+
height: 3px;
68+
border-radius: 3px;
69+
background: transparent;
70+
box-shadow: $shadows-lg;
71+
animation: animate-particle 250s linear infinite;
72+
73+
&:after {
74+
content: " ";
75+
position: absolute;
76+
top: 2000px;
77+
width: 3px;
78+
height: 3px;
79+
background: transparent;
80+
box-shadow: $shadows-lg;
81+
}
82+
}
83+
84+
@keyframes animate-particle {
85+
from { transform: translateY(0px); } to { transform: translateY(-2000px); }
86+
}

0 commit comments

Comments
 (0)