Skip to content

Commit 31c8a84

Browse files
Update index.html for widescreen layout and styles
1 parent e4f5154 commit 31c8a84

1 file changed

Lines changed: 35 additions & 32 deletions

File tree

index.html

Lines changed: 35 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<head>
44
<meta charset="UTF-8">
55
<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>
77
<style>
88
body {
9-
background: #020202;
9+
background: #0a0a0a;
1010
margin: 0;
1111
padding: 0;
1212
overflow: hidden;
@@ -20,29 +20,31 @@
2020
}
2121

2222
#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;
2931
display: flex;
3032
flex-direction: column;
31-
padding: 30px;
33+
padding: clamp(20px, 5vw, 50px) clamp(30px, 6vw, 80px);
34+
position: relative;
35+
overflow: hidden;
3236
box-sizing: border-box;
33-
align-items: center;
37+
justify-content: center;
3438
}
3539

36-
/* Enforcing the classic 4:3 Square Aspect Ratio */
3740
.glass-tube {
3841
width: 100%;
39-
max-width: 800px;
40-
aspect-ratio: 4 / 3;
42+
height: clamp(50%, 65vh, 75%); /* Restored original flexible ratio */
4143
background: #000;
42-
border-radius: 30px;
44+
border-radius: 14px;
4345
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;
4648
display: flex;
4749
align-items: center;
4850
justify-content: center;
@@ -58,33 +60,34 @@
5860

5961
.control-panel {
6062
width: 100%;
61-
max-width: 800px;
62-
margin-top: 25px;
63+
margin-top: clamp(15px, 4vh, 30px);
6364
background: #111;
6465
border: 4px solid #050505;
6566
border-radius: 10px;
66-
padding: 15px 30px;
67+
padding: clamp(10px, 2vw, 20px) clamp(15px, 4vw, 30px);
6768
display: flex;
6869
align-items: center;
6970
justify-content: space-between;
7071
box-sizing: border-box;
72+
box-shadow: inset 0 0 20px #000;
7173
}
7274

7375
.info-display {
7476
color: #7aff7a;
75-
font-size: 14px;
77+
font-size: clamp(12px, 3vw, 18px);
7678
font-weight: bold;
7779
text-transform: uppercase;
7880
text-shadow: 0 0 5px #00ff00;
79-
width: 40%;
81+
width: 50%;
8082
white-space: nowrap;
8183
overflow: hidden;
8284
text-overflow: ellipsis;
85+
text-align: center;
8386
}
8487

8588
.knob {
86-
width: 50px;
87-
height: 50px;
89+
width: clamp(40px, 10vw, 60px);
90+
height: clamp(40px, 10vw, 60px);
8891
background: #222;
8992
border: 4px solid #050505;
9093
border-radius: 50%;
@@ -95,7 +98,9 @@
9598
justify-content: center;
9699
color: #555;
97100
font-weight: bold;
101+
font-size: clamp(12px, 3vw, 16px);
98102
user-select: none;
103+
transition: transform 0.1s;
99104
}
100105

101106
.knob:active {
@@ -110,7 +115,7 @@
110115
}
111116

112117
.volume-slider {
113-
width: 120px;
118+
width: clamp(60px, 15vw, 120px);
114119
height: 6px;
115120
background: #333;
116121
border-radius: 3px;
@@ -120,16 +125,16 @@
120125

121126
.fs-toggle {
122127
position: absolute;
123-
top: 20px;
124-
left: 20px;
128+
top: clamp(15px, 4vw, 25px);
129+
left: clamp(15px, 4vw, 25px);
125130
background: #111;
126-
color: #555;
131+
color: #7aff7a;
127132
border: 1px solid #333;
128-
padding: 8px 12px;
133+
padding: clamp(8px, 2vw, 10px) clamp(12px, 3vw, 16px);
129134
cursor: pointer;
130-
font-size: 10px;
135+
font-size: clamp(9px, 2.5vw, 10px);
131136
font-weight: bold;
132-
border-radius: 5px;
137+
border-radius: 8px;
133138
}
134139

135140
.fs-toggle:hover { color: #fff; border-color: #666; }
@@ -270,8 +275,6 @@
270275
}
271276

272277
window.onload = () => {
273-
// Optional: Shuffle the playlist so it's different every time you load the page
274-
// playlist.sort(() => Math.random() - 0.5);
275278
loadAndPlay();
276279
};
277280

0 commit comments

Comments
 (0)