Babu09 commited on
Commit
ba4f7b8
·
verified ·
1 Parent(s): 66069a8

Mat2Bot front: one box, the story (no engine code)

Browse files
Files changed (3) hide show
  1. explore/data/site.json +1 -1
  2. story/story.css +31 -0
  3. story/story.html +5 -5
explore/data/site.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "version": "0.1.0",
3
- "commit": "dd64ce0",
4
  "built": "2026-11-05",
5
  "evaluation": {
6
  "total": 124,
 
1
  {
2
  "version": "0.1.0",
3
+ "commit": "5e43ce5",
4
  "built": "2026-11-05",
5
  "evaluation": {
6
  "total": 124,
story/story.css CHANGED
@@ -161,3 +161,34 @@ input:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:1px}
161
  .st-answered .st-intro h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
162
  .st-answered .st-inputhead p { display: none; }
163
  .st-batch { display: block; margin: .5em 0 0; font-size: .95rem; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  .st-answered .st-intro h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
162
  .st-answered .st-inputhead p { display: none; }
163
  .st-batch { display: block; margin: .5em 0 0; font-size: .95rem; }
164
+
165
+
166
+ /* the three stages numbered; the three points as cards with icons */
167
+ .st-process i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: .74rem; font-weight: 750; background: var(--accent-weak); color: var(--accent); }
168
+ .st-process span:not(:last-child)::after { margin-left: 6px; }
169
+ .st-pillars { gap: 16px; border: 0; margin: 28px 0 34px; }
170
+ .st-pillars > div, .st-pillars > div:first-child { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 18px 20px; background: var(--card);
171
+ border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
172
+ .st-pillars > div + div { border-left: 1px solid var(--line); }
173
+ .st-pillars .st-ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-weak); color: var(--accent); }
174
+ .st-pillars .st-ic svg { width: 22px; height: 22px; display: block; }
175
+ .st-pillars strong { margin-top: 2px; }
176
+ html, body { overflow-x: clip; }
177
+ .st-ask { position: relative; isolation: isolate; }
178
+ .st-ask::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; }
179
+ @media (max-width: 620px) { .st-pillars > div + div { border-top: 1px solid var(--line); } .st-pillars { gap: 12px; } }
180
+
181
+ /* a navy band behind the headline, as on the explorer's hero; the input card floats on it (full width: ::before spans the viewport) */
182
+ .st-ask { color: #e2e8f0; padding-bottom: 56px; }
183
+ .st-ask::before { background: radial-gradient(circle at 80% 28%, rgba(56,189,248,.20), transparent 42%),
184
+ radial-gradient(rgba(148,163,184,.14) 1px, transparent 1.3px) 0 0 / 22px 22px, linear-gradient(160deg, #0b1220 0%, #12234a 55%, #1d3a8a 100%); }
185
+ .st-ask .st-kicker { color: #38bdf8; }
186
+ .st-ask .st-intro h1 { color: #fff; }
187
+ .st-ask .st-intro .st-lead { color: #cbd5e1; }
188
+ .st-ask .st-process span { color: #e2e8f0; }
189
+ .st-ask .st-process i { background: rgba(56,189,248,.18); color: #7dd3fc; }
190
+ .st-ask > .st-scope { color: #94a3b8; border-left-color: rgba(148,163,184,.35); }
191
+ .st-ask > .st-scope b { color: #e2e8f0; }
192
+ .st-inputpanel { color: var(--fg); border: 0; box-shadow: 0 24px 60px rgba(2,6,23,.45); }
193
+ .st-answered .st-ask { padding-bottom: 28px; }
194
+ .st-answered .st-answer { margin-top: 26px; }
story/story.html CHANGED
@@ -20,10 +20,10 @@
20
  <section class="st-ask" aria-label="Plan a synthesis">
21
  <div class="st-intro">
22
  <p class="st-kicker">Evidence-grounded materials synthesis</p>
23
- <h1>From a material to a defensible synthesis route.</h1>
24
  <p class="st-lead">Enter a chemical formula or crystal structure. Mat2Bot examines documented routes, checks the chemistry, and explains what a laboratory could do—and what is still uncertain.</p>
25
  <div class="st-process" aria-label="Planning stages">
26
- <span>Identify the target</span><span>Assess routes</span><span>Check laboratory fit</span>
27
  </div>
28
  </div>
29
  <p class="st-scope"><b>What it plans:</b> cooling crystallization, antisolvent crystallization, precipitation in water and solution hydrolysis,
@@ -55,9 +55,9 @@
55
  </div>
56
  </section>
57
  <section class="st-pillars" aria-label="What each plan tells you">
58
- <div><strong>Scientific support</strong><span>Evidence, limitations, and unresolved questions.</span></div>
59
- <div><strong>Laboratory fit</strong><span>What equipment and human decisions are needed.</span></div>
60
- <div><strong>Traceable reasoning</strong><span>Sources, calculations, and audit records where available.</span></div>
61
  </section>
62
  <section id="answer" class="st-answer" hidden aria-live="polite"></section>
63
  <div id="story" class="st-story" hidden></div>
 
20
  <section class="st-ask" aria-label="Plan a synthesis">
21
  <div class="st-intro">
22
  <p class="st-kicker">Evidence-grounded materials synthesis</p>
23
+ <h1>From a material to a synthesis route.</h1>
24
  <p class="st-lead">Enter a chemical formula or crystal structure. Mat2Bot examines documented routes, checks the chemistry, and explains what a laboratory could do—and what is still uncertain.</p>
25
  <div class="st-process" aria-label="Planning stages">
26
+ <span><i>1</i>Identify the target</span><span><i>2</i>Assess routes</span><span><i>3</i>Check laboratory fit</span>
27
  </div>
28
  </div>
29
  <p class="st-scope"><b>What it plans:</b> cooling crystallization, antisolvent crystallization, precipitation in water and solution hydrolysis,
 
55
  </div>
56
  </section>
57
  <section class="st-pillars" aria-label="What each plan tells you">
58
+ <div><span class="st-ic" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"/><path d="M14 3v5h5"/><path d="m9 15 2 2 4-4"/></svg></span><strong>Scientific support</strong><span>Evidence, limitations, and unresolved questions.</span></div>
59
+ <div><span class="st-ic" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M9 3h6"/><path d="M10 3v6.5L4.6 18.2A1.8 1.8 0 0 0 6.1 21h11.8a1.8 1.8 0 0 0 1.5-2.8L14 9.5V3"/><path d="M7.5 15h9"/></svg></span><strong>Laboratory fit</strong><span>What equipment and human decisions are needed.</span></div>
60
+ <div><span class="st-ic" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="6" r="2.5"/><circle cx="18" cy="8" r="2.5"/><circle cx="10" cy="18" r="2.5"/><path d="M8.4 6.4l7.2 1.2M6.8 8.4l2.4 7.2M16.6 10.1l-4.9 6"/></svg></span><strong>Traceable reasoning</strong><span>Sources, calculations, and audit records where available.</span></div>
61
  </section>
62
  <section id="answer" class="st-answer" hidden aria-live="polite"></section>
63
  <div id="story" class="st-story" hidden></div>