@@ -53,16 +53,10 @@ a:focus-visible, button:focus-visible { outline: 2px solid var(--copper-bright);
5353 clip-path : polygon (0 0 , 100% 0 , 100% 70% , 70% 100% , 0 100% );
5454}
5555.brand-copy { display : flex; flex-direction : column; gap : 2px ; }
56- .brand-copy strong { font-size : 15px ; letter-spacing : .08em ; }
57- .brand-copy small {
58- color : var (--stone-dark );
59- font : 10 px/1.3 var (--mono );
60- letter-spacing : .13em ;
61- text-transform : uppercase;
62- }
63- .main-nav { display : flex; gap : 38px ; color : var (--stone ); font : 12 px/1 var (--mono ); letter-spacing : .08em ; text-transform : uppercase; }
56+ .brand-copy strong { font-size : 13px ; letter-spacing : .05em ; white-space : nowrap; }
57+ .gallery-label { color : var (--stone ); font : 11 px/1 var (--mono ); letter-spacing : .1em ; text-transform : uppercase; }
6458.header-link { justify-self : end; display : flex; gap : 12px ; font : 12 px/1 var (--mono ); letter-spacing : .08em ; text-transform : uppercase; }
65- .main-nav a : hover , . header-link : hover { color : var (--copper-bright ); }
59+ .header-link : hover { color : var (--copper-bright ); }
6660
6761.eyebrow {
6862 display : flex;
@@ -112,35 +106,46 @@ a:focus-visible, button:focus-visible { outline: 2px solid var(--copper-bright);
112106 position : absolute;
113107 top : 16px ;
114108 right : 16px ;
115- min-width : 154px ;
116- padding : 13px 14px ;
117- display : grid;
118- gap : 5px ;
109+ width : 174px ;
110+ overflow : hidden;
119111 color : var (--stone );
120112 background : rgba (11 , 11 , 10 , .86 );
121113 border : 1px solid rgba (255 , 255 , 255 , .12 );
122114 border-radius : 9px ;
123115 box-shadow : 0 12px 36px rgba (0 , 0 , 0 , .28 );
124116 backdrop-filter : blur (12px );
125117 font : 10 px/1.3 var (--mono );
126- pointer-events : none;
127118}
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 ); }
119+ .debug-toggle {
120+ width : 100% ;
121+ height : 38px ;
122+ padding : 0 13px ;
123+ display : flex;
124+ align-items : center;
125+ justify-content : space-between;
126+ color : var (--paper );
127+ background : transparent;
128+ border : 0 ;
129+ font : 600 11 px/1 var (--mono );
130+ cursor : pointer;
131+ }
132+ .debug-toggle svg { width : 14px ; height : 14px ; fill : none; stroke : currentColor; stroke-width : 1.5 ; transform : rotate (180deg ); }
133+ .debug-overlay [data-expanded = "false" ] { width : 88px ; }
134+ .debug-overlay [data-expanded = "false" ] .debug-toggle svg { transform : none; }
135+ .debug-overlay [data-expanded = "false" ] .debug-metrics { display : none; }
136+ .debug-metrics { padding : 0 13px 13px ; display : grid; gap : 5px ; }
137+ .debug-metrics b { color : var (--paper ); font-size : 13px ; font-weight : 600 ; }
131138.stage-meta { min-height : 68px ; display : flex; align-items : center; justify-content : space-between; gap : 24px ; padding : 14px 10px 0 ; }
132139.stage-meta p { max-width : 760px ; margin : 0 ; color : var (--stone ); font-size : 13px ; line-height : 1.5 ; }
133140.stage-meta p .project-link { color : var (--link-blue ); }
134141# status { color : var (--stone-dark ); font : 10 px/1.4 var (--mono ); }
135142# status [data-failed = "true" ] { color : # ff765f ; }
136143
137144.source-panel { margin-top : 80px ; overflow : hidden; background : var (--panel ); border : 1px solid var (--line ); border-radius : 14px ; }
138- .source-head { min-height : 86px ; display : flex; align-items : center; justify-content : space-between; padding : 0 24px ; border-bottom : 1px solid var (--line ); }
139- .source-head .eyebrow { margin : 0 0 7px ; font-size : 9px ; }
140- .source-head h2 { margin : 0 ; font-size : 22px ; font-weight : 520 ; }
145+ .source-toolbar { min-height : 48px ; display : flex; align-items : stretch; justify-content : space-between; border-bottom : 1px solid var (--line ); }
141146.copy-button { padding : 9px 12px ; color : var (--stone ); background : transparent; border : 1px solid var (--line ); font : 10 px/1 var (--mono ); cursor : pointer; }
142147.copy-button : hover { color : var (--ink ); background : var (--copper ); border-color : var (--copper ); }
143- .source-tabs { display : flex; padding : 0 22px ; border-bottom : 1 px solid var ( --line ); }
148+ .source-tabs { display : flex; padding : 0 22px ; }
144149.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; }
145150.source-tabs button [aria-selected = "true" ] { color : var (--copper-bright ); border-bottom-color : var (--copper ); }
146151# 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 ; }
@@ -156,7 +161,7 @@ a:focus-visible, button:focus-visible { outline: 2px solid var(--copper-bright);
156161.syntax-function { color : # e8ded0 ; }
157162
158163.sample-page .embed { overflow : hidden; background : # 030817 ; }
159- .sample-page .embed .sample-head , .sample-page .embed .stage-meta , .sample-page .embed .source-panel { display : none; }
164+ .sample-page .embed .sample-head , .sample-page .embed .debug-overlay , . sample-page . embed . stage-meta , .sample-page .embed .source-panel { display : none; }
160165.sample-page .embed .sample-workbench { width : 100% ; height : 100vh ; padding : 0 ; }
161166.sample-page .embed .stage { height : 100vh ; padding : 0 ; border : 0 ; }
162167.sample-page .embed .stage canvas { width : 100% ; height : 100% ; min-height : 100vh ; border : 0 ; }
@@ -167,7 +172,7 @@ a:focus-visible, button:focus-visible { outline: 2px solid var(--copper-bright);
167172@media (max-width : 680px ) {
168173 .shell , .site-header , .sample-head , .sample-workbench { width : min (100% - 32px , 1440px ); }
169174 .site-header { grid-template-columns : 1fr auto; }
170- .main-nav { display : none; }
175+ .gallery-label { display : none; }
171176 .sample-section { padding-block : 64px 92px ; }
172177 .sample-head { grid-template-columns : 1fr auto; padding-block : 20px ; }
173178 .sample-heading { grid-row : 2 ; grid-column : 1 / -1 ; margin-top : 24px ; }
0 commit comments