Spaces:
Running
Running
Download viewer.css from jejunepixels/token-visualiser: direct link, hf CLI and curl.
- Browser
- Download file 1.67 kB
-
https://huggingface.co/spaces/jejunepixels/token-visualiser/resolve/main/viewer.css
- Command line
-
hf download hf://spaces/jejunepixels/token-visualiser/viewer.css
-
curl -L -o viewer.css https://huggingface.co/spaces/jejunepixels/token-visualiser/resolve/main/viewer.css
1.67 kB
| /* Full viewport chart with an independently scrolling overlay on the left. | |
| The round return button is styled in brand.css (shared-ui/). */ | |
| [data-testid="stMain"] { overflow: hidden; background: #080f18; } | |
| [data-testid="stMainBlockContainer"] { padding: 0; max-width: none; } | |
| .st-key-chart_pane { | |
| position: fixed; | |
| inset: 0; | |
| width: auto ; | |
| height: auto ; | |
| min-height: 0; | |
| padding: 0; | |
| overflow: hidden; | |
| border: 0; | |
| border-radius: 0; | |
| background: #080f18; | |
| z-index: 0; | |
| } | |
| .st-key-controls_pane { | |
| position: fixed; | |
| top: 1rem; | |
| left: 1rem; | |
| width: 340px ; | |
| max-width: calc(100vw - 2rem); | |
| max-height: calc(100dvh - 2rem); | |
| height: auto ; | |
| overflow-x: hidden; | |
| overflow-y: auto; | |
| overscroll-behavior: contain; | |
| padding: .35rem; | |
| border: 1px solid #6d9f9b66; | |
| border-radius: 18px; | |
| background: #eaf2eff5; | |
| color: #203c3a; | |
| box-shadow: 0 12px 50px #0006; | |
| backdrop-filter: blur(18px); | |
| z-index: 5; | |
| } | |
| .st-key-controls_pane:not(:has(details[open])) { width: 200px ; } | |
| .st-key-controls_pane > div { min-height: 0; } | |
| .st-key-controls_pane > div > [data-testid="stExpander"] { border: 0; background: transparent; } | |
| .st-key-controls_pane [data-testid="stSubheader"] { padding-top: 0; } | |
| .st-key-controls_pane [data-testid="stMetricValue"] { font-size: 1.3rem; } | |
| .st-key-controls_pane [data-testid="stVerticalBlockBorderWrapper"] { background: #f4f8f6; } | |
| @media (max-width: 640px) { | |
| .st-key-controls_pane { | |
| top: .5rem; | |
| left: .5rem; | |
| max-width: calc(100vw - 1rem); | |
| max-height: calc(100dvh - 4.5rem); | |
| } | |
| } | |