-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
118 lines (103 loc) · 2.1 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
/* Made by RoCord */
:root{
--bgColor : hsla(242, 86%, 6%, 1);
--bgColorLight : hsla(242, 86%, 24%, 1);
--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);
--darkfscrn: hsla(0, 2%, 78%, 1);
}
::selected{
color: var(--textColorDark);
}
html, body{
margin: 0;
padding: 0;
overflow: hidden;
height: 100vh;
width: 100vw;
background: var(--bgColor);
background: linear-gradient(135deg, var(--bgColor), var(--bgColorLight));
color: var(--textColor);
font-family: 'Saira', 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;
left: 10px;
bottom: -10px;
width: calc(100% - 20px);
}
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: 1rem 2rem;
border-radius: 4px;
background: var(--paperColor);
color: var(--textColor);
font-size: 1.25em;
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;
}
.button {
background-color: #635e5e /* Green */
border: none;
color: black;
position:fixed; left:250px; top:15px;
padding: 1px 32px;
text-decoration: none;
text-align: top;
display: inline-block;
font-size: 16px;
font-family: 'Saira', sans-serif;
cursor: pointer;
}
.button:hover{
background: var(--darkfscrn);
}
.hidden{
visibility: hidden;
}