Skip to content

Commit ff5f98d

Browse files
authored
Update style.css
1 parent 6447668 commit ff5f98d

File tree

1 file changed

+65
-29
lines changed

1 file changed

+65
-29
lines changed

style.css

Lines changed: 65 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,84 @@ body {
22
margin: 0;
33
padding: 0;
44
background: transparent;
5-
font-family: Arial, sans-serif;
5+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
6+
color: #FFFFFF;
7+
overflow: hidden;
68
}
79

8-
.overlay {
9-
background-color: rgba(128, 128, 128, 0.8); /* Gray semi-transparent */
10-
color: #000000; /* Black text */
11-
padding: 20px;
12-
border-radius: 10px;
13-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
14-
width: 360px;
15-
text-align: left;
10+
.overlay-container {
11+
position: absolute;
12+
top: 0;
13+
left: 0;
14+
width: 100%;
15+
height: 100%;
16+
pointer-events: none;
1617
}
1718

18-
h1 {
19-
font-size: 20px;
20-
margin-bottom: 15px;
21-
color: #FFFFFF; /* White for accent */
22-
text-align: center;
19+
.overlay-top-left, .overlay-top-right, .overlay-bottom-left, .overlay-bottom-right, .overlay-center {
20+
position: absolute;
21+
background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
22+
padding: 15px;
23+
border-radius: 8px;
24+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
25+
transition: opacity 0.3s ease-in-out;
26+
opacity: 0.9;
2327
}
2428

25-
.stats {
26-
display: grid;
27-
grid-template-columns: 1fr;
28-
gap: 10px;
29+
.overlay-top-left {
30+
top: 20px;
31+
left: 20px;
32+
width: 250px;
2933
}
3034

31-
.stat {
32-
display: flex;
33-
justify-content: space-between;
34-
align-items: center;
35-
background-color: rgba(0, 0, 0, 0.2); /* Darker gray for stats */
36-
padding: 8px;
37-
border-radius: 5px;
38-
color: #FFFFFF; /* White text for stats */
35+
.overlay-top-right {
36+
top: 20px;
37+
right: 20px;
38+
width: 250px;
3939
}
4040

41-
label {
42-
font-weight: bold;
41+
.overlay-bottom-left {
42+
bottom: 20px;
43+
left: 20px;
44+
width: 250px;
45+
}
46+
47+
.overlay-bottom-right {
48+
bottom: 20px;
49+
right: 20px;
50+
width: 250px;
51+
}
52+
53+
.overlay-center {
54+
top: 50%;
55+
left: 50%;
56+
transform: translate(-50%, -50%);
57+
text-align: center;
58+
width: 400px;
59+
background-color: rgba(128, 128, 128, 0.8); /* Gray */
60+
}
61+
62+
h1 {
63+
font-size: 24px;
64+
margin-bottom: 20px;
4365
color: #FFFFFF;
66+
text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
67+
}
68+
69+
h2 {
70+
font-size: 18px;
71+
margin-bottom: 10px;
72+
color: #D3D3D3; /* Light gray */
4473
}
4574

46-
span {
75+
p {
4776
font-size: 14px;
77+
margin: 5px 0;
4878
color: #FFFFFF;
4979
}
80+
81+
canvas {
82+
margin: 10px 0;
83+
background-color: rgba(0, 0, 0, 0.3);
84+
border-radius: 5px;
85+
}

0 commit comments

Comments
 (0)