forked from Ultimecia1463/GTM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
94 lines (87 loc) · 1.88 KB
/
styles.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
body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background-color: #f7f7f7; /* Light grey */
font-family: Arial, sans-serif;
font-size: 16px;
}
.container {
position: absolute;
top: 16px;
bottom: 16px;
left: 16px;
right: 400px;
border-radius: 6px;
background-color: #fff;
overflow: hidden;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}
.red-square {
width: 200px;
height: 200px;
background-color: #ff6666; /* Softer red color */
border-radius: 8px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}
button {
position: absolute;
background-color: #4CAF50;
color: #fff;
padding: 16px 32px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
top: calc(100% - 16px - 40px);
right: 16px;
width: 375px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}
button:hover {
background-color: #3e8e41;
}
#webcam-container {
position: absolute;
top: 16px;
right: 16px;
width: 375px;
height: 360px;
border-radius: 6px;
overflow: hidden;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
align-items: center; /* Add a subtle shadow */
}
#webcam-container canvas {
width: 100%;
height: 100%;
object-fit: cover;
}
#instructions {
position: absolute;
top: 387px;
right: 16px;
width: 340px;
height: 193px;
padding: 16px;
background-color:#fff;
border-radius: 6px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.595);
}
#instructions h2 {
margin-top: 0;
}
#instructions ul {
list-style: none;
padding: 0;
margin: 0;
}
#instructions strong {
font-weight: bold;
}