-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (107 loc) · 2.04 KB
/
Copy pathstyle.css
File metadata and controls
125 lines (107 loc) · 2.04 KB
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
body {
text-align: center;
background-color: #f0f7f0;
}
h1 {
font-size: 70px;
color: green;
font-family: 'Arial', sans-serif;
}
.position-test {
position: absolute;
top: 50px;
left: 50px;
}
.description {
color: grey;
font-size: 20px;
background-color: white;
padding: 20px 50px;
border: 2px solid green;
margin: 20px;
}
.button-container {
display: flex;
justify-content: center;
gap: 25px;
}
@media (max-width: 600px) {
.button-container {
flex-direction: column;
gap: 15px;
}
}
button {
width: 150px;
height: 50px;
font-size: 16px;
background-color: rgb(102, 171, 102);
border: 2px solid green;
border-radius: 5px;
}
button:hover {
background-color: rgb(76, 130, 76);
cursor: pointer;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
font-size: 18px;
}
/* Camera and snapshot layout */
.camera-container {
display: flex;
justify-content: center;
gap: 20px;
margin: 20px;
}
.camera {
width: 400px;
height: 300px;
max-width: 45%;
}
.snapshot {
width: 400px;
height: 300px;
border: 2px solid green;
}
.photo-button {
margin: 20px;
}
/* Make the camera and snapshot stack on smaller screens */
@media (max-width: 850px) {
.camera-container {
flex-direction: column;
align-items: center;
}
.camera,
.snapshot {
max-width: 90%;
}
}
.status-card {
display: none;
width: 400px;
max-width: 90%;
margin: 30px auto;
padding: 25px;
background-color: white;
border: 3px solid green;
border-radius: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}
.status-card h2 {
color: green;
font-size: 28px;
}
.status-card p {
font-size: 18px;
color: #444;
}
.result-item {
font-size: 22px;
font-weight: bold;
color: green;
}
.result-message {
margin-top: 15px;
line-height: 1.5;
}