|
|
| |
| |
| |
| |
| |
| |
| body.hfnx-active main.hero[data-page="landing"] > *:not(.hfnx) { display: none !important; } |
| |
| |
| |
| body.hfnx-active main.hero[data-page="landing"] { |
| display: block !important; width: 100%; max-width: 100%; |
| } |
| body.hfnx-active .gallery-section[data-page="landing"] { display: none !important; } |
| |
| |
| body.hfnx-active .landing-nav-wrap { display: none !important; } |
| .hfnx { display: none; } |
| body.hfnx-active .hfnx { display: block; grid-column: 1 / -1; width: 100%; } |
| |
| |
| |
| |
| |
| |
| |
| body.hfnx-active.route-hf-models .hfnx > *:not(.hfnx-top), |
| body.hfnx-active.route-hf-watchlist .hfnx > *:not(.hfnx-top), |
| body.hfnx-active.route-hf-prerelease .hfnx > *:not(.hfnx-top), |
| body.hfnx-active.route-hf-blog-index .hfnx > *:not(.hfnx-top) { display: none !important; } |
| body.hfnx-active.route-hf-watchlist .hfnx, |
| body.hfnx-active.route-hf-prerelease .hfnx, |
| body.hfnx-active.route-hf-blog-index .hfnx { padding-bottom: 0; } |
| |
| |
| body.hfnx-active.route-hf-models:not(.hf-models-content-active) .hfnx { display: none !important; } |
| body.hfnx-active.route-hf-models .hfnx { padding-bottom: 6px; } |
| |
| |
| body.hfnx-active.route-hf-feature-preview .hfnx, |
| .page.route-hf-feature-preview .hfnx { display: none !important; } |
| body.route-hf-feature-preview .blogs-with-graphs { display: none !important; } |
| |
| |
| |
| |
| body:not(.route-landing) .blogs-with-graphs:not(.hf-blog-index), |
| .page:not(.route-landing) .blogs-with-graphs:not(.hf-blog-index) { display: none !important; } |
| |
| |
| |
| |
| .page.route-hf-blog-preview .hf-blog-preview, |
| body.route-hf-blog-preview .hf-blog-preview { |
| grid-column: 1 / -1; |
| } |
| .page.route-hf-watchlist .hf-watchlist-page, |
| body.route-hf-watchlist .hf-watchlist-page { |
| grid-column: 1 / -1; |
| width: 100%; |
| justify-self: stretch; |
| } |
| .page.route-hf-blog-index .hf-blog-index, |
| body.route-hf-blog-index .hf-blog-index { |
| grid-column: 1 / -1; |
| width: 100%; |
| justify-self: stretch; |
| } |
| |
| |
| |
| .page.route-hf-prerelease .hf-prerelease, |
| body.route-hf-prerelease .hf-prerelease, |
| |
| |
| .page .hf-prerelease.hf-prerelease--companion, |
| body .hf-prerelease.hf-prerelease--companion { |
| grid-column: 1 / -1; |
| width: min(100%, 1040px); |
| margin: clamp(24px, 5vw, 62px) auto clamp(42px, 7vw, 92px); |
| justify-self: center; |
| } |
| |
| |
| .hf-prerelease .k3wrap, |
| .hf-prerelease .wrap { max-width: none; margin: 0; padding: 0; } |
| .hf-blog-index__inner { |
| max-width: 900px; |
| margin: 0 auto; |
| padding: 16px 22px 80px; |
| } |
| .hf-blog-index__crumbs { font-size: 14px; color: #7d92ab; margin: 0 0 26px; } |
| .hf-blog-index__crumbs a { color: #9db4cc; text-decoration: none; } |
| .hf-blog-index__title { font-size: 34px; margin: 0 0 8px; color: #eef4fb; letter-spacing: -0.01em; } |
| .hf-blog-index__lede { color: #9db4cc; margin: 0 0 34px; max-width: 640px; font-size: 16px; } |
| .hf-blog-index__post { |
| display: flex; |
| gap: 20px; |
| align-items: center; |
| text-decoration: none; |
| color: inherit; |
| border: 1px solid rgba(125, 146, 171, 0.18); |
| border-radius: 16px; |
| padding: 18px; |
| margin-bottom: 18px; |
| background: rgba(13, 21, 36, 0.6); |
| transition: border-color 0.15s ease; |
| } |
| .hf-blog-index__post:hover { border-color: rgba(156, 255, 99, 0.45); } |
| .hf-blog-index__thumb { |
| display: block; |
| flex: 0 0 210px; |
| width: 210px; |
| border-radius: 10px; |
| overflow: hidden; |
| background: rgba(5, 9, 20, 0.7); |
| } |
| .hf-blog-index__thumb img { display: block; width: 100%; height: auto; } |
| .hf-blog-index__thumb--figure { aspect-ratio: 404 / 238; position: relative; } |
| .hf-blog-index__still { |
| display: block; width: 100%; height: 100%; |
| position: absolute; top: 0; left: 0; object-fit: cover; |
| } |
| .hf-blog-index__thumb--figure .hf-blog-index__figurebox { |
| position: absolute; |
| top: 0; |
| left: 0; |
| width: 404px; |
| height: 238px; |
| transform-origin: top left; |
| pointer-events: none; |
| --blogs-figure-height: 238px; |
| |
| opacity: 0; |
| } |
| .hf-blog-index__thumb--figure .hf-blog-index__figurebox[data-scaled="true"] { |
| opacity: 1; |
| } |
| |
| |
| |
| .hf-blog-index__figurebox .blogs-with-graphs__image-wrap { |
| display: block !important; |
| width: 404px !important; |
| max-width: none !important; |
| height: 238px !important; |
| margin: 0 !important; |
| padding: 0 !important; |
| } |
| .hf-blog-index__figurebox .blogs-with-graphs__live { |
| width: 100% !important; |
| height: 238px !important; |
| min-height: 238px !important; |
| } |
| .hf-blog-index__figurebox [data-blogs-figure-source] { |
| width: 100% !important; |
| height: 100% !important; |
| } |
| .hf-blog-index__body { min-width: 0; } |
| .hf-blog-index__body h2 { margin: 0 0 6px; font-size: 20px; color: #eef4fb; } |
| .hf-blog-index__body p { margin: 0 0 10px; color: #9db4cc; font-size: 15px; line-height: 1.55; } |
| .hf-blog-index__meta { color: #62788f; font-size: 13px; } |
| .hf-blog-index__date { |
| font-size: 11.5px; |
| font-weight: 700; |
| letter-spacing: 0.12em; |
| text-transform: uppercase; |
| } |
| @media (max-width: 640px) { |
| .hf-blog-index__post { flex-direction: column; align-items: stretch; } |
| .hf-blog-index__thumb { flex: none; width: 100%; } |
| } |
| .hf-blog-index__backlinks { margin-top: 40px; color: #9db4cc; font-size: 15px; } |
| .hf-blog-index__backlinks a { color: #88d7ff; text-decoration: none; } |
| body.hfnx-active.route-hf-models .hfnx-top, |
| body.hfnx-active.route-hf-watchlist .hfnx-top, |
| body.hfnx-active.route-hf-blog-index .hfnx-top { |
| position: relative; |
| z-index: 20; |
| |
| |
| |
| width: min(100%, 1612px); |
| margin: 0 auto 8px; |
| padding: 24px 26px 10px; |
| border-bottom: 0; |
| background: transparent; |
| backdrop-filter: blur(18px); |
| } |
| |
| |
| |
| body.hfnx-active.route-hf-prerelease .hfnx-top { |
| position: relative; |
| z-index: 20; |
| width: 100%; |
| margin: 0 0 8px; |
| padding: 2px 0 10px; |
| border-bottom: 0; |
| background: transparent; |
| backdrop-filter: none; |
| -webkit-backdrop-filter: none; |
| } |
| |
| |
| body.hfnx-active.route-hf-blog-index .hfnx-top, |
| body.hfnx-active.route-hf-prerelease .hfnx-top { |
| backdrop-filter: none; |
| -webkit-backdrop-filter: none; |
| } |
| body.hfnx-active.route-hf-models.hf-models-content-active .hfnx { |
| padding-bottom: 0; |
| } |
| body.hfnx-active.route-hf-models.hf-models-content-active .hf-models-page:not(.hf-article-login-page) { |
| align-content: start; |
| align-items: stretch; |
| min-height: 0; |
| padding-top: 0; |
| } |
| body.hfnx-active.route-hf-models.hf-models-content-active .hf-models-shell { |
| width: min(100%, 1240px); |
| margin: 0 auto; |
| } |
| body.hfnx-active.route-hf-article-login .hfnx, |
| body.hfnx-active.route-hf-article-picker .hfnx, |
| body.hfnx-active.route-hf-article-editor .hfnx, |
| body.hfnx-active.route-hf-article-admin .hfnx, |
| body.hfnx-active.route-viewer .hfnx, |
| body.hfnx-active.route-owner .hfnx { display: none !important; } |
| |
| |
| body.hfnx-active.route-hf-blog-preview .hfnx > *:not(.hfnx-top) { display: none !important; } |
| body.hfnx-active.route-hf-blog-preview .hfnx { padding-bottom: 0; } |
| body.hfnx-active.route-hf-blog-preview .hfnx-top { |
| position: relative; |
| z-index: 20; |
| |
| |
| width: 100%; |
| margin: 0 0 8px; |
| padding: 2px 0 10px; |
| border-bottom: 0; |
| background: transparent; |
| backdrop-filter: blur(18px); |
| } |
| .hfnx-top { display: flex; align-items: center; gap: 22px; padding: 2px 0 6px; } |
| |
| |
| |
| |
| |
| |
| |
| body.hfnx-active .hfnx-top { position: relative; z-index: 30; } |
| body.hfnx-active .hfnx-top .brand-stack { align-items: flex-start; width: max-content; } |
| body.hfnx-active .hfnx-top .brand-stack::after { |
| left: -24px; |
| right: -40px; |
| height: 42px; |
| } |
| body.hfnx-active .hfnx-top .brand-stack__trigger { |
| align-self: flex-start !important; transform: none !important; |
| } |
| body.hfnx-active .hfnx-top .brand-stack:hover .brand-stack__trigger, |
| body.hfnx-active .hfnx-top .brand-stack:focus-within .brand-stack__trigger { |
| transform: none !important; |
| } |
| body.hfnx-active .hfnx-top .brand-stack__menu { |
| position: absolute !important; left: 0 !important; right: auto !important; |
| transform: translate(0, -6px) !important; |
| isolation: isolate; |
| } |
| body.hfnx-active .hfnx-top .brand-stack:hover .brand-stack__menu, |
| body.hfnx-active .hfnx-top .brand-stack:focus-within .brand-stack__menu, |
| body.hfnx-active .hfnx-top .brand-stack.is-open .brand-stack__menu { |
| transform: translate(0, 0) !important; |
| } |
| body.hfnx-active .hfnx-top .brand-stack__item { |
| position: relative; |
| z-index: 1; |
| border-radius: 16px; |
| transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease; |
| } |
| body.hfnx-active .hfnx-top .brand-stack__item:hover, |
| body.hfnx-active .hfnx-top .brand-stack__item:focus-visible, |
| body.hfnx-active .hfnx-top .brand-stack__item.is-nearest { |
| opacity: 1; |
| transform: translateY(-1px); |
| background: rgba(255, 255, 255, 0.055); |
| box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.2); |
| outline: none; |
| } |
| |
| |
| body.hfnx-active .hfnx-top .brand-stack__trigger { |
| border-radius: 16px; |
| transition: opacity 180ms ease, background 180ms ease, box-shadow 180ms ease; |
| } |
| body.hfnx-active .hfnx-top .brand-stack:hover .brand-stack__trigger.is-nearest, |
| body.hfnx-active .hfnx-top .brand-stack:focus-within .brand-stack__trigger.is-nearest { |
| opacity: 1; |
| background: rgba(255, 255, 255, 0.055); |
| box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.2); |
| } |
| .hfnx-top__nav { display: flex; align-items: center; gap: 18px; margin-left: 8px; } |
| .hfnx-nav-menu { |
| position: relative; |
| display: inline-flex; |
| align-items: center; |
| } |
| .hfnx-nav-menu::after { |
| content: ""; |
| position: absolute; |
| top: 100%; |
| left: -18px; |
| right: -18px; |
| height: 14px; |
| z-index: 49; |
| } |
| .hfnx-nav-menu__panel { |
| position: absolute; |
| top: calc(100% + 10px); |
| |
| |
| left: -20px; |
| z-index: 50; |
| display: grid; |
| gap: 2px; |
| min-width: 184px; |
| padding: 7px; |
| border: 1px solid rgba(255, 255, 255, 0.11); |
| border-radius: 16px; |
| background: rgba(8, 15, 27, 0.86); |
| box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38); |
| backdrop-filter: blur(18px) saturate(1.15); |
| -webkit-backdrop-filter: blur(18px) saturate(1.15); |
| opacity: 0; |
| pointer-events: none; |
| transform: translate(0, -4px); |
| transition: opacity 150ms ease, transform 150ms ease; |
| } |
| .hfnx-nav-menu:hover .hfnx-nav-menu__panel, |
| .hfnx-nav-menu:focus-within .hfnx-nav-menu__panel { |
| opacity: 1; |
| pointer-events: auto; |
| transform: translate(0, 0); |
| } |
| .hfnx-nav-menu__item { |
| display: block; |
| padding: 9px 12px; |
| border-radius: 11px; |
| line-height: 1; |
| } |
| .hfnx-nav-menu__item:hover, |
| .hfnx-nav-menu__item:focus-visible { |
| background: rgba(255, 255, 255, 0.065); |
| } |
| .hfnx-auth { |
| margin-left: auto; position: relative; display: flex; align-items: center; gap: 9px; |
| } |
| .hfnx-space-like { |
| display: inline-flex; align-items: center; gap: 5px; padding: 8px 13px; |
| border-radius: 999px; border: 1px solid rgba(255, 129, 153, 0.2); |
| color: var(--muted-strong, #c5d0e3); background: rgba(255, 129, 153, 0.045); |
| font: 600 13px "Inter", sans-serif; line-height: 1; white-space: nowrap; |
| box-shadow: 0 0 0 rgba(255, 129, 153, 0); |
| transition: color 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s; |
| } |
| .hfnx-space-like__heart { color: #ff8199; font-size: 14px; line-height: 0.8; } |
| .hfnx-space-like__label--mobile, |
| .hfnx-space-like__label--narrow { display: none; } |
| .hfnx-space-like:hover, |
| .hfnx-space-like:focus-visible { |
| color: var(--text, #f5f8ff); border-color: rgba(255, 129, 153, 0.55); |
| background: rgba(255, 129, 153, 0.1); |
| box-shadow: 0 0 18px rgba(255, 129, 153, 0.12); |
| transform: translateY(-1px); outline: none; |
| } |
| @media (max-width: 640px) { |
| |
| |
| .hfnx-top { flex-wrap: wrap; gap: 8px 16px; } |
| .hfnx-top__nav { |
| order: 3; |
| flex: 1 0 100%; |
| margin-left: 0; |
| overflow-x: auto; |
| scrollbar-width: none; |
| -webkit-overflow-scrolling: touch; |
| padding: 2px 0 4px; |
| } |
| .hfnx-top__nav::-webkit-scrollbar { display: none; } |
| .hfnx-top__nav a { white-space: nowrap; } |
| .hfnx-nav-menu__panel { display: none; } |
| .hfnx-auth { gap: 6px; } |
| .hfnx-space-like { padding: 7px 9px; font-size: 11.5px; } |
| .hfnx-space-like__label--desktop { display: none; } |
| .hfnx-space-like__label--mobile { display: inline; } |
| .hfnx-auth__login { padding-left: 10px; padding-right: 10px; } |
| } |
| .hfnx-auth__login { |
| display: inline-block; padding: 9px 18px; border-radius: 999px; |
| border: 1px solid var(--stroke, rgba(255,255,255,0.1)); |
| color: var(--muted-strong, #c5d0e3); font: 600 13.5px "Inter", sans-serif; |
| background: rgba(255, 255, 255, 0.04); transition: all 0.15s; cursor: pointer; |
| } |
| .hfnx-auth__login:hover { border-color: rgba(156, 255, 99, 0.4); color: var(--text, #f5f8ff); } |
| @media (max-width: 480px) { |
| .hfnx-top { gap: 8px 10px; } |
| .hfnx-auth__login { padding: 8px 9px; font-size: 12.5px; } |
| } |
| @media (max-width: 374px) { |
| .hfnx-auth { gap: 4px; } |
| .hfnx-space-like { padding: 6px 7px; font-size: 11px; } |
| .hfnx-space-like__label--mobile { display: none; } |
| .hfnx-space-like__label--narrow { display: inline; } |
| .hfnx-auth__login { padding: 7px 8px; font-size: 12px; } |
| } |
| .hfnx-auth__chip { |
| display: flex; align-items: center; gap: 9px; padding: 5px 13px 5px 6px; |
| border-radius: 999px; border: 1px solid var(--stroke, rgba(255,255,255,0.1)); |
| background: rgba(255, 255, 255, 0.04); cursor: pointer; |
| font: 600 13.5px "Inter", sans-serif; color: var(--text, #f5f8ff); |
| transition: border-color 0.15s; |
| } |
| .hfnx-auth__chip:hover { border-color: rgba(156, 255, 99, 0.4); } |
| .hfnx-auth__avatar { |
| width: 26px; height: 26px; border-radius: 50%; object-fit: cover; |
| background: #fff; display: block; |
| } |
| .hfnx-auth__avatar--letter { |
| display: flex; align-items: center; justify-content: center; |
| background: linear-gradient(135deg, rgba(156, 255, 99, 0.9), rgba(136, 215, 255, 0.85)); |
| color: #07100d; font: 700 13px "Inter", sans-serif; |
| } |
| .hfnx-auth__menu { |
| position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 180px; |
| display: none; padding: 6px; |
| background: #0a121f; border: 1px solid var(--stroke, rgba(255,255,255,0.1)); |
| border-radius: 14px; box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45); |
| } |
| .hfnx-auth__menu.is-open { display: grid; gap: 2px; } |
| .hfnx-auth__item { |
| display: block; width: 100%; text-align: left; padding: 9px 14px; border: 0; |
| border-radius: 10px; background: transparent; cursor: pointer; |
| color: var(--muted-strong, #c5d0e3); font: 500 13.5px "Inter", sans-serif; |
| } |
| .hfnx-auth__item:hover { background: rgba(255, 255, 255, 0.05); color: var(--text, #f5f8ff); } |
| .hfnx-top__nav a { color: var(--muted, #91a0ba); font-size: 13.5px; transition: color 0.15s; } |
| .hfnx-top__nav a:hover { color: var(--text, #f5f8ff); } |
| .hfnx-hero { padding: 30px 0 0; text-align: center; } |
| |
| |
| .hfnx-hero, .hfnx-command { transition: transform 240ms ease; } |
| @media (min-width: 981px) { |
| body.hfnx-menu-open .hfnx-hero, |
| body.hfnx-menu-open .hfnx-command { transform: translateX(150px); } |
| } |
| |
| |
| |
| body.hfnx-active .hfnx-hero h1 { |
| margin: 0 auto; white-space: nowrap; max-width: none !important; |
| width: 100%; |
| font-size: clamp(1.3rem, 4.2vw, 3.3rem); font-weight: 800; |
| line-height: 1.04; letter-spacing: -0.04em; |
| } |
| .hfnx-hero h1 em { font-style: normal; color: var(--lime, #9cff63); } |
| .hfnx-hero p { |
| margin: 16px auto 0; max-width: 56ch; color: var(--muted-strong, #c5d0e3); |
| font-size: 15.5px; line-height: 1.6; |
| } |
| .hfnx-command { padding: 26px 0 16px; } |
| |
| |
| |
| |
| |
| |
| |
| |
| body.hfnx-active .page.route-landing { overflow: clip; } |
| |
| |
| |
| |
| |
| |
| .hfnx-stick-anchor { display: block; height: 0; width: 100%; } |
| |
| |
| |
| |
| |
| |
| .hfnx-stick, .hfnx-stick *, #hfnx-stick-spacer { overflow-anchor: none; } |
| .hfnx-stick.is-sticky { position: sticky; top: -72px; z-index: 6; } |
| .hfnx-stick.is-sticky.is-pinned { top: 0; } |
| |
| |
| .hfnx-stick::before { |
| content: ""; position: absolute; inset: 0 -22px -34px -22px; z-index: -1; |
| background: linear-gradient(180deg, rgba(5, 9, 20, 0.97) calc(100% - 52px), rgba(5, 9, 20, 0)); |
| opacity: 0; transition: opacity 220ms ease; pointer-events: none; |
| } |
| .hfnx-stick.is-pinned::before { opacity: 1; } |
| .hfnx-stick.arch-open::before { opacity: 1; } |
| |
| |
| |
| .hfnx-stick.is-cover::before { opacity: 1; } |
| |
| |
| .hfnx-stick--swap-clone::before { display: none !important; } |
| |
| |
| |
| |
| .hfnx-stick--glass-wait::before { opacity: 0 !important; } |
| |
| |
| .hfnx-stick--glass-flip::before { transition: none !important; } |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| .hfnx-stick.is-condensing { |
| -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - var(--stick-clip, 0px) - 86px), transparent calc(100% - var(--stick-clip, 0px) - 34px)); |
| -webkit-mask-size: calc(100% + 44px) calc(100% + 134px); |
| -webkit-mask-position: -22px -100px; |
| -webkit-mask-repeat: no-repeat; |
| mask-image: linear-gradient(180deg, #000 calc(100% - var(--stick-clip, 0px) - 86px), transparent calc(100% - var(--stick-clip, 0px) - 34px)); |
| mask-size: calc(100% + 44px) calc(100% + 134px); |
| mask-position: -22px -100px; |
| mask-repeat: no-repeat; |
| } |
| |
| |
| |
| |
| .hfnx-stick .hfnx-hint { transition: opacity 160ms ease, max-height 200ms ease; overflow: hidden; max-height: 40px; } |
| .hfnx-stick.is-pinned { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px 0 12px; } |
| .hfnx-stick.is-pinned .hfnx-command { flex: 1 1 380px; min-width: 280px; padding: 0; margin: 0; } |
| .hfnx-stick.is-pinned .hfnx-command__bar { max-width: none; } |
| .hfnx-stick.is-pinned .hfnx-command__input { padding: 10px 16px 10px 44px; font-size: 14px; } |
| .hfnx-stick.is-pinned .hfnx-command__go { padding: 0 20px; } |
| .hfnx-stick.is-pinned .hfnx-hint { display: none; } |
| .hfnx-stick.is-pinned .hfnx-filterbar { display: contents; } |
| .hfnx-stick.is-pinned .hfnx-status { display: none; } |
| .hfnx-stick.is-pinned .hfnx-sort { margin-left: 0; } |
| .hfnx-stick.is-pinned .hfnx-pills { |
| flex-basis: 100%; flex-wrap: nowrap; gap: 6px; margin-top: 0; |
| overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; |
| scrollbar-width: none; |
| } |
| .hfnx-stick.is-pinned .hfnx-pills::-webkit-scrollbar { display: none; } |
| .hfnx-stick.is-pinned .hfnx-pill { flex: none; } |
| |
| |
| |
| |
| .hfnx-stick.is-pinned .hfnx-archpanel { |
| flex-basis: 100%; min-width: 0; max-width: 100%; |
| margin-top: 0; padding: 10px 12px; |
| } |
| .hfnx-command__bar { display: flex; gap: 10px; align-items: stretch; max-width: 860px; margin: 0 auto; } |
| .hfnx-command__wrap { position: relative; flex: 1; } |
| .hfnx-command__input { |
| width: 100%; padding: 17px 20px 17px 48px; |
| background: rgba(255, 255, 255, 0.05); |
| border: 1px solid rgba(156, 255, 99, 0.22); border-radius: 16px; |
| color: var(--text, #f5f8ff); font: 500 16px "Inter", sans-serif; |
| outline: none; transition: border-color 0.15s, box-shadow 0.15s; |
| } |
| .hfnx-command__input::placeholder { color: #5c6b81; font-weight: 400; } |
| .hfnx-command__input:focus { |
| border-color: rgba(156, 255, 99, 0.55); |
| box-shadow: 0 0 0 3px rgba(156, 255, 99, 0.1), 0 18px 44px rgba(0, 0, 0, 0.35); |
| } |
| .hfnx-command__icon { |
| position: absolute; left: 17px; top: 50%; transform: translateY(-50%); |
| width: 18px; height: 18px; color: #5c6b81; pointer-events: none; |
| } |
| .hfnx-command__go { |
| padding: 0 26px; border: 0; border-radius: 16px; cursor: pointer; |
| background: var(--lime, #9cff63); color: #07100d; |
| font: 700 15px "Inter", sans-serif; white-space: nowrap; |
| transition: transform 0.12s, box-shadow 0.12s; |
| } |
| .hfnx-command__go:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(156, 255, 99, 0.24); } |
| .hfnx-hint { |
| max-width: 860px; margin: 9px auto 0; min-height: 18px; |
| color: var(--muted, #91a0ba); font-size: 12.5px; text-align: center; |
| } |
| .hfnx-hint b { color: var(--lime, #9cff63); font-weight: 600; } |
| .hfnx-hint kbd { |
| font: 600 11px "Inter", sans-serif; color: var(--muted-strong, #c5d0e3); |
| border: 1px solid var(--stroke, rgba(255,255,255,0.1)); border-bottom-width: 2px; |
| border-radius: 5px; padding: 1px 6px; margin: 0 1px; |
| } |
| .hfnx-notify { |
| display: none; max-width: 860px; margin: 14px auto 4px; padding: 16px 18px; |
| border: 1px solid rgba(156, 255, 99, 0.22); border-radius: 16px; |
| background: linear-gradient(120deg, rgba(156, 255, 99, 0.05), rgba(136, 215, 255, 0.04)); |
| text-align: left; position: relative; |
| } |
| .hfnx-notify.is-visible { display: block; } |
| .hfnx-notify__close { |
| position: absolute; top: 10px; right: 12px; width: 26px; height: 26px; |
| border: none; border-radius: 8px; background: none; cursor: pointer; |
| color: var(--muted, #91a0ba); font-size: 17px; line-height: 26px; padding: 0; |
| } |
| .hfnx-notify__close:hover { color: var(--text, #f5f8ff); background: rgba(255, 255, 255, 0.06); } |
| .hfnx-notify__title { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--text, #f5f8ff); } |
| .hfnx-notify__sub { margin: 0 0 12px; font-size: 13px; color: var(--muted, #91a0ba); line-height: 1.5; } |
| .hfnx-notify__row { display: flex; gap: 10px; flex-wrap: wrap; } |
| .hfnx-notify__email { |
| flex: 1 1 240px; padding: 12px 16px; border-radius: 12px; |
| background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke, rgba(255,255,255,0.1)); |
| color: var(--text, #f5f8ff); font: 14px "Inter", sans-serif; outline: none; |
| } |
| .hfnx-notify__email:focus { border-color: rgba(156, 255, 99, 0.45); } |
| .hfnx-notify__btn { |
| padding: 12px 22px; border: 0; border-radius: 12px; cursor: pointer; |
| background: var(--lime, #9cff63); color: #07100d; |
| font: 700 14px "Inter", sans-serif; white-space: nowrap; |
| box-shadow: 0 0 0 rgba(156, 255, 99, 0); |
| transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease; |
| } |
| .hfnx-notify__btn:hover:not(:disabled), |
| .hfnx-notify__btn:focus-visible:not(:disabled) { |
| transform: translateY(-1px); |
| filter: brightness(1.04) saturate(1.04); |
| box-shadow: 0 12px 30px rgba(156, 255, 99, 0.22); |
| outline: none; |
| } |
| .hfnx-notify__btn:disabled { opacity: 0.55; cursor: default; } |
| .hfnx-notify__optin { |
| display: flex; gap: 5px; align-items: flex-start; margin-top: 11px; |
| color: var(--muted, #91a0ba); font-size: 12px; line-height: 1.5; cursor: pointer; |
| } |
| .hfnx-notify__optin input { margin-top: 2px; accent-color: var(--lime, #9cff63); } |
| .hfnx-notify__optin a { color: var(--muted-strong, #c5d0e3); text-decoration: underline; } |
| .hfnx-notify__feedback { margin: 10px 0 0; font-size: 13px; color: var(--lime, #9cff63); } |
| .hfnx-notify__feedback.is-error { color: #ff9d9d; } |
| |
| |
| |
| .hfnx-notify--popover { |
| position: absolute; z-index: 60; margin: 0; max-width: none; |
| padding: 16px; |
| background: #0b1322; |
| border: 1px solid #434a78; |
| border-radius: 14px; |
| box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55); |
| } |
| .hfnx-notify--popover .hfnx-notify__title { padding-right: 26px; } |
| |
| |
| .hfnx-stick.is-pinned .hfnx-notify--popover { display: none; } |
| .hfnx-filterbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; } |
| .hfnx-status { color: var(--muted, #91a0ba); font-size: 13px; } |
| .hfnx-status b { color: var(--text, #f5f8ff); font-weight: 600; } |
| .hfnx-status .hfnx-dot { |
| display: inline-block; width: 7px; height: 7px; border-radius: 999px; |
| background: var(--lime, #9cff63); margin-right: 7px; vertical-align: 1px; |
| animation: hfnx-pulse 2.6s ease-in-out infinite; |
| } |
| @keyframes hfnx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } } |
| .hfnx-sort { |
| margin-left: auto; |
| border: 1px solid var(--stroke, rgba(255,255,255,0.1)); |
| border-radius: 999px; color: var(--text, #f5f8ff); font: 13px "Inter", sans-serif; |
| padding: 8px 36px 8px 14px; outline: none; cursor: pointer; |
| |
| |
| -webkit-appearance: none; |
| appearance: none; |
| background: |
| url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c5d0e3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") |
| no-repeat right 12px center / 13px 13px, |
| rgba(255, 255, 255, 0.04); |
| } |
| .hfnx-sort option { background: #0a121f; } |
| .hfnx-browse { |
| color: var(--lime, #9cff63); font-size: 0.76rem; font-weight: 700; |
| letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; |
| } |
| .hfnx-browse:hover { text-decoration: underline; } |
| .hfnx-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; } |
| .hfnx-pill { |
| background: transparent; border: 1px solid var(--stroke, rgba(255,255,255,0.1)); |
| border-radius: 999px; color: var(--muted, #91a0ba); font: 12.5px "Inter", sans-serif; |
| padding: 6px 13px; cursor: pointer; transition: all 0.15s; white-space: nowrap; |
| } |
| .hfnx-stick.is-pinned .hfnx-pill { padding-inline: 10px; font-size: 12px; } |
| .hfnx-pill:hover { color: var(--text, #f5f8ff); border-color: rgba(156, 255, 99, 0.35); } |
| .hfnx-pill.is-on { color: #07100d; background: var(--lime, #9cff63); border-color: var(--lime, #9cff63); font-weight: 600; } |
| .hfnx-pill__count { opacity: 0.6; margin-left: 3px; font-variant-numeric: tabular-nums; } |
| .hfnx-pill__avatar { |
| width: 15px; height: 15px; border-radius: 4px; object-fit: cover; |
| vertical-align: -3px; margin: -2px 6px -1px -3px; |
| } |
| .hfnx-pill__avatar--user { border-radius: 50%; } |
| .hfnx-pill--archtoggle svg, |
| .hfnx-pill--orgtoggle svg { width: 13px; height: 13px; fill: currentColor; vertical-align: -2px; margin-right: 6px; } |
| .hfnx-pill--archtoggle.is-open, |
| .hfnx-pill--orgtoggle.is-open { border-color: rgba(156, 255, 99, 0.55); color: var(--text, #f5f8ff); } |
| .hfnx-archpanel { |
| margin-top: 10px; padding: 12px 14px; border-radius: 16px; |
| border: 1px solid rgba(156, 255, 99, 0.22); |
| background: linear-gradient(120deg, rgba(156, 255, 99, 0.045), rgba(136, 215, 255, 0.035)); |
| text-align: left; |
| } |
| .hfnx-archpanel[hidden] { display: none !important; } |
| .hfnx-archpanel__hint { margin: 0 0 10px; font-size: 12.5px; color: var(--muted, #91a0ba); } |
| .hfnx-archpanel__hint a { color: var(--muted-strong, #c5d0e3); } |
| .hfnx-archpanel__pills { margin-top: 0; } |
| |
| |
| |
| |
| |
| |
| |
| |
| @media (max-width: 720px) { |
| .hfnx-stick.arch-open #hfnx-pills .hfnx-pill:not(.is-on):not(.hfnx-pill--archtoggle):not(.hfnx-pill--orgtoggle) { |
| display: none; |
| } |
| .hfnx-stick.arch-open .hfnx-archpanel__pills { |
| flex-wrap: wrap; |
| flex-basis: auto; |
| overflow-x: hidden; |
| overflow-y: auto; |
| max-height: 340px; |
| max-height: min(46dvh, 380px); |
| overscroll-behavior: contain; |
| -webkit-overflow-scrolling: touch; |
| padding-bottom: 4px; |
| } |
| } |
| .hfnx-archlearn { |
| margin-left: 10px; font-size: 12.5px; font-weight: 700; |
| color: var(--sky, #88d7ff); text-decoration: none; white-space: nowrap; |
| } |
| .hfnx-archlearn:hover { text-decoration: underline; } |
| .hfnx-arch-tooltip { |
| position: fixed; z-index: 2147483647; pointer-events: none; |
| max-width: min(360px, calc(100vw - 16px)); |
| background: #111422; border: 1px solid #2f354a; border-radius: 8px; |
| padding: 0.4rem 0.6rem; font-size: 0.83rem; line-height: 1.45; |
| color: var(--text, #f5f8ff); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); |
| opacity: 0; transition: opacity 0.15s ease; text-align: left; |
| } |
| .hfnx-arch-tooltip.is-visible { opacity: 1; } |
| .hfnx-arch-tooltip strong { color: #fff; } |
| .hfnx-grid { position: relative; margin-top: 20px; } |
| .hfnx-card { |
| position: absolute; top: 0; left: 0; color: var(--text, #f5f8ff); |
| display: flex; flex-direction: column; gap: 13px; padding: 13px; |
| border: 1px solid var(--stroke, rgba(255,255,255,0.1)); border-radius: 22px; |
| background: rgba(255, 255, 255, 0.04); |
| box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26); |
| cursor: pointer; text-align: left; |
| transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease; |
| } |
| .hfnx-card:hover, .hfnx-card:focus-visible { |
| transform: translateY(-4px); |
| border-color: rgba(156, 255, 99, 0.32); |
| box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(156, 255, 99, 0.12); |
| outline: none; |
| } |
| .hfnx-card__art { |
| display: flex; position: relative; align-items: center; justify-content: center; |
| padding: 18px 16px 14px; border-radius: 16px; |
| border: 1px solid rgba(255, 255, 255, 0.07); |
| background: |
| radial-gradient(circle at 50% 0%, rgba(136, 215, 255, 0.12), transparent 52%), |
| radial-gradient(circle at 20% 12%, rgba(156, 255, 99, 0.1), transparent 32%), |
| linear-gradient(180deg, rgba(9, 16, 29, 0.92), rgba(5, 9, 20, 0.98)); |
| overflow: hidden; min-height: 90px; |
| } |
| .hfnx-card__img { width: 100%; height: auto; display: block; } |
| .hfnx-card__level { |
| position: absolute; left: 16px; right: 16px; top: 18px; bottom: 14px; |
| width: calc(100% - 32px); height: calc(100% - 32px); |
| object-fit: contain; opacity: 0; transition: opacity 380ms ease; |
| pointer-events: none; |
| } |
| .hfnx-card__level.is-on { opacity: 1; } |
| .hfnx-card__img { transition: opacity 380ms ease; } |
| .hfnx-card__art.is-leveled .hfnx-card__img { opacity: 0; } |
| .hfnx-card__video { |
| position: absolute; inset: 0; width: 100%; height: 100%; |
| border-radius: inherit; |
| object-fit: contain; opacity: 0; transition: opacity 200ms ease; |
| pointer-events: none; |
| } |
| .hfnx-card__video.is-on { opacity: 1; } |
| .hfnx-card__meta { display: grid; gap: 6px; padding: 0 4px 3px; } |
| .hfnx-new-count { |
| appearance: none; -webkit-appearance: none; |
| display: inline-flex; align-items: center; |
| margin: -6px -7px; padding: 6px 7px; |
| border: 0; border-radius: 999px; background: transparent; |
| color: #9cff63; font: inherit; font-weight: 600; line-height: inherit; |
| cursor: pointer; white-space: nowrap; |
| transition: color 150ms ease, background 150ms ease, box-shadow 150ms ease; |
| } |
| .hfnx-new-count-control { display: inline-flex; align-items: center; } |
| .hfnx-new-count-separator { |
| |
| |
| margin: 0 0.45ch; |
| opacity: 1; |
| transition: opacity 150ms ease; |
| } |
| .hfnx-new-count-control:has(.hfnx-new-count:not(.is-on):hover) .hfnx-new-count-separator { |
| opacity: 0; |
| } |
| |
| |
| |
| .hfnx-new-count:hover { |
| background: rgba(156, 255, 99, 0.055); |
| box-shadow: inset 0 0 0 1px rgba(156, 255, 99, 0.35); |
| } |
| .hfnx-new-count:focus-visible { |
| outline: none; |
| background: rgba(156, 255, 99, 0.07); |
| box-shadow: inset 0 0 0 1px rgba(156, 255, 99, 0.55), 0 0 0 2px rgba(156, 255, 99, 0.16); |
| } |
| .hfnx-new-count.is-on { |
| color: #07100d; background: var(--lime, #9cff63); |
| box-shadow: inset 0 0 0 1px var(--lime, #9cff63); |
| } |
| .hfnx-new-count.is-on:hover { background: #b1ff85; box-shadow: inset 0 0 0 1px #b1ff85; } |
| .hfnx-card__new { display: inline-block; margin-left: 7px; padding: 1px 6px 1.5px; border-radius: 999px; background: rgba(156, 255, 99, 0.14); border: 1px solid rgba(156, 255, 99, 0.34); color: #9cff63; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; vertical-align: 2px; } |
| .hfnx-card__label { display: flex; align-items: flex-start; gap: 9px; line-height: 1.3; } |
| .hfnx-card__avatar { |
| width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; |
| border-radius: 6px; object-fit: cover; background: #fff; padding: 1px; |
| } |
| .hfnx-card__avatar--user { border-radius: 50%; } |
| .hfnx-card__dot { width: 8px; flex: 0 0 8px; height: 8px; align-self: center; border-radius: 999px; background: var(--lime, #9cff63); } |
| |
| |
| |
| .hfnx-card__img--live { max-height: 340px; object-fit: contain; } |
| .hfnx-card__title { font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; } |
| .hfnx-card__owner { color: #8d9cb6; font-weight: 600; } |
| .hfnx-card__sub { color: var(--muted, #91a0ba); font-size: 0.8rem; } |
| .hfnx-card__action { |
| color: var(--lime, #9cff63); font-size: 0.72rem; font-weight: 700; |
| letter-spacing: 0.08em; text-transform: uppercase; margin-top: 1px; |
| } |
| |
| |
| .hfnx-card--k3 .hfnx-card__art { min-height: 168px; padding: 0; } |
| .hfnx-card__img--k3blur { |
| position: absolute; inset: 0; width: 100%; height: 100%; |
| object-fit: cover; object-position: center 30%; |
| filter: blur(9px) saturate(1.4) brightness(1.03); |
| transform: scale(1.08); |
| } |
| .hfnx-k3__shade { |
| position: absolute; inset: 0; border-radius: inherit; |
| background: radial-gradient(86% 72% at 50% 47%, rgba(4, 9, 16, 0.62), rgba(4, 9, 16, 0.12)); |
| } |
| .hfnx-k3__over { |
| position: absolute; inset: 0; display: flex; flex-direction: column; |
| align-items: center; justify-content: center; gap: 1px; text-align: center; |
| padding: 10px; pointer-events: none; |
| } |
| .hfnx-k3__tag { font-size: 10px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: #9cffcf; } |
| .hfnx-k3__rel { margin-top: 9px; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #9fc0d6; } |
| .hfnx-k3__time { font-size: 46px; font-weight: 800; line-height: 1; color: #eef8ff; font-variant-numeric: tabular-nums; text-shadow: 0 0 22px rgba(120, 220, 255, 0.55); } |
| .hfnx-k3__subo { margin-top: 5px; font-size: 12px; font-weight: 600; color: #bfd4e7; } |
| .hfnx-skel { |
| position: absolute; top: 0; left: 0; border-radius: 22px; |
| border: 1px solid var(--stroke, rgba(255,255,255,0.1)); |
| background: |
| linear-gradient(100deg, transparent 32%, rgba(156, 255, 99, 0.05) 48%, rgba(136, 215, 255, 0.06) 52%, transparent 68%), |
| rgba(255, 255, 255, 0.03); |
| background-size: 220% 100%, auto; |
| animation: hfnx-pulse 2.2s ease-in-out infinite; |
| } |
| .hfnx-showmore { display: none; text-align: center; margin-top: 26px; } |
| .hfnx-showmore.is-visible { display: block; } |
| .hfnx-showmore button { |
| padding: 12px 26px; border-radius: 999px; cursor: pointer; |
| background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke, rgba(255,255,255,0.1)); |
| color: var(--muted-strong, #c5d0e3); font: 600 13.5px "Inter", sans-serif; transition: all 0.15s; |
| } |
| .hfnx-showmore button:hover { border-color: rgba(156, 255, 99, 0.4); color: var(--text, #f5f8ff); } |
| .hfnx-empty { display: none; text-align: center; color: var(--muted, #91a0ba); padding: 46px 0 30px; font-size: 15px; } |
| .hfnx-empty.is-visible { display: block; } |
| .hfnx-empty b { color: var(--text, #f5f8ff); } |
| .hfnx-empty__cta { |
| display: inline-block; margin-top: 14px; padding: 11px 22px; border-radius: 12px; |
| background: var(--lime, #9cff63); color: #07100d; font-weight: 700; font-size: 14px; |
| } |
| .hfnx-empty__didyou { display: block; margin-top: 16px; font-size: 13px; } |
| .hfnx-empty__suggs { |
| display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; |
| margin-top: 10px; |
| } |
| .hfnx-empty__sugg { |
| display: inline-block; padding: 8px 14px; border-radius: 999px; |
| border: 1px solid var(--stroke, rgba(255, 255, 255, 0.1)); |
| background: rgba(255, 255, 255, 0.04); |
| color: var(--text, #f5f8ff); font-size: 13px; text-decoration: none; |
| } |
| .hfnx-empty__sugg:hover { border-color: rgba(156, 255, 99, 0.45); } |
| .hfnx-empty__hint { |
| display: block; max-width: 460px; margin: 18px auto 0; |
| font-size: 13px; line-height: 1.55; color: var(--muted, #91a0ba); |
| } |
| .hfnx-bottom { margin-bottom: 26px; } |
|
|
| |
| |
| |
| |
| |
| .hf-model-card--catalog .hf-model-card__art, |
| .hf-model-card--graph-preview .hf-model-card__art { |
| display: flex; position: relative; align-items: center; justify-content: center; |
| margin: 0 0 10px; padding: 20px 18px 16px; |
| border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.06); |
| background: |
| radial-gradient(circle at 50% 0%, rgba(136, 215, 255, 0.12), transparent 52%), |
| radial-gradient(circle at 20% 12%, rgba(156, 255, 99, 0.1), transparent 32%), |
| linear-gradient(180deg, rgba(9, 16, 29, 0.92), rgba(5, 9, 20, 0.98)), #050914; |
| overflow: hidden; |
| } |
| .hf-model-card--catalog .hf-model-card__graph, |
| .hf-model-card--graph-preview .hf-model-card__graph { |
| position: relative; z-index: 1; display: block; |
| width: 100%; max-width: none; height: auto; padding: 0; |
| filter: saturate(0.98) contrast(1.04) drop-shadow(0 16px 26px rgba(0, 0, 0, 0.24)); |
| transition: opacity 380ms ease; |
| } |
| .hf-model-card__art.is-leveled .hf-model-card__graph { opacity: 0; } |
| .hf-model-card__video { |
| position: absolute; inset: 0; width: 100%; height: 100%; |
| border-radius: inherit; object-fit: contain; |
| opacity: 0; transition: opacity 200ms ease; pointer-events: none; |
| } |
| .hf-model-card__video.is-on { opacity: 1; } |
| .hf-model-card__level { |
| position: absolute; left: 18px; right: 18px; top: 20px; bottom: 16px; |
| width: calc(100% - 36px); height: calc(100% - 36px); |
| object-fit: contain; opacity: 0; transition: opacity 380ms ease; |
| pointer-events: none; |
| } |
| .hf-model-card__level.is-on { opacity: 1; } |
| .hf-model-card__id { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } |
| .hf-model-card__avatar { |
| width: 28px; height: 28px; border-radius: 8px; object-fit: cover; |
| background: #fff; padding: 2px; flex: none; |
| } |
| .hf-model-card__avatar--user { border-radius: 50%; } |
| .hf-model-card__id-text { min-width: 0; } |
| .hf-model-card--catalog .hf-model-card__repo { font-size: 13.5px; } |
| .hf-model-card--catalog .hf-model-card__meta { margin-top: 0; } |
|
|
| |
| |
| |
| body.hfnx-active .page.route-hf-models { |
| overflow: clip; |
| position: relative; |
| isolation: isolate; |
| } |
| body.hfnx-active .hf-models-column__head { |
| position: sticky; top: 0; z-index: 32; |
| display: grid; grid-template-columns: minmax(0, 1fr) auto; |
| gap: 10px; align-items: center; min-height: 46px; |
| margin: -6px -10px 8px; padding: 10px 10px 8px; |
| } |
| |
| |
| |
| .hf-models-sticky-veil { |
| position: fixed; top: 0; left: 0; right: 0; height: 96px; |
| z-index: 24; pointer-events: none; opacity: 0; |
| transition: opacity 200ms ease; |
| background: linear-gradient( |
| 180deg, |
| rgba(11, 15, 32, 0.97) 0%, |
| rgba(11, 15, 32, 0.9) 46%, |
| rgba(11, 15, 32, 0) 100%); |
| } |
| .hf-models-sticky-veil.is-visible { opacity: 1; } |
| body.hfnx-active .hf-models-column__head > h3 { margin: 0; } |
| body.hfnx-active .hf-models-column__head > * { |
| position: relative; |
| z-index: 2; |
| } |
| body.hfnx-active .hf-models-column__head h3 { white-space: nowrap; } |
| body.hfnx-active .hf-models-column__head.is-pinned { |
| min-height: 46px; |
| } |
|
|
| |
| |
| body.hfnx-active .hf-models-dashboard__stats { display: none !important; } |
| body.hfnx-active #hf-models-dashboard-intro { display: none; } |
| |
| |
| |
| body.hfnx-active .hf-models-column h3 { |
| position: static; top: auto; z-index: auto; |
| padding: 0; margin: 0; border: 0; border-radius: 0; |
| background: none; backdrop-filter: none; box-shadow: none; |
| display: flex; align-items: center; justify-content: space-between; |
| font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; |
| color: var(--muted, #91a0ba); font-weight: 650; |
| } |
| body.hfnx-active .hf-models-column h3[data-count]::after { |
| content: attr(data-count); |
| display: inline-grid; place-items: center; |
| min-width: 20px; height: 20px; padding: 0 7px; |
| border-radius: 999px; font-size: 11px; font-weight: 700; |
| letter-spacing: 0; background: rgba(255, 255, 255, 0.07); |
| color: var(--muted, #91a0ba); |
| } |
| body.hfnx-active .hf-models-column h3:not([data-count="0"]):not([data-count="..."])[data-count]::after { |
| background: rgba(156, 255, 99, 0.16); |
| color: var(--lime, #9cff63); |
| } |
| |
| body.hfnx-active .hf-models-dashboard { padding-bottom: 24px; } |
| body.hfnx-active .hf-models-column { min-height: 0; } |
| body.hfnx-active .hf-models-column__list:empty { min-height: 0; } |
| |
| body.hfnx-active .hf-model-card__actions { flex-wrap: nowrap; } |
| body.hfnx-active .hf-model-card__actions .hf-model-card__button { |
| flex: 1 1 0; min-width: 0; padding: 7px 8px; |
| display: inline-flex; align-items: center; justify-content: center; gap: 6px; |
| white-space: nowrap; font-size: 13px; border-radius: 10px; |
| } |
| |
| |
| body.hfnx-active .hf-model-card__actions .hf-model-card__button--write { flex-grow: 1.22; } |
| body.hfnx-active .hf-model-card__actions .hf-model-card__button--feature { flex-grow: 0.78; } |
| |
| body.hfnx-active .hf-models-dashboard__button { |
| width: 100%; margin: 0 0 12px; padding: 7px 14px; |
| display: inline-flex; align-items: center; justify-content: center; gap: 8px; |
| border-radius: 10px; font-size: 13.5px; font-weight: 650; |
| } |
| body.hfnx-active .hf-models-column__head .hf-models-dashboard__button { |
| width: auto; min-width: 0; min-height: 25px; |
| margin: 0; padding: 3px 11px; |
| border-radius: 8px; font-size: 12px; |
| white-space: nowrap; |
| } |
| body.hfnx-active .hf-models-dashboard__button--primary { |
| background: linear-gradient(180deg, #a6ff70, #8df453); |
| box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); |
| } |
| body.hfnx-active .hf-models-dashboard__button--secondary .hf-button-icon { width: 13px; height: 13px; } |
| |
| |
| |
| body.hfnx-active.route-hf-models .hfnx-top .brand-stack__menu { |
| background: rgba(10, 18, 31, 0.72); |
| -webkit-backdrop-filter: blur(18px) saturate(1.25); |
| backdrop-filter: blur(18px) saturate(1.25); |
| border: 1px solid rgba(255, 255, 255, 0.12); |
| border-radius: 18px; |
| padding: 14px; |
| box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08); |
| } |
| |
| |
| @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { |
| body.hfnx-active.route-hf-models .hfnx-top .brand-stack__menu { |
| background: rgba(10, 16, 28, 0.96); |
| } |
| } |
| |
| |
| |
| @media (max-width: 860px) { |
| body.hfnx-active .hfnx-top .brand-stack__menu { |
| background: rgba(10, 18, 31, 0.9); |
| -webkit-backdrop-filter: blur(18px) saturate(1.25); |
| backdrop-filter: blur(18px) saturate(1.25); |
| border: 1px solid rgba(255, 255, 255, 0.12); |
| border-radius: 18px; |
| padding: 14px; |
| box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08); |
| } |
| } |
| @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { |
| @media (max-width: 860px) { |
| body.hfnx-active .hfnx-top .brand-stack__menu { |
| background: rgba(10, 16, 28, 0.97); |
| } |
| } |
| } |
| |
| |
| |
| |
| body.hfnx-active .hfnx-top .brand-stack__menu::after { |
| content: ""; |
| position: absolute; |
| inset: -20px -26px -26px -20px; |
| z-index: 0; |
| } |
|
|
| |
| |
| |
| |
| |
| |
| body.hfnx-active .hf-models-page { |
| background: transparent !important; |
| } |
| body.hfnx-active .hf-models-dashboard { |
| --hf-models-column-title-sticky-top: max(14px, env(safe-area-inset-top)); |
| border: 0; |
| border-radius: 0; |
| background: transparent; |
| box-shadow: none; |
| padding: 8px 0 60px; |
| } |
| body.hfnx-active .hf-models-dashboard__top { align-items: flex-start; gap: 18px; } |
| body.hfnx-active .hf-models-dashboard__heading .eyebrow { |
| display: inline-flex; align-items: center; gap: 8px; |
| font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; |
| color: var(--muted, #91a0ba); background: none; border: 0; padding: 0; |
| } |
| body.hfnx-active .hf-models-dashboard__heading .eyebrow::before { |
| content: ""; width: 7px; height: 7px; border-radius: 50%; |
| background: var(--lime, #9cff63); box-shadow: 0 0 12px rgba(156, 255, 99, 0.8); |
| } |
| body.hfnx-active .hf-models-dashboard__heading h2 { |
| margin: 10px 0 6px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04; |
| letter-spacing: -0.04em; color: var(--text, #f5f8ff); font-weight: 800; |
| } |
| body.hfnx-active .hf-models-dashboard__intro { |
| color: var(--muted, #91a0ba); font-size: 15px; margin: 0; |
| } |
| body.hfnx-active .hf-models-dashboard__user { |
| display: none; |
| } |
| body.hfnx-active .hf-bookmarks-page { |
| padding: 8px 0 26px; |
| } |
| body.hfnx-active .hf-bookmarks-page__heading .eyebrow { |
| display: inline-flex; align-items: center; gap: 8px; |
| font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; |
| color: var(--muted, #91a0ba); background: none; border: 0; padding: 0; |
| } |
| body.hfnx-active .hf-bookmarks-page__heading .eyebrow::before { |
| content: ""; width: 7px; height: 7px; border-radius: 50%; |
| background: var(--lime, #9cff63); box-shadow: 0 0 12px rgba(156, 255, 99, 0.8); |
| } |
| body.hfnx-active .hf-bookmarks-page__heading h2 { |
| margin: 10px 0 6px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04; |
| letter-spacing: -0.04em; color: var(--text, #f5f8ff); font-weight: 800; |
| } |
| body.hfnx-active .hf-bookmarks-page__intro { |
| color: var(--muted, #91a0ba); font-size: 15px; margin: 0; |
| } |
| |
| body.hfnx-active .hf-models-dashboard__stats { gap: 8px; margin: 20px 0 4px; } |
| body.hfnx-active .hf-models-dashboard__stat { |
| display: inline-flex; align-items: center; gap: 8px; |
| border: 1px solid var(--stroke, rgba(255,255,255,0.09)); |
| background: rgba(255, 255, 255, 0.035); border-radius: 999px; |
| padding: 7px 15px; color: var(--muted-strong, #c5d0e3); |
| font: 600 13px "Inter", sans-serif; cursor: pointer; |
| transition: border-color 0.15s, color 0.15s, transform 0.12s; |
| box-shadow: none; |
| } |
| body.hfnx-active .hf-models-dashboard__stat:hover { |
| border-color: rgba(156, 255, 99, 0.45); color: var(--text, #f5f8ff); |
| transform: translateY(-1px); |
| } |
| body.hfnx-active .hf-models-dashboard__stat-count { |
| display: inline-grid; place-items: center; min-width: 22px; height: 22px; |
| padding: 0 6px; border-radius: 999px; background: rgba(156, 255, 99, 0.14); |
| color: var(--lime, #9cff63); font-weight: 800; font-size: 12px; |
| } |
| |
| body.hfnx-active .hf-models-dashboard__columns { gap: 14px; } |
| body.hfnx-active .hf-models-column { |
| border: 1px solid var(--stroke, rgba(255,255,255,0.09)); |
| background: rgba(255, 255, 255, 0.028); |
| border-radius: 18px; padding: 18px 16px 16px; |
| box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045); |
| } |
| body.hfnx-active .hf-models-column > h3 { |
| margin: -4px 0 12px; font-size: 12px; letter-spacing: 0.14em; |
| text-transform: uppercase; color: var(--muted, #91a0ba); font-weight: 600; |
| border-color: rgba(156, 255, 99, 0.12); |
| background: |
| radial-gradient(circle at 12% 0%, rgba(156, 255, 99, 0.1), transparent 42%), |
| linear-gradient(180deg, rgba(7, 14, 25, 0.92), rgba(4, 9, 17, 0.78)); |
| } |
| body.hfnx-active .hf-models-dashboard__bookmarks { |
| border: 0; background: transparent; box-shadow: none; padding: 0; |
| margin-top: 18px; |
| } |
| body.hfnx-active .hf-models-column__intro { |
| color: var(--muted, #91a0ba); font-size: 13px; margin-top: -6px; |
| } |
| |
| body.hfnx-active .hf-model-card { |
| border: 1px solid var(--stroke, rgba(255,255,255,0.09)); |
| background: linear-gradient(180deg, rgba(11, 18, 32, 0.85), rgba(6, 11, 22, 0.92)); |
| border-radius: 16px; padding: 14px 14px 12px; |
| transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease; |
| box-shadow: none; |
| } |
| body.hfnx-active .hf-model-card:hover { |
| transform: translateY(-3px); |
| border-color: rgba(156, 255, 99, 0.35); |
| box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42); |
| } |
| body.hfnx-active .hf-model-card__repo { |
| color: var(--text, #f5f8ff); font-weight: 700; font-size: 14px; |
| letter-spacing: -0.01em; overflow-wrap: anywhere; |
| } |
| body.hfnx-active .hf-model-card__meta { |
| color: var(--muted, #91a0ba); font-size: 12px; margin-top: 2px; |
| } |
| body.hfnx-active .hf-model-card__preview-link { |
| display: block; margin: 12px 0 10px; border-radius: 12px; overflow: hidden; |
| } |
| |
| |
| |
| body.hfnx-active .hf-model-card__preview { |
| display: block; margin: 0 auto; padding: 0; |
| background: none; border-radius: 0; height: auto; min-height: 0; max-height: none; |
| } |
| body.hfnx-active .hf-model-card--catalog .hf-model-card__preview, |
| body.hfnx-active .hf-model-card--graph-preview .hf-model-card__preview { padding: 0; } |
| body.hfnx-active .hf-model-card { display: flex; flex-direction: column; } |
| body.hfnx-active .hf-model-card__actions { |
| display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 2px; |
| } |
| body.hfnx-active .hf-model-card[data-dashboard-bucket="ready"] .hf-model-card__actions, |
| body.hfnx-active .hf-model-card[data-dashboard-bucket="featured"] .hf-model-card__actions { |
| grid-area: auto; |
| width: 100%; |
| height: auto; |
| display: flex; |
| flex-wrap: nowrap; |
| align-items: stretch; |
| align-self: stretch; |
| margin-top: auto; |
| padding-top: 8px; |
| } |
| body.hfnx-active .hf-model-card[data-dashboard-bucket="ready"] .hf-model-card__button, |
| body.hfnx-active .hf-model-card[data-dashboard-bucket="featured"] .hf-model-card__button { |
| width: 100%; |
| min-width: 0; |
| min-height: 36px; |
| height: auto; |
| flex: 1 1 100%; |
| flex-direction: row; |
| white-space: nowrap; |
| } |
| |
| body.hfnx-active .hf-models-dashboard__button, |
| body.hfnx-active .hf-model-card__button { |
| border-radius: 10px; border: 1px solid var(--stroke, rgba(255,255,255,0.09)); |
| background: rgba(255, 255, 255, 0.05); color: var(--muted-strong, #c5d0e3); |
| font: 620 13.5px/1.2 "Inter", sans-serif; padding: 7px 14px; cursor: pointer; |
| transition: all 0.14s ease; box-shadow: none; text-shadow: none; |
| } |
| body.hfnx-active .hf-models-dashboard__button:hover, |
| body.hfnx-active .hf-models-dashboard__button:focus-visible, |
| body.hfnx-active .hf-model-card__button:hover, |
| body.hfnx-active .hf-model-card__button:focus-visible { |
| border-color: rgba(156, 255, 99, 0.45); color: var(--text, #f5f8ff); |
| transform: translateY(-1px); |
| outline: none; |
| } |
| body.hfnx-active .hf-models-dashboard__button--primary, |
| body.hfnx-active .hf-model-card__button--primary { |
| background: var(--lime, #9cff63); border-color: transparent; color: #07100d; |
| font-weight: 700; |
| } |
| body.hfnx-active .hf-models-dashboard__button--primary:hover, |
| body.hfnx-active .hf-models-dashboard__button--primary:focus-visible, |
| body.hfnx-active .hf-model-card__button--primary:hover, |
| body.hfnx-active .hf-model-card__button--primary:focus-visible { |
| color: #07100d; box-shadow: 0 10px 28px rgba(156, 255, 99, 0.24); |
| border-color: transparent; filter: brightness(1.04) saturate(1.04); |
| } |
| body.hfnx-active.route-hf-models .hf-models-page:not(.hf-article-login-page) .hf-models-login__actions { |
| display: flex; |
| align-items: center; |
| flex-wrap: nowrap; |
| gap: 12px; |
| } |
| body.hfnx-active.route-hf-models .hf-models-page:not(.hf-article-login-page) .hf-models-login__button { |
| flex: 0 1 360px; |
| width: auto; |
| min-width: min(100%, 286px); |
| padding: 0 22px; |
| white-space: nowrap; |
| } |
| body.hfnx-active.route-hf-models .hf-models-page:not(.hf-article-login-page) .hf-models-login__back { |
| flex: 0 0 auto; |
| width: auto; |
| min-width: 136px; |
| margin: 0; |
| padding: 0 18px; |
| white-space: nowrap; |
| } |
| body.hfnx-active.route-hf-article-login .hf-models-login__actions, |
| .page.route-hf-article-login .hf-models-login__actions { |
| display: flex; |
| align-items: center; |
| flex-wrap: wrap; |
| gap: 12px; |
| } |
| body.hfnx-active.route-hf-article-login .hf-models-login__button, |
| .page.route-hf-article-login .hf-models-login__button { |
| flex: 0 0 auto; |
| width: auto; |
| min-width: min(100%, 292px); |
| padding: 0 22px; |
| white-space: nowrap; |
| } |
| body.hfnx-active.route-hf-article-login .hf-models-login__back, |
| .page.route-hf-article-login .hf-models-login__back { |
| flex: 0 0 auto; |
| width: auto; |
| min-width: 132px; |
| margin: 0; |
| padding: 0 18px; |
| white-space: nowrap; |
| } |
| @media (max-width: 720px) { |
| body.hfnx-active.route-hf-models .hf-models-page:not(.hf-article-login-page) .hf-models-login__actions, |
| body.hfnx-active.route-hf-article-login .hf-models-login__actions, |
| .page.route-hf-article-login .hf-models-login__actions { |
| display: grid; |
| grid-template-columns: 1fr; |
| } |
| body.hfnx-active.route-hf-models .hf-models-page:not(.hf-article-login-page) .hf-models-login__button, |
| body.hfnx-active.route-hf-models .hf-models-page:not(.hf-article-login-page) .hf-models-login__back, |
| body.hfnx-active.route-hf-article-login .hf-models-login__button, |
| body.hfnx-active.route-hf-article-login .hf-models-login__back, |
| .page.route-hf-article-login .hf-models-login__button, |
| .page.route-hf-article-login .hf-models-login__back { |
| width: 100%; |
| min-width: 0; |
| white-space: normal; |
| } |
| } |
| body.hfnx-active .hf-models-empty { color: var(--muted, #91a0ba); } |
| |
| body.hfnx-active .hf-models-loading { |
| display: grid; justify-items: center; align-content: center; gap: 8px; |
| min-height: 46vh; text-align: center; |
| border: 0; background: transparent; box-shadow: none; |
| } |
| body.hfnx-active .hf-models-loading[hidden] { display: none; } |
| body.hfnx-active .hf-models-loading .eyebrow { |
| font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; |
| color: var(--muted, #91a0ba); background: none; border: 0; |
| justify-self: center; width: fit-content; margin: 0; |
| } |
| body.hfnx-active .hf-models-loading h2 { |
| margin: 4px 0 2px; font-size: clamp(24px, 2.6vw, 34px); |
| letter-spacing: -0.04em; color: var(--text, #f5f8ff); font-weight: 800; |
| } |
| body.hfnx-active .hf-models-loading .hf-models-login__status { |
| color: var(--muted, #91a0ba); font-size: 14px; |
| } |
| body.hfnx-active .hf-models-loading::before { |
| content: ""; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 10px; |
| background: linear-gradient(135deg, #9cff63, #57d364); |
| box-shadow: 0 0 34px rgba(156, 255, 99, 0.45); |
| animation: hfnx-load-pulse 1.15s ease-in-out infinite; |
| } |
| body.hfnx-active .hf-models-loading::after { |
| content: ""; width: min(320px, 70vw); height: 8px; border-radius: 999px; |
| margin-top: 18px; |
| background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(156,255,99,0.28) 50%, rgba(255,255,255,0.05) 75%); |
| background-size: 200% 100%; |
| animation: hfnx-load-shimmer 1.3s linear infinite; |
| } |
| @keyframes hfnx-load-pulse { |
| 0%, 100% { transform: scale(1); opacity: 1; } |
| 50% { transform: scale(0.9); opacity: 0.75; } |
| } |
| @keyframes hfnx-load-shimmer { |
| from { background-position: 200% 0; } |
| to { background-position: -200% 0; } |
| } |
| |