-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
147 lines (126 loc) · 2.16 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
body {
display: flex;
flex-flow: column nowrap;
height: 100vh;
overflow: hidden;
background: #fff;
}
.visualizer {
--height: 10px;
flex: 0 0 var(--height);
--inactive: #cdcdcd;
background: var(--inactive);
position: relative;
z-index: 1;
display: flex;
}
.effect {
position: absolute;
height: calc(50vh - var(--height));
width: 100%;
--break-1: rgb(0 0 0 / 0.3);
--break-2: rgb(0 0 0 / 0.1) 30px;
/* --break-3: transparent; */
display: flex;
}
.note {
flex: 1 1 auto;
}
.effect.below {
top: 100%;
mask-image: linear-gradient(
to bottom,
var(--break-1),
var(--break-2) /* var(--break-3) */
);
}
.effect.above {
bottom: 100%;
mask-image: linear-gradient(
to top,
var(--break-1),
var(--break-2) /* var(--break-3) */
);
}
.swiper {
flex: 1 1 auto;
overflow: hidden;
width: 100%;
z-index: 0;
}
.group {
display: flex;
width: min-content;
}
.group:not(.swiper-slide-active) {
opacity: 0.3;
}
.page {
display: grid;
align-items: center;
}
.page > * {
grid-area: 1 / 1;
}
.overlay {
display: flex;
align-items: center;
justify-content: center;
background: rgb(255 255 255 / 0.7);
backdrop-filter: blur(3px);
}
.welcome {
display: flex;
flex-flow: column nowrap;
align-items: center;
justify-content: center;
width: 100%;
padding: 1rem;
}
.info {
text-transform: uppercase;
}
.info.level-1 {
font-size: 2rem;
font-weight: bold;
}
.info.level-2 {
font-size: 1rem;
}
#upload {
text-decoration: underline dotted;
color: var(--swiper-theme-color, blue);
transition: filter 0.3s ease-in-out;
}
#upload:hover {
filter: brightness(0.7);
}
#input {
display: none;
}
/* Imported from loading.io */
.spinner {
display: inline-block;
width: 80px;
height: 80px;
}
.spinner:after {
content: ' ';
display: block;
width: 64px;
height: 64px;
margin: 8px;
border-radius: 50%;
--color: rgb(0 0 0 / 0.2);
border: 6px solid var(--color);
border-color: var(--color) transparent var(--color) transparent;
animation: spinner 1.2s linear infinite;
}
@keyframes spinner {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}