-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeauty.css
114 lines (102 loc) · 2.24 KB
/
beauty.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
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,[email protected],400;10..48,800&display=swap');
* {
box-sizing: border-box;
}
body {
padding: 1rem;
margin: 0;
background-color: rgb(38, 34, 76);
color: whitesmoke;
font-family: 'Bricolage Grotesque', sans-serif;
font-size: 1.5rem;
font-weight: 800;
line-height: 1.4;
word-spacing: 1px;
}
/* utility classes */
.blur {
filter: opacity(0.1);
}
.removed {
display: none;
}
.description {
max-width: 900px;
}
.special-text {
background-color: #4158D0;
padding: 2px;
background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
}
div#root {
transition: opacity 250ms ease-in-out;
}
#webcam-btn {
padding: 0.25rem 1rem;
border-radius: 99999px;
font-family: 'Bricolage Grotesque', sans-serif;
font-size: 1.2rem;
font-weight: 400;
cursor: pointer;
box-shadow: 6px 6px 5px 1px rgb(9, 51, 218);
transition: transform 0.25s ease-in-out;
height: 45px;
}
#webcam-btn:hover {
box-shadow: 10px 10px 5px 1px rgb(9, 51, 218);
transform: translate(-5px, -5px);
}
#webcam {
width: 600px;
aspect-ratio: 1/1;
}
video {
display: block;
}
.camView {
position: relative;
float: left;
width: calc(100% - 20px);
margin: 10px;
}
.camView p {
position: absolute;
padding: 5px;
background-color: rgba(255, 111, 0, 0.85);
color: #FFF;
border: 1px dashed rgba(255, 255, 255, 0.7);
z-index: 2;
font-size: 12px;
}
.highlighter {
background: rgba(163, 225, 29, 0.25);
border: 1px dashed #fff;
z-index: 1;
position: absolute;
}
/* loader */
.loader-wrapper {
display: flex;
justify-content: center;
width: 100%;
margin-top: 10rem;
}
.loader-wrapper img {
height: 100%;
width: 250px;
aspect-ratio: 1/1;
transform: rotate(0);
transform-origin: center;
transition: transform 0.25s cubic-bezier(0.6, -0.28, 0.735, 0.045);
animation: rotate 2.5s infinite;
}
@keyframes rotate {
0%{transform: rotate(0);}
25%{transform: rotate(600deg);}
50%{transform: rotate(0);}
75%{transform: rotate(140deg);}
100%{transform: rotate(0);}
}
.loader-wrapper.removed {
display: none;
}