Download src/FiguresDisplay.css from mxhulab/ahaha: direct link, hf CLI and curl.
- Browser
- Download file 965 Bytes
-
https://huggingface.co/spaces/mxhulab/ahaha/resolve/main/src/FiguresDisplay.css
- Command line
-
hf download hf://spaces/mxhulab/ahaha/src/FiguresDisplay.css
-
curl -L -o FiguresDisplay.css https://huggingface.co/spaces/mxhulab/ahaha/resolve/main/src/FiguresDisplay.css
965 Bytes
| .empty-placeholder { | |
| flex: 1; | |
| min-height: 300px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| background-color: #ffffff; | |
| color: #6c757d; | |
| font-size: 1.2rem; | |
| border: 1px dashed #cccccc; | |
| border-radius: 6px; | |
| } | |
| .main-figure img { | |
| width: 100%; | |
| max-height: 60vh; | |
| object-fit: contain; | |
| border-radius: 6px; | |
| border: 1px solid #dddddd; | |
| cursor: pointer; | |
| transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; | |
| } | |
| .main-figure:hover { | |
| transform: scale(1.02); | |
| box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); | |
| border-radius: 6px; | |
| } | |
| .fig-thumb { | |
| padding: 0.25rem; | |
| background: #ffffff; | |
| border: 1px solid #dddddd; | |
| border-radius: 6px; | |
| transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; | |
| } | |
| .fig-thumb img { | |
| width: 100%; | |
| height: auto; | |
| display: block; | |
| border-radius: 4px; | |
| } | |
| .fig-thumb:hover { | |
| transform: scale(1.05); | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); | |
| cursor: pointer; | |
| } | |