Spaces:
Running on Zero
Running on Zero
Download style.css from little612pea/TransLayers: direct link, hf CLI and curl.
- Browser
- Download file 4.83 kB
-
https://huggingface.co/spaces/little612pea/TransLayers/resolve/main/style.css
- Command line
-
hf download hf://spaces/little612pea/TransLayers/style.css
-
curl -L -o style.css https://huggingface.co/spaces/little612pea/TransLayers/resolve/main/style.css
4.83 kB
| .gradio-container { | |
| max-width: 1220px ; | |
| --tl-ink: #162f48; | |
| --tl-muted: #526b80; | |
| --tl-border: #d8e2e9; | |
| --tl-blue: #235f94; | |
| } | |
| .dark .gradio-container { | |
| --tl-ink: #edf4f8; | |
| --tl-muted: #b8cbd8; | |
| --tl-border: #344b60; | |
| --tl-blue: #93c5ee; | |
| } | |
| .tl-hero { padding: 27px 0 20px; border-bottom: 1px solid var(--tl-border); } | |
| .tl-title { display: flex; align-items: center; gap: 12px; } | |
| .tl-title h1 { color: var(--tl-ink); font: 720 clamp(32px,4vw,46px)/1.05 Inter,Arial,sans-serif; letter-spacing: -.045em; margin: 0; } | |
| .tl-mark { display: flex; gap: 3px; transform: skewY(-17deg); } | |
| .tl-mark i { width: 5px; height: 27px; background: #78d461; } | |
| .tl-mark i:nth-child(2) { background: #1f8f88; } | |
| .tl-mark i:nth-child(3) { background: #31698b; } | |
| .tl-mark i:nth-child(4) { background: #423d84; } | |
| .tl-hero p { margin: 8px 0 14px; font-size: 17px; color: var(--tl-muted); } | |
| .tl-hero nav { display: flex; gap: 7px; flex-wrap: wrap; } | |
| .tl-hero nav a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; box-sizing: border-box; border: 1px solid var(--tl-border); color: var(--tl-blue); border-radius: 9px; text-decoration: none; padding: 6px 12px; font-size: 14px; font-weight: 600; } | |
| .tl-hero nav a:first-child, #tl-actions .primary { color: white; background: #235f94; border-color: #235f94; } | |
| .tl-hero nav svg, .tl-hug { width: 18px; height: 18px; flex: none; } | |
| .tl-hug { font: 17px/18px "Apple Color Emoji","Segoe UI Emoji",sans-serif; } | |
| .tl-mini-mark { gap: 2px; } | |
| .tl-mini-mark i { height: 16px; width: 3px; background: #a4e787; } | |
| .tl-mini-mark i:nth-child(2) { background: #79dacf; } | |
| .tl-mini-mark i:nth-child(3) { background: #a1c8ed; } | |
| .tl-mini-mark i:nth-child(4) { background: #c2bdf8; } | |
| .tl-hero nav a:hover, .tl-hero nav a:focus-visible { border-color: var(--tl-blue); text-decoration: underline; text-underline-offset: 3px; } | |
| #tl-actions button:disabled { opacity: .55; } | |
| #tl-workspace { margin-top: 8px; gap: clamp(16px,3vw,36px); align-items: flex-start; } | |
| #tl-input, #tl-results, .tl-layer { gap: 8px; } | |
| .tl-heading { color: var(--tl-ink); font-size: 21px; font-weight: 680; margin: 0; line-height: 1.3; } | |
| #tl-rgb, .tl-depth { background: #15293c; border: 1px solid var(--tl-border); border-radius: 8px; overflow: hidden; padding: 0; } | |
| #tl-rgb { aspect-ratio: 4 / 3; } | |
| .tl-depth { aspect-ratio: 16 / 9; } | |
| #tl-rgb video, .tl-depth video { width: 100%; height: 100%; object-fit: contain; background: #15293c; } | |
| #tl-rgb > div, .tl-depth > div { height: 100%; } | |
| .tl-pair { gap: 10px; flex-wrap: nowrap ; } | |
| .tl-layer { flex: 1 1 0 ; min-width: 0 ; gap: 4px; } | |
| .tl-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tl-muted); } | |
| .tl-label b { color: var(--tl-ink); font-size: 14px; } | |
| .tl-label::before { content: ''; width: 4px; height: 13px; border-radius: 2px; background: var(--layer); } | |
| .l1 { --layer: #7ad963; }.l3 { --layer: #1f8f88; }.l5 { --layer: #31698b; }.l7 { --layer: #62569f; } | |
| #tl-actions { gap: 8px; } | |
| #tl-actions button { min-width: 0; min-height: 38px; } | |
| .tl-note, .tl-examples-intro p { color: var(--tl-muted); font-size: 14px; margin: 0; } | |
| .tl-examples-intro { border-top: 1px solid var(--tl-border); padding-top: 18px; margin-top: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } | |
| .tl-examples-intro p { margin-top: 3px; } | |
| .tl-examples-intro a { color: var(--tl-blue); font-size: 13px; white-space: nowrap; } | |
| #tl-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; } | |
| #tl-gallery .tl-tile { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 5px; overflow: hidden; padding: 0 0 6px; min-width: 0; color: var(--tl-ink); text-align: center; border: 1px solid var(--tl-border); border-radius: 7px; font-size: 14px; } | |
| #tl-gallery .tl-tile img { display: block; margin: 0; width: 100%; height: auto; aspect-ratio: 2.25 / 1; object-fit: cover; } | |
| #tl-gallery .tl-tile:hover, #tl-gallery .tl-tile:focus-visible { border-color: var(--tl-blue); } | |
| @media(max-width:700px) { | |
| #tl-workspace { flex-direction: column; } | |
| #tl-input, #tl-results { width: 100%; min-width: 0 ; } | |
| #tl-rgb { aspect-ratio: 16 / 9; } | |
| #tl-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } | |
| .tl-hero { padding-top: 10px; } | |
| } | |
| .gradio-container { margin-inline: auto ; } | |
| .gradio-container .html-container.padding:has(:is(.tl-hero,.tl-heading,.tl-label,.tl-note,.tl-examples-intro)) { padding: 0; } | |
| .tl-input-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } | |
| .tl-input-heading span { color: var(--tl-muted); font-size: 14px; } | |
| #tl-rgb:not(:has(video)), .tl-depth:not(:has(video)) { background: var(--background-fill-secondary); } | |