Spaces:
Sleeping
Sleeping
John Patterson
Audience mode: fix Gradio 6 visibility cascade, switch to Supabase service_role
190b585 Download static/style.css from ThatRandomJohn/ask-anything-lab: direct link, hf CLI and curl.
- Browser
- Download file 1.57 kB
-
https://huggingface.co/spaces/ThatRandomJohn/ask-anything-lab/resolve/main/static/style.css
- Command line
-
hf download hf://spaces/ThatRandomJohn/ask-anything-lab/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/ThatRandomJohn/ask-anything-lab/resolve/main/static/style.css
1.57 kB
| /* Ask Anything Lab — dark theme for TEDx projection */ | |
| body, .gradio-container { | |
| background: #06080C ; | |
| color: #F1F5F9 ; | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif ; | |
| } | |
| .gradio-container { | |
| max-width: 100% ; | |
| padding: 0 ; | |
| } | |
| footer { display: none ; } | |
| /* Hide the two keyboard-proxy buttons completely (elem_id wrapper + inner button) */ | |
| #forward_btn, #back_btn, | |
| #forward_btn *, #back_btn * { | |
| position: absolute ; | |
| left: -9999px ; | |
| top: -9999px ; | |
| width: 1px ; | |
| height: 1px ; | |
| max-width: 1px ; | |
| max-height: 1px ; | |
| min-height: 0 ; | |
| padding: 0 ; | |
| margin: 0 ; | |
| border: 0 ; | |
| overflow: hidden ; | |
| opacity: 0 ; | |
| visibility: hidden ; | |
| pointer-events: auto ; | |
| } | |
| .tedx-hero h1 { | |
| font-size: 3em; | |
| margin: 0.2em 0; | |
| } | |
| .tedx-cta button { | |
| font-size: 1.2em ; | |
| padding: 0.9em 2em ; | |
| min-height: 3.5em ; | |
| } | |
| /* Workaround for Gradio 6 quirk: components first mounted with visible=False | |
| retain the `hide` class even when later updated to visible=True. Any element | |
| marked with .aal-force-show will override and display. */ | |
| .aal-force-show, | |
| .aal-force-show.hide { | |
| display: flex ; | |
| visibility: visible ; | |
| opacity: 1 ; | |
| } | |
| .aal-force-hide, | |
| .aal-force-hide.column { | |
| display: none ; | |
| } | |