-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
102 lines (87 loc) · 2.05 KB
/
style.css
File metadata and controls
102 lines (87 loc) · 2.05 KB
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
@import url("https://fonts.googleapis.com/css2?family=Lobster&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
--textColor: hsla(242, 86%, 88%, 1);
--textColorDark: hsla(242, 36%, 0%, 1);
--paperColor: hsla(242, 86%, 44%, 1);
--paperColorDark: hsla(242, 86%, 34%, 1);
--shadowColorFaint: hsla(0, 0%, 0%, 0.2);
}
::selected {
color: var(--textColorDark);
}
html,
body {
margin: 0;
padding: 0;
overflow: hidden;
height: 100vh;
width: 100vw;
background: linear-gradient(135deg, var(--bgColor), var(--bgColorLight));
background: url(https://cdn.svgator.com/images/2022/06/use-svg-as-background-image-particle-strokes.svg);
color: var(--textColor);
font-family: poppins, sans-serif;
position: relative;
}
* {
box-sizing: border-box;
transition: all 0.12s cubic-bezier(0.42, 0.54, 0.22, 1.26);
}
#canvas {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
audio {
position: fixed;
bottom: 10px;
width: calc(50% - 20px);
left: 25%;
}
audio.active {
bottom: 10px;
}
#thefile {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: 1;
}
label.file {
display: inline-block;
position: absolute;
left: 50%;
top: 50%;
transform: translate3d(-50%, -50%, 0);
padding: 0.5rem 1.7rem;
border-radius: 4px;
background: var(--paperColor);
color: var(--textColor);
font-size: 1.2em;
font-weight: 700;
box-shadow: 0 20px 60px var(--shadowColorFaint);
cursor: pointer;
}
label.file:hover {
background: var(--paperColorDark);
transform: translate3d(-50%, -55%, 0);
}
label.file:active {
background: var(--paperColorDark);
transform: translate3d(-50%, -45%, 0);
}
label.file.normal {
transform: translate3d(10%, 50%, 0);
padding: 0.2rem 2rem;
font-size: 1rem;
top: 0;
left: 0;
}
footer {
color: white;
opacity: 0.3;
font-size: 15px;
}