File tree Expand file tree Collapse file tree 2 files changed +70
-2
lines changed
Expand file tree Collapse file tree 2 files changed +70
-2
lines changed Original file line number Diff line number Diff line change @@ -281,3 +281,69 @@ header {
281281 z-index : 10 ;
282282 pointer-events : none;
283283}
284+
285+ /* ── Mobile responsive ───────────────────────────────────────── */
286+
287+ @media (max-width : 600px ) {
288+ # ui {
289+ padding : 12px ;
290+ gap : 10px ;
291+ }
292+
293+ header {
294+ padding : 10px 14px ;
295+ border-radius : 10px ;
296+ }
297+
298+ .brand-wordmark {
299+ height : 16px ;
300+ }
301+
302+ .brand-live {
303+ font-size : 9px ;
304+ letter-spacing : 1.5px ;
305+ padding-left : 10px ;
306+ gap : 5px ;
307+ }
308+
309+ .stat span {
310+ font-size : 16px ;
311+ }
312+
313+ .stat label {
314+ font-size : 8px ;
315+ }
316+
317+ /* Move feed to a slim bar along the bottom edge */
318+ # event-feed {
319+ position : fixed;
320+ bottom : 28px ;
321+ left : 12px ;
322+ right : 12px ;
323+ width : auto;
324+ border-radius : 10px ;
325+ }
326+
327+ # feed-list {
328+ max-height : 140px ;
329+ overflow : hidden;
330+ }
331+
332+ # feed-list li {
333+ padding : 6px 12px ;
334+ }
335+
336+ .feed-platform {
337+ font-size : 11px ;
338+ min-width : 60px ;
339+ }
340+
341+ .feed-location {
342+ font-size : 10px ;
343+ }
344+
345+ # footer {
346+ font-size : 9px ;
347+ padding : 8px ;
348+ }
349+ }
Original file line number Diff line number Diff line change @@ -81,7 +81,9 @@ const scene = new THREE.Scene();
8181const camera = new THREE . PerspectiveCamera (
8282 45 , window . innerWidth / window . innerHeight , 0.1 , 1000
8383) ;
84- camera . position . z = 2.8 ;
84+ const mobileQuery = window . matchMedia ( '(max-width: 600px)' ) ;
85+ camera . position . z = mobileQuery . matches ? 8.0 : 5.6 ;
86+ camera . position . y = mobileQuery . matches ? - 0.65 : 0 ;
8587
8688// ── Stars ────────────────────────────────────────────────────────────────────
8789
@@ -168,7 +170,7 @@ controls.enableDamping = true;
168170controls . dampingFactor = 0.05 ;
169171controls . enablePan = false ;
170172controls . minDistance = 1.4 ;
171- controls . maxDistance = 6 ;
173+ controls . maxDistance = 10 ;
172174controls . autoRotate = true ;
173175controls . autoRotateSpeed = 0.35 ;
174176
You can’t perform that action at this time.
0 commit comments