-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
99 lines (89 loc) · 1.75 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
95
96
97
98
99
/* Global Styles */
body {
font-family: 'Arial', sans-serif;
margin: 0;
background: linear-gradient(to bottom right, #f7d9e1, #fef1e6);
background-repeat: no-repeat, repeat;
background-position: 150% 205%;
background-image: url(hotdog.png);
color: #333;
text-align: center;
overflow: hidden;
}
/* Header */
header {
background-color: #ff8c42;
color: #fff;
padding: 1rem 0;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
font-size: 1.5rem;
}
/* Main Content */
main {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
}
/* Video Container */
#video-container {
position: relative;
width: 640px;
height: 480px;
border: 10px solid #ff8c42;
border-radius: 10px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
overflow: hidden;
margin: 20px auto;
}
#webcam, #overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#webcam {
z-index: 1;
border-radius: 10px;
}
#overlay {
z-index: 2;
pointer-events: none;
}
/* Status */
#status-container {
margin-top: 20px;
padding: 15px 30px;
background-color: #fff;
border: 2px solid #ff8c42;
border-radius: 50px;
font-size: 1.2rem;
font-weight: bold;
display: inline-block;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* Footer */
footer {
margin-top: 20px;
padding: 10px;
background-color: #ff8c42;
color: #fff;
font-size: 0.9rem;
box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}
/* Animations */
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
}
#status-container {
animation: pulse 1.5s infinite;
}