-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
160 lines (137 loc) · 2.83 KB
/
index.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
155
156
157
158
159
160
#visu {
/* position: relative; */
width: 100%;
height: 100%;
overflow: hidden;
/* background-color: black; */
margin: 0;
color: #ffafe5;
cursor: auto;
}
canvas {
position: absolute;
/* z-index: -1; */
top: 0;
left: 0;
image-rendering: optimizeSpeed;
image-rendering: -moz-crisp-edges;
image-rendering: -webkit-optimize-contrast;
image-rendering: optimize-contrast;
-ms-interpolation-mode: nearest-neighbor;
}
#visualizer {
z-index: -1;
/* opacity: 0.5; */
}
#particles {
z-index: -2;
opacity: 0.7;
}
#controls {
display: inline-block;
position: fixed;
padding: 1em;
}
.background {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.filter {
z-index: -5;
}
.brightnessFilter {
position: absolute;
top: 0;
height: 100%;
overflow: visible;
z-index: -5;
}
#newBrightnessFilter {
filter: brightness(0.77);
/*background: radial-gradient(ellipse at 70%, transparent 60%, #fff);
opacity: 0;*/
}
#brightnessFilterLeft {
background: radial-gradient(ellipse at 35%, #fff 1%, transparent 70%, transparent);
left: -22%;
width: 44%;
opacity: 0;
}
#brightnessFilterRight {
right: -22%;
width: 44%;
opacity: 0;
background: radial-gradient(ellipse at 65%, #fff 1%, transparent 70%, transparent);
}
#background {
background-image: url("https://raw.githubusercontent.com/yadPe/yadpe.github.io/visualizer/src/components/pages/audiovisualizer/bg2.jpg");
/*background-image: url("https://i.ytimg.com/vi/CJe0rWOP4fE/maxresdefault.jpg");*/
/*background: #3f3f3f;*/
background-position: center;
background-size: cover;
/* opacity: 0.35; */
z-index: -10;
transform: scale(1.0);
}
#blurFilter {
filter: blur(0px);
}
#saturateFilter {
filter: saturate(1);
background: linear-gradient(to top, #fff -65%, transparent 37%, transparent);
}
img {
display: none;
}
#player {
position: fixed;
max-width: 30%;
transform-origin: 50%;
bottom: 1%;
margin: 0 auto;
align-items: center;
opacity: 0.5;
transition-property: all;
transition-duration: 500ms;
cursor: auto;
}
#player:hover {
opacity: 0.78;
}
.aplayer-bar-wrap:hover {
opacity: 1 !important;
}
#vidtop-content {
top: 0;
color: #fff;
user-select: none;
}
.vid-info {
position: absolute;
top: 0;
right: 0;
width: 33%;
background: rgba(0, 0, 0, 0.3);
color: #fff;
padding: 1rem;
font-family: Avenir, Helvetica, sans-serif;
}
.vid-info h1 {
font-size: 2rem;
font-weight: 700;
margin-top: 0;
line-height: 1.2;
}
.vid-info a {
display: block;
color: #fff;
text-decoration: none;
background: rgba(0, 0, 0, 0.5);
transition: .6s background;
border-bottom: none;
margin: 1rem auto;
text-align: center;
}