|
2 | 2 | margin: 0; |
3 | 3 | padding: 0; |
4 | 4 | background: transparent; |
5 | | - font-family: Arial, sans-serif; |
| 5 | + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; |
| 6 | + color: #FFFFFF; |
| 7 | + overflow: hidden; |
6 | 8 | } |
7 | 9 |
|
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; |
16 | 17 | } |
17 | 18 |
|
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; |
23 | 27 | } |
24 | 28 |
|
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; |
29 | 33 | } |
30 | 34 |
|
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; |
39 | 39 | } |
40 | 40 |
|
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; |
43 | 65 | 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 */ |
44 | 73 | } |
45 | 74 |
|
46 | | -span { |
| 75 | +p { |
47 | 76 | font-size: 14px; |
| 77 | + margin: 5px 0; |
48 | 78 | color: #FFFFFF; |
49 | 79 | } |
| 80 | + |
| 81 | +canvas { |
| 82 | + margin: 10px 0; |
| 83 | + background-color: rgba(0, 0, 0, 0.3); |
| 84 | + border-radius: 5px; |
| 85 | +} |
0 commit comments