Spaces:
Running
Running
Align legacy detection demo with WR92 course navigation
Browse files- index.html +19 -15
- wr92-language.js +2 -2
- wr92-theme.css +176 -0
index.html
CHANGED
|
@@ -15,28 +15,32 @@
|
|
| 15 |
/>
|
| 16 |
|
| 17 |
<link rel="stylesheet" href="./style.css" />
|
| 18 |
-
<style id="wr92-shared-classroom-nav">
|
| 19 |
-
.wr92-course-nav{max-width:1160px;margin:12px auto 0;padding:16px 18px;border:1px solid #dce4f0;border-radius:16px;background:#f8fbff;color:#243047;font-family:system-ui,-apple-system,sans-serif;line-height:1.5}
|
| 20 |
-
.wr92-course-nav strong{font-size:0.97rem}
|
| 21 |
-
.wr92-course-nav .wr92-nav-row{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0 12px}
|
| 22 |
-
.wr92-course-nav a{display:inline-block;padding:7px 10px;border:1px solid #dae2ee;border-radius:9px;background:#fff;color:#1644a3;text-decoration:none;font-size:0.84rem}
|
| 23 |
-
.wr92-course-nav a:hover,.wr92-course-nav a:focus-visible{background:#e6efff;text-decoration:underline}
|
| 24 |
-
.wr92-course-nav a[aria-current="page"]{border-color:#3d70d2;background:#eaf1ff;font-weight:700}
|
| 25 |
-
.wr92-course-nav p{font-size:0.88rem;margin:5px 0;color:#405169}
|
| 26 |
-
.wr92-course-nav .wr92-cap{border-top:1px solid #dce4f0;padding-top:10px}
|
| 27 |
-
</style>
|
| 28 |
<link rel="stylesheet" href="./wr92-language.css">
|
|
|
|
| 29 |
<script defer src="./wr92-language.js"></script>
|
| 30 |
</head>
|
| 31 |
|
| 32 |
<body>
|
| 33 |
-
<
|
| 34 |
-
<
|
| 35 |
-
|
| 36 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
<main class="page-shell">
|
| 39 |
-
<
|
| 40 |
|
| 41 |
<nav class="guide-linkbar" aria-label="Course guide">
|
| 42 |
<span>Building your own AI mini app?</span>
|
|
|
|
| 15 |
/>
|
| 16 |
|
| 17 |
<link rel="stylesheet" href="./style.css" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
<link rel="stylesheet" href="./wr92-language.css">
|
| 19 |
+
<link rel="stylesheet" href="./wr92-theme.css">
|
| 20 |
<script defer src="./wr92-language.js"></script>
|
| 21 |
</head>
|
| 22 |
|
| 23 |
<body>
|
| 24 |
+
<header class="wr92-shell">
|
| 25 |
+
<div class="wr92-shell-inner">
|
| 26 |
+
<a class="wr92-brand" href="https://huggingface.co/spaces/wr92-course/README"><span class="wr92-brand-mark" aria-hidden="true">W·</span><span>WR92 <span class="wr92-brand-light">COURSE</span></span></a>
|
| 27 |
+
<nav class="wr92-site-links" aria-label="Course navigation">
|
| 28 |
+
<a href="https://huggingface.co/spaces/wr92-course/README"><span class="wr92-en">Home</span><span class="wr92-zh">首页</span></a>
|
| 29 |
+
<a href="https://huggingface.co/spaces/wr92-course/object-detection-lab" aria-current="page"><span class="wr92-en">Object detection</span><span class="wr92-zh">目标检测</span></a>
|
| 30 |
+
<a href="https://huggingface.co/spaces/wr92-course/image-generation-lab"><span class="wr92-en">Image generation</span><span class="wr92-zh">图像生成</span></a>
|
| 31 |
+
<a href="https://huggingface.co/spaces/miyuki17/creative-technology-image-generation">SDXL Turbo</a>
|
| 32 |
+
<a href="https://huggingface.co/spaces/miyuki17/creative-technology-sana-sprint">SANA-Sprint</a>
|
| 33 |
+
<a class="wr92-feature-link" href="https://wr92-course-object-detection-lab.static.hf.space/#detect-create"><span class="wr92-en">Detect → Create</span><span class="wr92-zh">检测 → 生成</span></a>
|
| 34 |
+
</nav>
|
| 35 |
+
<div class="wr92-language-toolbar" role="group" aria-label="Language / 语言">
|
| 36 |
+
<button type="button" data-wr92-lang="en" aria-pressed="true" disabled>EN</button>
|
| 37 |
+
<button type="button" data-wr92-lang="zh" aria-pressed="false" disabled>中文</button>
|
| 38 |
+
</div>
|
| 39 |
+
</div>
|
| 40 |
+
</header>
|
| 41 |
|
| 42 |
<main class="page-shell">
|
| 43 |
+
<p class="wr92-course-note"><span class="wr92-en"><strong>No Hugging Face GPU needed</strong> · Detection runs in your browser and does not use HF GPU minutes or generation calls. Device, network and model downloads can still limit it.</span><span class="wr92-zh"><strong>目标检测不消耗 Hugging Face GPU</strong> · 检测在本机浏览器完成,没有 ZeroGPU 分钟或生成次数限制,但仍受设备、网络和模型下载影响。</span> <a href="https://huggingface.co/docs/hub/spaces-zerogpu" target="_blank" rel="noopener noreferrer"><span class="wr92-en">ZeroGPU policy ↗</span><span class="wr92-zh">ZeroGPU 官方规则 ↗</span></a></p>
|
| 44 |
|
| 45 |
<nav class="guide-linkbar" aria-label="Course guide">
|
| 46 |
<span>Building your own AI mini app?</span>
|
wr92-language.js
CHANGED
|
@@ -32,7 +32,7 @@
|
|
| 32 |
|
| 33 |
function paintText(node) {
|
| 34 |
const element = node.parentElement;
|
| 35 |
-
if (!element || element.closest("script,style,textarea,[data-wr92-lang],.wr92-language-toolbar")) return;
|
| 36 |
const current = node.nodeValue || "";
|
| 37 |
if (!current.trim()) return;
|
| 38 |
let raw = originalText.get(node);
|
|
@@ -62,7 +62,7 @@
|
|
| 62 |
}
|
| 63 |
|
| 64 |
function paintAttributes(el) {
|
| 65 |
-
if (!el || !el.attributes || el.closest(".wr92-language-toolbar")) return;
|
| 66 |
let seen = attrOriginal.get(el) || {}, painted = attrPainted.get(el) || {};
|
| 67 |
for (const key of controls) {
|
| 68 |
if (!el.hasAttribute(key)) continue;
|
|
|
|
| 32 |
|
| 33 |
function paintText(node) {
|
| 34 |
const element = node.parentElement;
|
| 35 |
+
if (!element || element.closest("script,style,textarea,[data-wr92-lang],.wr92-language-toolbar,.wr92-shell,.wr92-course-note")) return;
|
| 36 |
const current = node.nodeValue || "";
|
| 37 |
if (!current.trim()) return;
|
| 38 |
let raw = originalText.get(node);
|
|
|
|
| 62 |
}
|
| 63 |
|
| 64 |
function paintAttributes(el) {
|
| 65 |
+
if (!el || !el.attributes || el.closest(".wr92-language-toolbar,.wr92-shell,.wr92-course-note")) return;
|
| 66 |
let seen = attrOriginal.get(el) || {}, painted = attrPainted.get(el) || {};
|
| 67 |
for (const key of controls) {
|
| 68 |
if (!el.hasAttribute(key)) continue;
|
wr92-theme.css
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* WR92 Course visual system · 2026-11-16
|
| 2 |
+
Distributed unchanged to the student Spaces. No remote font or GPU dependency. */
|
| 3 |
+
:root {
|
| 4 |
+
--wr-ink:#182941;
|
| 5 |
+
--wr-muted:#607187;
|
| 6 |
+
--wr-blue:#245eac;
|
| 7 |
+
--wr-blue-strong:#19498b;
|
| 8 |
+
--wr-line:#dce4ed;
|
| 9 |
+
--wr-canvas:#f7f9fc;
|
| 10 |
+
--wr-paper:#fff;
|
| 11 |
+
--wr-soft:#edf4fc;
|
| 12 |
+
--wr-radius:12px;
|
| 13 |
+
--ink:var(--wr-ink);
|
| 14 |
+
--muted:var(--wr-muted);
|
| 15 |
+
--line:var(--wr-line);
|
| 16 |
+
--accent:var(--wr-blue);
|
| 17 |
+
--blue:var(--wr-blue);
|
| 18 |
+
color-scheme:light;
|
| 19 |
+
font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
|
| 20 |
+
}
|
| 21 |
+
html { scroll-behavior:smooth; scroll-padding-top:92px; }
|
| 22 |
+
body { background:var(--wr-canvas); color:var(--wr-ink); }
|
| 23 |
+
[hidden] { display:none!important; }
|
| 24 |
+
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
|
| 25 |
+
outline:3px solid #8eafd8; outline-offset:3px;
|
| 26 |
+
}
|
| 27 |
+
html[lang="en"] .wr92-zh,html:not([lang^="zh"]) .wr92-zh { display:none!important; }
|
| 28 |
+
html[lang^="zh"] .wr92-en { display:none!important; }
|
| 29 |
+
.wr92-shell {
|
| 30 |
+
background:rgba(255,255,255,.97);
|
| 31 |
+
border-bottom:1px solid var(--wr-line);
|
| 32 |
+
width:100%; z-index:30; position:relative;
|
| 33 |
+
color:var(--wr-ink); font-size:14px; line-height:1.35;
|
| 34 |
+
}
|
| 35 |
+
.wr92-shell-inner {
|
| 36 |
+
width:min(1200px,calc(100% - 44px)); min-height:76px;
|
| 37 |
+
margin:0 auto; display:flex; align-items:center; gap:23px;
|
| 38 |
+
}
|
| 39 |
+
.wr92-brand {
|
| 40 |
+
flex-shrink:0; display:inline-flex; align-items:center; gap:10px;
|
| 41 |
+
font-weight:800; letter-spacing:-.025em; font-size:15px;
|
| 42 |
+
white-space:nowrap; text-decoration:none; color:var(--wr-ink);
|
| 43 |
+
}
|
| 44 |
+
.wr92-brand:hover {text-decoration:none;}
|
| 45 |
+
.wr92-brand-mark {
|
| 46 |
+
display:grid; place-items:center; width:32px; height:32px;
|
| 47 |
+
border-radius:8px; background:#1e497c; color:#fff; font-size:17px;
|
| 48 |
+
font-weight:800; letter-spacing:-.07em;
|
| 49 |
+
}
|
| 50 |
+
.wr92-brand .wr92-brand-light { font-weight:500; letter-spacing:.12em; font-size:11px; }
|
| 51 |
+
.wr92-site-links { display:flex; align-items:center; gap:3px; flex:1; min-width:0; flex-wrap:wrap; }
|
| 52 |
+
.wr92-site-links a {
|
| 53 |
+
color:#53647a; text-decoration:none; font-weight:650; font-size:12px;
|
| 54 |
+
border:1px solid transparent; border-radius:7px; padding:9px 10px;
|
| 55 |
+
white-space:nowrap; transition:background .14s,border-color .14s,color .14s;
|
| 56 |
+
}
|
| 57 |
+
.wr92-site-links a:hover,.wr92-site-links a:focus-visible { background:#eff5fc; color:var(--wr-blue-strong); }
|
| 58 |
+
.wr92-site-links a[aria-current="page"] { background:#edf4fc; color:#19508e; border-color:#dae6f5; }
|
| 59 |
+
.wr92-site-links a.wr92-feature-link { color:var(--wr-blue-strong); }
|
| 60 |
+
.wr92-shell .language,.wr92-shell .wr92-language-toolbar {
|
| 61 |
+
margin:0 0 0 auto; max-width:none; padding:3px; display:inline-flex;
|
| 62 |
+
gap:3px; flex-shrink:0; align-items:center; justify-content:flex-end;
|
| 63 |
+
border:1px solid #dce4ed; border-radius:8px; background:#f8fafd;
|
| 64 |
+
}
|
| 65 |
+
.wr92-shell .language button,.wr92-shell .wr92-language-toolbar button {
|
| 66 |
+
min-width:40px; min-height:31px; padding:6px 9px; font-size:12px; font-weight:750;
|
| 67 |
+
border:0; border-radius:5px; background:transparent; color:#556983; cursor:pointer;
|
| 68 |
+
}
|
| 69 |
+
.wr92-shell .language button[aria-pressed="true"],.wr92-shell .wr92-language-toolbar button[aria-pressed="true"] {
|
| 70 |
+
background:#1e497c; color:#fff;
|
| 71 |
+
}
|
| 72 |
+
.wr92-shell .wr92-language-toolbar button:disabled {cursor:default;}
|
| 73 |
+
.wr92-course-note {
|
| 74 |
+
max-width:1160px; margin:12px auto 0; padding:10px 13px; border:1px solid #e0e8f1;
|
| 75 |
+
border-radius:9px; background:#f0f5fa; color:#526581; font-size:12px; line-height:1.55;
|
| 76 |
+
}
|
| 77 |
+
.wr92-course-note a { color:#225c9d; font-weight:700; }
|
| 78 |
+
.wr92-subnav { display:flex; gap:18px; align-items:center; flex-wrap:wrap; padding:16px 0; color:#536681; font-size:12px; }
|
| 79 |
+
.wr92-subnav a {color:#4b6686;text-decoration:none;font-weight:650;}
|
| 80 |
+
.wr92-subnav a:hover {text-decoration:underline;}
|
| 81 |
+
|
| 82 |
+
/* The lesson pages keep their content and scientific charts, but share rhythm. */
|
| 83 |
+
body .page-shell { padding-top:42px; }
|
| 84 |
+
body .page-shell>.hero { max-width:900px; margin-bottom:35px; }
|
| 85 |
+
body .page-shell h1 { color:var(--wr-ink); font-size:clamp(2.65rem,4.9vw,4.5rem); line-height:1.08; }
|
| 86 |
+
body .page-shell .lede { color:var(--wr-muted); }
|
| 87 |
+
body .page-shell .card,body .page-shell .explain { border-color:var(--wr-line); border-radius:var(--wr-radius); box-shadow:0 5px 18px #193d6510; background:#fff; }
|
| 88 |
+
body .page-shell .step-number { background:#1e497c; }
|
| 89 |
+
body .page-shell .run-button { background:#245eac; border-radius:8px; }
|
| 90 |
+
body .page-shell .run-button:hover:not(:disabled) {background:#19498b;}
|
| 91 |
+
body .page-shell .file-input {border-radius:8px;}
|
| 92 |
+
body .page-shell .sample-card {border-radius:9px;}
|
| 93 |
+
body .page-shell .eyebrow,body .page-shell .section-kicker { color:#426b9a; letter-spacing:.11em; }
|
| 94 |
+
|
| 95 |
+
body .topline {height:0;}
|
| 96 |
+
body .masthead.wrap {min-height:0;justify-content:flex-start; padding-top:0;}
|
| 97 |
+
body .masthead .wordmark {display:none;}
|
| 98 |
+
body .masthead nav {padding:13px 0;color:#607187;font-size:12px;gap:20px;}
|
| 99 |
+
body .masthead nav a {color:#526e8c;}
|
| 100 |
+
body .wrap {width:min(1160px,calc(100% - 44px));}
|
| 101 |
+
body .hero.wrap {padding:42px 0 65px;}
|
| 102 |
+
body .hero h1 {font-size:clamp(2.65rem,4.9vw,4.65rem);}
|
| 103 |
+
body .hero-gallery,body .architecture-card,body .panel,body .real-sample,body .practice-grid article,
|
| 104 |
+
body .prompt-staircase-gallery figure,body .inference-status {border-color:var(--wr-line);border-radius:var(--wr-radius);box-shadow:0 5px 18px #193d650b;}
|
| 105 |
+
body .primary {background:#245eac;border-radius:8px;box-shadow:none;}
|
| 106 |
+
body .primary:hover {background:#19498b;}
|
| 107 |
+
body .model-area,body .inference-area {background:#f0f5fa;}
|
| 108 |
+
body .architecture-card p {line-height:1.66;}
|
| 109 |
+
|
| 110 |
+
/* Homepage uses real course examples and a compact first screen. */
|
| 111 |
+
body .site-shell {max-width:1250px;}
|
| 112 |
+
body .site-header {display:none;}
|
| 113 |
+
body .site-shell .hero {grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:42px;padding:65px 0 72px;}
|
| 114 |
+
body .site-shell .hero h1 {font-size:clamp(39px,4.25vw,61px);line-height:1.08;margin:18px 0 18px;}
|
| 115 |
+
body .site-shell .hero-intro {font-size:16px;line-height:1.65;}
|
| 116 |
+
body .site-shell .hero-ctas {margin-top:24px;}
|
| 117 |
+
body .site-shell .course-section {padding:45px 0 67px;}
|
| 118 |
+
body .site-shell .course-visual {border-radius:8px;}
|
| 119 |
+
body .site-shell .course-card,body .site-shell .demo-card {border-radius:var(--wr-radius);box-shadow:0 5px 18px #193d650b;}
|
| 120 |
+
body .site-shell .course-visual {height:176px;}
|
| 121 |
+
body .site-shell .course-content {padding:20px 24px 24px;}
|
| 122 |
+
body .site-shell .course-desc {min-height:0;}
|
| 123 |
+
body .site-shell .tech-list {margin:15px 0 19px;}
|
| 124 |
+
body .site-shell .section-top h2 {font-size:clamp(26px,2.8vw,36px);}
|
| 125 |
+
.wr92-proof-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0; }
|
| 126 |
+
.wr92-proof-grid figure { margin:0;min-width:0;background:#fff;border:1px solid var(--wr-line);border-radius:10px;overflow:hidden; }
|
| 127 |
+
.wr92-proof-grid img { display:block;width:100%;aspect-ratio:4/3;object-fit:cover; }
|
| 128 |
+
.wr92-proof-grid figcaption {display:grid;gap:4px;padding:11px 12px;font-size:12px;line-height:1.3;color:#556782;}
|
| 129 |
+
.wr92-proof-grid figcaption strong {font-size:12px;color:#243c5d;}
|
| 130 |
+
.wr92-visual-caption {font-size:11px;color:#718198;margin:9px 0 0;}
|
| 131 |
+
.wr92-workflow-highlight { padding:43px 0 62px; border-top:1px solid var(--wr-line); }
|
| 132 |
+
.wr92-workflow-highlight .flow-card {display:grid;grid-template-columns:1.05fr .95fr;gap:30px;padding:30px;border:1px solid #cbdceb;background:#eaf2f9;border-radius:12px;}
|
| 133 |
+
.wr92-workflow-highlight .flow-steps {display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0;}
|
| 134 |
+
.wr92-workflow-highlight .flow-steps span {font-size:12px;color:#375777;border-top:2px solid #95b6d9;padding-top:10px;}
|
| 135 |
+
.wr92-workflow-highlight h2 {font-size:32px;letter-spacing:-.035em;margin:12px 0;}
|
| 136 |
+
.wr92-workflow-highlight p {color:#536a85;line-height:1.7;font-size:14px;}
|
| 137 |
+
.wr92-workflow-highlight .flow-action {align-self:center;justify-self:end;}
|
| 138 |
+
|
| 139 |
+
/* New Detect → Create activity. Its image input stays in the verified detector. */
|
| 140 |
+
.wr92-flow-section {margin:35px 0;padding:30px;border:1px solid #cbdceb;border-radius:12px;background:linear-gradient(135deg,#eaf2fa,#f8fbfe);scroll-margin-top:20px;}
|
| 141 |
+
.wr92-flow-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:20px;}
|
| 142 |
+
.wr92-flow-heading h2 {font-size:clamp(1.65rem,2.8vw,2.35rem);line-height:1.2;margin:8px 0 10px;letter-spacing:-.035em;}
|
| 143 |
+
.wr92-flow-heading p {color:#536681;line-height:1.6;max-width:760px;margin:0 0 22px;}
|
| 144 |
+
.wr92-flow-kicker {font-size:11px;font-weight:800;letter-spacing:.12em;color:#37699d;}
|
| 145 |
+
.wr92-flow-grid {display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start;}
|
| 146 |
+
.wr92-flow-panel {border:1px solid #dce6f0;border-radius:10px;background:#fff;padding:22px;min-width:0;}
|
| 147 |
+
.wr92-flow-panel h3 {font-size:17px;line-height:1.35;margin:0 0 14px;}
|
| 148 |
+
.wr92-flow-panel label {display:block;margin:16px 0 7px;font-size:13px;font-weight:750;}
|
| 149 |
+
.wr92-flow-panel textarea,.wr92-flow-panel select {width:100%;padding:11px 12px;border:1px solid #b9cadc;border-radius:8px;background:#fff;color:#203751;font:inherit;font-size:14px;}
|
| 150 |
+
.wr92-flow-panel textarea {resize:vertical;min-height:103px;}
|
| 151 |
+
.wr92-flow-panel button {border:0;border-radius:8px;background:#245eac;color:#fff;min-height:44px;padding:12px 16px;font-weight:750;cursor:pointer;}
|
| 152 |
+
.wr92-flow-panel button:disabled {opacity:.5;cursor:not-allowed;}
|
| 153 |
+
.wr92-flow-panel .flow-chips {display:flex;gap:7px;flex-wrap:wrap;min-height:25px;}
|
| 154 |
+
.wr92-flow-panel .flow-chips span {padding:6px 10px;border:1px solid #d9e5f0;border-radius:6px;background:#f5f8fc;color:#385c81;font-size:12px;font-weight:700;}
|
| 155 |
+
.wr92-flow-panel .flow-help {color:#697991;font-size:12px;line-height:1.55;margin:10px 0;}
|
| 156 |
+
.wr92-flow-panel .flow-status {font-size:13px;color:#365877;line-height:1.5;min-height:20px;}
|
| 157 |
+
.wr92-flow-panel .flow-output {display:block;width:100%;max-height:360px;aspect-ratio:1/1;object-fit:contain;background:#f1f5fa;border-radius:8px;border:1px solid #dce6f0;}
|
| 158 |
+
.wr92-flow-panel .flow-receipt {max-height:170px;overflow:auto;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8fa;padding:10px;border-radius:7px;color:#526176;}
|
| 159 |
+
.wr92-flow-panel .flow-open-link {display:inline-flex;margin-top:12px;color:#245eac;text-decoration:underline;font-size:12px;font-weight:750;}
|
| 160 |
+
/* Gradio exposes the same navigation and visual tokens without changing GPU callbacks. */
|
| 161 |
+
.gradio-container {max-width:1220px!important;margin:0 auto!important;background:var(--wr-canvas)!important;color:var(--wr-ink)!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;}
|
| 162 |
+
.gradio-container h1 {font-size:clamp(2.4rem,4vw,3.7rem);letter-spacing:-.04em;line-height:1.13;}
|
| 163 |
+
.gradio-container h2 {letter-spacing:-.025em;}
|
| 164 |
+
.gradio-container .prose {color:var(--wr-ink);line-height:1.68;}
|
| 165 |
+
.gradio-container .prose a {color:var(--wr-blue);}
|
| 166 |
+
.gradio-container .block,.gradio-container .form {border-color:var(--wr-line)!important;border-radius:var(--wr-radius)!important;}
|
| 167 |
+
.gradio-container button.primary {background:var(--wr-blue)!important;border-radius:8px!important;}
|
| 168 |
+
.gradio-container button.primary:hover {background:var(--wr-blue-strong)!important;}
|
| 169 |
+
.gradio-container .wr92-lang-row {justify-content:flex-end;margin-top:-3px;margin-bottom:8px;}
|
| 170 |
+
.gradio-container .wr92-lang-row button {border-radius:7px!important;font-weight:750;max-width:72px;}
|
| 171 |
+
#wr92-course-head {width:100%;}
|
| 172 |
+
#wr92-course-head .wr92-shell {border:1px solid var(--wr-line);border-radius:10px;}
|
| 173 |
+
#wr92-course-head .wr92-shell-inner {width:calc(100% - 28px);}
|
| 174 |
+
@media(max-width:1110px){.wr92-shell-inner{flex-wrap:wrap;padding:13px 0;gap:8px 18px}.wr92-site-links{order:3;width:100%;flex-basis:100%}.wr92-shell .language,.wr92-shell .wr92-language-toolbar{margin-left:auto}}
|
| 175 |
+
@media(max-width:760px){.wr92-shell-inner{width:calc(100% - 28px)}.wr92-site-links{gap:2px}.wr92-site-links a{padding:7px 8px;font-size:11px}.wr92-proof-grid{grid-template-columns:1fr 1fr}.wr92-workflow-highlight .flow-card,.wr92-flow-grid{grid-template-columns:1fr}.wr92-workflow-highlight .flow-action{justify-self:start}.wr92-workflow-highlight .flow-steps{gap:6px}.wr92-flow-section{padding:20px}.wr92-flow-panel{padding:17px}}
|
| 176 |
+
@media(prefers-reduced-motion:reduce){.wr92-site-links a{transition:none}html{scroll-behavior:auto}}
|