-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
154 lines (132 loc) · 4.31 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
/* Just for the icon in the navbar. */
.bi-nav {
fill: currentcolor;
height: 1em;
width: 1em;
}
.active .bi-nav {
display: block!important;
}
/* Start of the fbgdbg div. Be careful when touching the value--they are delicate! */
:root {
--blue-grad: radial-gradient(50% 50% at 50% 50%, rgba(24, 119, 242, .3) 0, rgba(24, 119, 242, 0) 50%), radial-gradient(50% 50% at 50% 50%, rgba(24, 119, 242, .5) 0, rgba(24, 119, 242, 0) 75%), radial-gradient(50% 50% at 50% 50%, rgba(24, 119, 242, .8) 0, rgba(24, 119, 242, 0) 100%);
--green-grad: radial-gradient(50% 50% at 50% 50%, rgba(37, 211, 102, .3) 0, rgba(37, 211, 102, 0) 50%), radial-gradient(50% 50% at 50% 50%, rgba(37, 211, 102, .5) 0, rgba(37, 211, 102, 0) 75%), radial-gradient(50% 50% at 50% 50%, rgba(37, 211, 102, .8) 0, rgba(37, 211, 102, 0) 100%);
--yellow-grad: radial-gradient(50% 50% at 50% 50%, rgba(245, 206, 51, .3) 0, rgba(245, 206, 51, 0) 50%), radial-gradient(50% 50% at 50% 50%, rgba(245, 206, 51, .5) 0, rgba(245, 206, 51, 0) 75%), radial-gradient(50% 50% at 50% 50%, rgba(245, 206, 51, .8) 0, rgba(245, 206, 51, 0) 100%);
--red-grad: radial-gradient(50% 50% at 50% 50%, rgba(255, 108, 92, .3) 0, rgba(255, 108, 92, 0) 50%), radial-gradient(50% 50% at 50% 50%, rgba(255, 108, 92, .5) 0, rgba(255, 108, 92, 0) 75%), radial-gradient(50% 50% at 50% 50%, rgba(255, 108, 92, .8) 0, rgba(255, 108, 92, 0) 100%);
--purple-grad: radial-gradient(50% 50% at 50% 50%, rgba(160, 51, 255, .3) 0, rgba(160, 51, 255, 0) 50%), radial-gradient(50% 50% at 50% 50%, rgba(160, 51, 255, .5) 0, rgba(160, 51, 255, 0) 75%), radial-gradient(50% 50% at 50% 50%, rgba(160, 51, 255, .8) 0, rgba(160, 51, 255, 0) 100%);
}
.fbgdbg {
z-index: -1;
width: 100%;
/* height: 100%; */
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
padding-bottom: 300%;
width: 300%;
/* opacity: 0.08; original value */
opacity: 0.2; /* Any value you like. Or set to '1',
but make sure the text contrast ratio is sufficient. */
}
.blue-gradient {
position: inherit;
background-image: var(--blue-grad);
bottom: 10%;
left: 0;
right: 0;
top: 26%;
}
.blue-gradient-bottom {
position: inherit;
background-image: var(--blue-grad);
bottom: 0;
left: 0;
right: 24.38%;
top: 51.52%;
}
.green-gradient {
position: inherit;
background-image: var(--green-grad);
bottom: 44%;
left: 17%;
right: 17%;
top: 13.7%;
}
.yellow-gradient {
position: inherit;
background-image: var(--yellow-grad);
/* bottom: 66.41%; original value. */
/* Since position is set to 'fixed'
you cannot see it. 'absolute' can see it
but there are some side effects, notably the
webpage is not responsive to the screen size (overflow). */
bottom: 33.2%;
/* divided by 2 to have subtle yellow color.
The lower the value, the more it can be seen. */
left: 36.88%;
right: 19.69%;
top: 5.73%;
}
.red-gradient {
position: inherit;
background-image: var(--red-grad);
bottom: 45.27%;
left: 37.78%;
right: 4.9%;
top: 17.96%;
}
.purple-gradient {
position: inherit;
background-image: var(--purple-grad);
bottom: 38.4%;
left: 45.99%;
right: 1.86%;
top: 28.59%;
}
/* Animated part. Feel free to change them as much as you want. */
.green-gradient-animation {
animation-name: gga;
animation-duration: 40s;
animation-iteration-count: infinite
}
@keyframes gga {
50%, 100% {
transform: none
}
75% {
transform: translateY(36%)
}
}
.blue-gradient-bottom-animation {
animation-name: bgba;
animation-duration: 80s;
animation-iteration-count: infinite
}
@keyframes bgba {
0%, 50% {
transform: none
}
25% {
transform: translate(16%, -53%)
}
}
.purple-gradient-animation {
animation-name: pga;
animation-duration: 120s;
animation-iteration-count: infinite
}
@keyframes pga {
0%, 100% {
opacity: 1;
transform: none
}
25%,75% {
opacity: .5;
transform: none
}
50% {
opacity: .5;
transform: translate(-42%, 15%)
}
}