-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
125 lines (110 loc) · 1.81 KB
/
main.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
body {
margin: 0;
padding: 0;
}
#bg{
width: 100%;
position: absolute;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
#left{
margin: 0;
padding: 0;
position: absolute;
top: 0;
width: 5px;
height: 100%;
left: 0;
background-color: rgb(194, 194, 160);
border-radius: 0px 10px 10px 0;
z-index: 4;
}
#right{
margin: 0;
padding: 0;
position: absolute;
top: 0;
right: 0;
width: 5px;
height: 100%;
background-color: rgb(194, 194, 160);
border-radius: 10px 0px 0px 10px;
z-index: 4;
}
#left:hover{
width: 250px;
}
#right:hover{
width: 250px;
}
#img{
width: 100%;
height: auto;
}
#middle{
position: absolute;
z-index: 5;
width: 600px;
height: 300px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
#middle{
background: rgba( 255, 255, 255, 0.40 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 8px );
-webkit-backdrop-filter: blur( 20.0px );
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18 );
}
#file-input {
position: fixed;
top: 10px;
left: 10px;
z-index: 3;
}
#canvas {
position: fixed;
left: 5px;
top: 0;
width: calc(100% - 10px);
height: 50%;
/* backdrop-filter: blur( 3px ); */
}
#canvas2 {
position: fixed;
left: 5px;
bottom: 0;
width: calc(100% - 10px);
height: 50%;
/* backdrop-filter: blur( 3px ); */
}
audio {
margin-top: 45px;
width: calc(100% - 25px);
z-index: 3;
}
#name {
z-index: 3;
color: #0e0c0c;
font-family: monospace;
}
#background {
width: calc(100% - 10px);
height: 100%;
position: absolute;
top: 0;
left: 5px;
background-size: 100% 7px;
z-index: 1;
opacity: 0.3;
}
@keyframes bg {
0%{ background-position: 0 0; }
100%{ background-position: 8px 8px; }
}