Download assets/style.css from HansTran/TESTING: direct link, hf CLI and curl.
- Browser
- Download file 6.2 kB
-
https://huggingface.co/spaces/HansTran/TESTING/resolve/main/assets/style.css
- Command line
-
hf download hf://spaces/HansTran/TESTING/assets/style.css
-
curl -L -o style.css https://huggingface.co/spaces/HansTran/TESTING/resolve/main/assets/style.css
6.2 kB
| :root { | |
| --bg: #f4f7fb; | |
| --surface: rgba(255, 255, 255, 0.88); | |
| --surface-strong: #ffffff; | |
| --text: #122033; | |
| --muted: #607089; | |
| --primary: #147d72; | |
| --primary-strong: #0e5d55; | |
| --accent: #ffb84d; | |
| --danger: #d64545; | |
| --border: rgba(18, 32, 51, 0.08); | |
| --shadow: 0 24px 60px rgba(19, 39, 71, 0.12); | |
| --radius: 24px; | |
| } | |
| .stApp { | |
| background: | |
| radial-gradient(circle at top left, rgba(20, 125, 114, 0.1), transparent 22%), | |
| radial-gradient(circle at top right, rgba(255, 184, 77, 0.12), transparent 20%), | |
| linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%); | |
| color: var(--text); | |
| } | |
| [data-testid="stAppViewContainer"] > .main { | |
| max-width: none; | |
| width: 100%; | |
| padding-top: 0.35rem; | |
| padding-bottom: 1rem; | |
| padding-left: 0.75rem; | |
| padding-right: 0.75rem; | |
| } | |
| [data-testid="stHeader"] { | |
| background: transparent; | |
| } | |
| [data-testid="stToolbar"] { | |
| right: 1rem; | |
| } | |
| .hero-shell { | |
| padding: 0.65rem 0.8rem; | |
| border: 1px solid var(--border); | |
| border-radius: 16px; | |
| background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 255, 0.88)); | |
| box-shadow: 0 4px 10px rgba(19, 39, 71, 0.04); | |
| margin-bottom: 0.35rem; | |
| } | |
| .hero-row { | |
| display: flex; | |
| align-items: center; | |
| justify-content: flex-start; | |
| } | |
| .hero-eyebrow { | |
| display: inline-block; | |
| font-size: 0.75rem; | |
| font-weight: 700; | |
| letter-spacing: 0.12em; | |
| text-transform: uppercase; | |
| color: var(--primary); | |
| margin-bottom: 0.3rem; | |
| } | |
| .hero-title { | |
| font-size: clamp(1.1rem, 1.5vw, 1.4rem); | |
| line-height: 1.1; | |
| font-weight: 800; | |
| margin: 0; | |
| } | |
| [data-testid="stVerticalBlockBorderWrapper"] { | |
| border-radius: 14px; | |
| border-color: rgba(18, 32, 51, 0.08) ; | |
| background: var(--surface); | |
| box-shadow: 0 2px 8px rgba(19, 39, 71, 0.03); | |
| padding: 0.02rem 0.08rem; | |
| margin-bottom: 0.4rem; | |
| } | |
| [data-testid="stVerticalBlockBorderWrapper"] > div { | |
| background: transparent ; | |
| } | |
| .card-rank-marker { | |
| width: 100%; | |
| height: 0; | |
| } | |
| [data-testid="stVerticalBlockBorderWrapper"]:has(.card-rank-danger) { | |
| background: linear-gradient(180deg, rgba(255, 229, 229, 0.98), rgba(255, 241, 241, 0.98)) ; | |
| border-color: rgba(214, 69, 69, 0.28) ; | |
| } | |
| [data-testid="stVerticalBlockBorderWrapper"]:has(.card-rank-warning) { | |
| background: linear-gradient(180deg, rgba(255, 244, 214, 0.98), rgba(255, 249, 233, 0.98)) ; | |
| border-color: rgba(255, 184, 77, 0.28) ; | |
| } | |
| [data-testid="stVerticalBlockBorderWrapper"]:has(.card-rank-default) { | |
| background: rgba(255, 255, 255, 0.94) ; | |
| } | |
| .card-status { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 100%; | |
| min-height: 22px; | |
| border-radius: 999px; | |
| background: rgba(20, 125, 114, 0.1); | |
| color: var(--primary-strong); | |
| font-size: 0.66rem; | |
| font-weight: 800; | |
| } | |
| .end-time-inline { | |
| padding-top: 0.05rem; | |
| text-align: right; | |
| border-radius: 10px; | |
| padding: 0.22rem 0.38rem; | |
| } | |
| .end-time-inline-accent { | |
| background: rgba(20, 125, 114, 0.18); | |
| } | |
| .end-time-inline-label { | |
| color: var(--muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.08em; | |
| font-size: 0.62rem; | |
| font-weight: 800; | |
| } | |
| .end-time-inline-value { | |
| color: var(--text); | |
| font-size: 1rem; | |
| line-height: 1.1; | |
| font-weight: 800; | |
| margin-top: 0.06rem; | |
| } | |
| .empty-state { | |
| border: 1px dashed rgba(18, 32, 51, 0.18); | |
| border-radius: 24px; | |
| padding: 2.5rem 1.5rem; | |
| text-align: center; | |
| background: rgba(255, 255, 255, 0.68); | |
| } | |
| .empty-state h3 { | |
| margin-bottom: 0.3rem; | |
| } | |
| .empty-state p { | |
| margin: 0; | |
| color: var(--muted); | |
| } | |
| .stTextInput label, | |
| .stNumberInput label { | |
| color: var(--text) ; | |
| font-weight: 700 ; | |
| font-size: 0.88rem ; | |
| } | |
| .stTextInput input { | |
| border-radius: 10px ; | |
| border: 1px solid rgba(18, 32, 51, 0.12) ; | |
| background: var(--surface-strong) ; | |
| min-height: 32px ; | |
| font-size: 1rem ; | |
| font-weight: 700 ; | |
| padding-top: 0.35rem ; | |
| padding-bottom: 0.35rem ; | |
| } | |
| .stNumberInput input { | |
| border-radius: 10px ; | |
| border: 1px solid rgba(18, 32, 51, 0.12) ; | |
| background: var(--surface-strong) ; | |
| min-height: 32px ; | |
| text-align: center ; | |
| font-weight: 700 ; | |
| } | |
| .stButton > button { | |
| border-radius: 999px ; | |
| min-height: 30px ; | |
| font-weight: 700 ; | |
| font-size: 0.8rem ; | |
| border: 1px solid transparent ; | |
| transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease ; | |
| padding-top: 0.2rem ; | |
| padding-bottom: 0.2rem ; | |
| } | |
| .primary-action > button { | |
| background: linear-gradient(135deg, var(--primary), #1a9f90) ; | |
| color: white ; | |
| box-shadow: 0 3px 8px rgba(20, 125, 114, 0.12) ; | |
| } | |
| .check-action > button { | |
| background: rgba(18, 32, 51, 0.08) ; | |
| color: var(--text) ; | |
| border-color: rgba(18, 32, 51, 0.12) ; | |
| } | |
| .reset-action > button { | |
| background: rgba(255, 184, 77, 0.16) ; | |
| color: #8b5a00 ; | |
| border-color: rgba(255, 184, 77, 0.28) ; | |
| } | |
| [data-testid="stRadio"] label { | |
| font-weight: 700 ; | |
| } | |
| [data-testid="stRadio"] > div { | |
| gap: 0.45rem ; | |
| } | |
| .primary-action > button:hover { | |
| background: linear-gradient(135deg, var(--primary-strong), var(--primary)) ; | |
| } | |
| .secondary-action > button { | |
| background: white ; | |
| color: var(--text) ; | |
| border-color: rgba(18, 32, 51, 0.12) ; | |
| } | |
| .danger-action > button { | |
| background: rgba(214, 69, 69, 0.08) ; | |
| color: var(--danger) ; | |
| border-color: rgba(214, 69, 69, 0.16) ; | |
| } | |
| .compact-button > button { | |
| min-height: 32px ; | |
| } | |
| @media (max-width: 768px) { | |
| [data-testid="stAppViewContainer"] > .main { | |
| padding-top: 0.6rem; | |
| padding-left: 0.5rem; | |
| padding-right: 0.5rem; | |
| } | |
| .hero-row { | |
| flex-direction: column; | |
| align-items: flex-start; | |
| } | |
| .hero-shell { | |
| padding: 0.75rem; | |
| border-radius: 14px; | |
| } | |
| [data-testid="stHorizontalBlock"] { | |
| gap: 0.35rem ; | |
| } | |
| .end-time-inline { | |
| text-align: left; | |
| } | |
| } | |