|
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes"> |
6 | | - <title>CLINE CLASSIC TV | ENDLESS 4:3 EDITION</title> |
| 6 | + <title>CLINE CLASSIC TV | ENDLESS WIDESCREEN V166</title> |
7 | 7 | <style> |
8 | 8 | body { |
9 | | - background: #020202; |
| 9 | + background: #0a0a0a; |
10 | 10 | margin: 0; |
11 | 11 | padding: 0; |
12 | 12 | overflow: hidden; |
|
20 | 20 | } |
21 | 21 |
|
22 | 22 | #cabinet { |
23 | | - width: min(95vw, 1000px); |
24 | | - /* Very dark, flat wood to eliminate glare */ |
25 | | - background: #160e0a; |
26 | | - border: 20px solid #0a0503; |
27 | | - border-radius: 20px; |
28 | | - box-shadow: 0 40px 80px #000; |
| 23 | + width: min(96vw, 1200px); |
| 24 | + height: min(92vh, 900px); |
| 25 | + max-width: 100%; |
| 26 | + max-height: 100%; |
| 27 | + background: #0f0f0f; /* Restored dark gray-black */ |
| 28 | + border: clamp(18px, 4vw, 28px) solid #0a0a0a; |
| 29 | + border-radius: 28px; |
| 30 | + box-shadow: 0 60px 100px #000, inset 0 0 140px #000; |
29 | 31 | display: flex; |
30 | 32 | flex-direction: column; |
31 | | - padding: 30px; |
| 33 | + padding: clamp(20px, 5vw, 50px) clamp(30px, 6vw, 80px); |
| 34 | + position: relative; |
| 35 | + overflow: hidden; |
32 | 36 | box-sizing: border-box; |
33 | | - align-items: center; |
| 37 | + justify-content: center; |
34 | 38 | } |
35 | 39 |
|
36 | | - /* Enforcing the classic 4:3 Square Aspect Ratio */ |
37 | 40 | .glass-tube { |
38 | 41 | width: 100%; |
39 | | - max-width: 800px; |
40 | | - aspect-ratio: 4 / 3; |
| 42 | + height: clamp(50%, 65vh, 75%); /* Restored original flexible ratio */ |
41 | 43 | background: #000; |
42 | | - border-radius: 30px; |
| 44 | + border-radius: 14px; |
43 | 45 | overflow: hidden; |
44 | | - border: 15px solid #0d0d0d; |
45 | | - box-shadow: inset 0 0 40px rgba(0,0,0,0.9), 0 0 30px #000; |
| 46 | + border: clamp(14px, 3vw, 22px) solid #1c1c1c; |
| 47 | + box-shadow: inset 0 0 90px #000, 0 0 50px #000; |
46 | 48 | display: flex; |
47 | 49 | align-items: center; |
48 | 50 | justify-content: center; |
|
58 | 60 |
|
59 | 61 | .control-panel { |
60 | 62 | width: 100%; |
61 | | - max-width: 800px; |
62 | | - margin-top: 25px; |
| 63 | + margin-top: clamp(15px, 4vh, 30px); |
63 | 64 | background: #111; |
64 | 65 | border: 4px solid #050505; |
65 | 66 | border-radius: 10px; |
66 | | - padding: 15px 30px; |
| 67 | + padding: clamp(10px, 2vw, 20px) clamp(15px, 4vw, 30px); |
67 | 68 | display: flex; |
68 | 69 | align-items: center; |
69 | 70 | justify-content: space-between; |
70 | 71 | box-sizing: border-box; |
| 72 | + box-shadow: inset 0 0 20px #000; |
71 | 73 | } |
72 | 74 |
|
73 | 75 | .info-display { |
74 | 76 | color: #7aff7a; |
75 | | - font-size: 14px; |
| 77 | + font-size: clamp(12px, 3vw, 18px); |
76 | 78 | font-weight: bold; |
77 | 79 | text-transform: uppercase; |
78 | 80 | text-shadow: 0 0 5px #00ff00; |
79 | | - width: 40%; |
| 81 | + width: 50%; |
80 | 82 | white-space: nowrap; |
81 | 83 | overflow: hidden; |
82 | 84 | text-overflow: ellipsis; |
| 85 | + text-align: center; |
83 | 86 | } |
84 | 87 |
|
85 | 88 | .knob { |
86 | | - width: 50px; |
87 | | - height: 50px; |
| 89 | + width: clamp(40px, 10vw, 60px); |
| 90 | + height: clamp(40px, 10vw, 60px); |
88 | 91 | background: #222; |
89 | 92 | border: 4px solid #050505; |
90 | 93 | border-radius: 50%; |
|
95 | 98 | justify-content: center; |
96 | 99 | color: #555; |
97 | 100 | font-weight: bold; |
| 101 | + font-size: clamp(12px, 3vw, 16px); |
98 | 102 | user-select: none; |
| 103 | + transition: transform 0.1s; |
99 | 104 | } |
100 | 105 |
|
101 | 106 | .knob:active { |
|
110 | 115 | } |
111 | 116 |
|
112 | 117 | .volume-slider { |
113 | | - width: 120px; |
| 118 | + width: clamp(60px, 15vw, 120px); |
114 | 119 | height: 6px; |
115 | 120 | background: #333; |
116 | 121 | border-radius: 3px; |
|
120 | 125 |
|
121 | 126 | .fs-toggle { |
122 | 127 | position: absolute; |
123 | | - top: 20px; |
124 | | - left: 20px; |
| 128 | + top: clamp(15px, 4vw, 25px); |
| 129 | + left: clamp(15px, 4vw, 25px); |
125 | 130 | background: #111; |
126 | | - color: #555; |
| 131 | + color: #7aff7a; |
127 | 132 | border: 1px solid #333; |
128 | | - padding: 8px 12px; |
| 133 | + padding: clamp(8px, 2vw, 10px) clamp(12px, 3vw, 16px); |
129 | 134 | cursor: pointer; |
130 | | - font-size: 10px; |
| 135 | + font-size: clamp(9px, 2.5vw, 10px); |
131 | 136 | font-weight: bold; |
132 | | - border-radius: 5px; |
| 137 | + border-radius: 8px; |
133 | 138 | } |
134 | 139 |
|
135 | 140 | .fs-toggle:hover { color: #fff; border-color: #666; } |
|
270 | 275 | } |
271 | 276 |
|
272 | 277 | window.onload = () => { |
273 | | - // Optional: Shuffle the playlist so it's different every time you load the page |
274 | | - // playlist.sort(() => Math.random() - 0.5); |
275 | 278 | loadAndPlay(); |
276 | 279 | }; |
277 | 280 |
|
|
0 commit comments