@@ -106,7 +106,28 @@ a:focus-visible, button:focus-visible { outline: 2px solid var(--copper-bright);
106106.runtime-badge i { width : 6px ; height : 6px ; border-radius : 50% ; background : var (--green ); }
107107
108108.sample-workbench { width : min (1440px , calc (100% - 72px )); margin-inline : auto; padding : 72px 0 150px ; }
109+ .stage { position : relative; }
109110.stage canvas { display : block; width : 100% ; height : min (68vh , 720px ); min-height : 480px ; border : 1px solid var (--line ); border-radius : 10px ; }
111+ .debug-overlay {
112+ position : absolute;
113+ top : 16px ;
114+ right : 16px ;
115+ min-width : 154px ;
116+ padding : 13px 14px ;
117+ display : grid;
118+ gap : 5px ;
119+ color : var (--stone );
120+ background : rgba (11 , 11 , 10 , .86 );
121+ border : 1px solid rgba (255 , 255 , 255 , .12 );
122+ border-radius : 9px ;
123+ box-shadow : 0 12px 36px rgba (0 , 0 , 0 , .28 );
124+ backdrop-filter : blur (12px );
125+ font : 10 px/1.3 var (--mono );
126+ pointer-events : none;
127+ }
128+ .debug-overlay [hidden ] { display : none; }
129+ .debug-overlay b { color : var (--paper ); font-size : 13px ; font-weight : 600 ; }
130+ .debug-overlay small { margin-top : 3px ; color : var (--stone-dark ); }
110131.stage-meta { min-height : 68px ; display : flex; align-items : center; justify-content : space-between; gap : 24px ; padding : 14px 10px 0 ; }
111132.stage-meta p { max-width : 760px ; margin : 0 ; color : var (--stone ); font-size : 13px ; line-height : 1.5 ; }
112133.stage-meta p .project-link { color : var (--link-blue ); }
@@ -122,7 +143,9 @@ a:focus-visible, button:focus-visible { outline: 2px solid var(--copper-bright);
122143.source-tabs { display : flex; padding : 0 22px ; border-bottom : 1px solid var (--line ); }
123144.source-tabs button { padding : 16px 14px 14px ; color : var (--stone-dark ); background : none; border : 0 ; border-bottom : 2px solid transparent; font : 10 px/1 var (--mono ); cursor : pointer; }
124145.source-tabs button [aria-selected = "true" ] { color : var (--copper-bright ); border-bottom-color : var (--copper ); }
125- # source-code { max-height : 760px ; overflow : auto; margin : 0 ; padding : 34px 24px 48px ; color : # d8d1c6 ; background : # 0e0e0c ; font : 12 px/1.75 var (--mono ); tab-size : 2 ; }
146+ # source-code { max-height : 760px ; overflow : auto; display : grid; grid-template-columns : max-content minmax (0 , 1fr ); margin : 0 ; padding : 0 ; color : # d8d1c6 ; background : # 0e0e0c ; font : 12 px/1.75 var (--mono ); tab-size : 2 ; }
147+ # source-code code { min-width : max-content; padding : 34px 24px 48px ; white-space : pre; }
148+ .line-numbers { position : sticky; left : 0 ; z-index : 1 ; padding : 34px 14px 48px 18px ; color : # 4c4b46 ; background : # 0b0b09 ; border-right : 1px solid # 20201c ; text-align : right; user-select : none; }
126149.syntax-comment { color : # 686860 ; font-style : italic; }
127150.syntax-keyword { color : # ef7c32 ; }
128151.syntax-type { color : # e9b979 ; }
0 commit comments