@drunkcoding/agents-and-skills 0.0.45 → 0.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -47
- package/README.md +3 -6
- package/package.json +4 -1
- package/plugins/multica-tool/.claude-plugin/plugin.json +1 -1
- package/plugins/multica-tool/scripts/lib.mjs +53 -4
- package/plugins/multica-tool/scripts/multica-export.mjs +135 -32
- package/plugins/multica-tool/scripts/multica-import.mjs +192 -17
- package/plugins/multica-tool/skills/export/SKILL.md +84 -14
- package/plugins/multica-tool/skills/import/SKILL.md +22 -7
- package/plugins/multica-tool/skills/sync/SKILL.md +1 -1
- package/plugins/plugin-validator/.claude-plugin/plugin.json +1 -1
- package/plugins/html-effectiveness/.claude-plugin/plugin.json +0 -17
- package/plugins/html-effectiveness/README.md +0 -28
- package/plugins/html-effectiveness/agents/report-builder.md +0 -66
- package/plugins/html-effectiveness/assets/base.css +0 -51
- package/plugins/html-effectiveness/assets/base.js +0 -11
- package/plugins/html-effectiveness/assets/charts.js +0 -1
- package/plugins/html-effectiveness/assets/components.css +0 -10
- package/plugins/html-effectiveness/commands/html-report.md +0 -13
- package/plugins/html-effectiveness/docs/template-gallery.md +0 -28
- package/plugins/html-effectiveness/package.json +0 -6
- package/plugins/html-effectiveness/scripts/_tmp.js +0 -37
- package/plugins/html-effectiveness/scripts/catalog.js +0 -47
- package/plugins/html-effectiveness/scripts/extract.js +0 -104
- package/plugins/html-effectiveness/scripts/mustache.js +0 -90
- package/plugins/html-effectiveness/scripts/render.js +0 -176
- package/plugins/html-effectiveness/skills/html-effectiveness/SKILL.md +0 -94
- package/plugins/html-effectiveness/templates/01-exploration-code-approaches.html.tmpl +0 -400
- package/plugins/html-effectiveness/templates/02-exploration-visual-designs.html.tmpl +0 -456
- package/plugins/html-effectiveness/templates/03-code-review-pr.html.tmpl +0 -581
- package/plugins/html-effectiveness/templates/04-code-understanding.html.tmpl +0 -443
- package/plugins/html-effectiveness/templates/05-design-system.html.tmpl +0 -578
- package/plugins/html-effectiveness/templates/06-component-variants.html.tmpl +0 -557
- package/plugins/html-effectiveness/templates/07-prototype-animation.html.tmpl +0 -417
- package/plugins/html-effectiveness/templates/08-prototype-interaction.html.tmpl +0 -363
- package/plugins/html-effectiveness/templates/09-slide-deck.html.tmpl +0 -535
- package/plugins/html-effectiveness/templates/10-svg-illustrations.html.tmpl +0 -444
- package/plugins/html-effectiveness/templates/11-status-report.html.tmpl +0 -152
- package/plugins/html-effectiveness/templates/12-incident-report.html.tmpl +0 -547
- package/plugins/html-effectiveness/templates/13-flowchart-diagram.html.tmpl +0 -361
- package/plugins/html-effectiveness/templates/14-research-feature-explainer.html.tmpl +0 -348
- package/plugins/html-effectiveness/templates/15-research-concept-explainer.html.tmpl +0 -334
- package/plugins/html-effectiveness/templates/16-implementation-plan.html.tmpl +0 -657
- package/plugins/html-effectiveness/templates/17-pr-writeup.html.tmpl +0 -553
- package/plugins/html-effectiveness/templates/18-editor-triage-board.html.tmpl +0 -541
- package/plugins/html-effectiveness/templates/19-editor-feature-flags.html.tmpl +0 -627
- package/plugins/html-effectiveness/templates/20-editor-prompt-tuner.html.tmpl +0 -687
- package/plugins/html-effectiveness/templates/manifest.json +0 -441
- package/plugins/team-share/.claude-plugin/plugin.json +0 -18
- package/plugins/team-share/README.md +0 -46
- package/plugins/team-share/agents/team-share.md +0 -53
- package/plugins/team-share/commands/team-share.md +0 -4
- package/plugins/team-share/skills/claude-config/SKILL.md +0 -143
- package/plugins/team-share/skills/codegraph-setup/SKILL.md +0 -81
- package/plugins/team-share/skills/understand-setup/SKILL.md +0 -115
- package/plugins/tech-graph/.claude-plugin/plugin.json +0 -17
- package/plugins/tech-graph/README.md +0 -66
- package/plugins/tech-graph/agents/tech-graph.md +0 -97
- package/plugins/tech-graph/commands/tech-graph.md +0 -13
- package/plugins/tech-graph/scripts/check-deps.sh +0 -55
- package/plugins/tech-graph/skills/tech-graph/LICENSE +0 -21
- package/plugins/tech-graph/skills/tech-graph/README.md +0 -555
- package/plugins/tech-graph/skills/tech-graph/README.zh.md +0 -514
- package/plugins/tech-graph/skills/tech-graph/SKILL.md +0 -263
- package/plugins/tech-graph/skills/tech-graph/agents/openai.yaml +0 -4
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style1-flat.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style2-dark.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style3-blueprint.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style4-notion.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style5-glass.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style6-claude.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style7-openai.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/fixtures/agent-memory-types-style4.json +0 -181
- package/plugins/tech-graph/skills/tech-graph/fixtures/api-flow-style7.json +0 -40
- package/plugins/tech-graph/skills/tech-graph/fixtures/mem0-style1.json +0 -297
- package/plugins/tech-graph/skills/tech-graph/fixtures/microservices-style3.json +0 -64
- package/plugins/tech-graph/skills/tech-graph/fixtures/multi-agent-style5.json +0 -45
- package/plugins/tech-graph/skills/tech-graph/fixtures/system-architecture-style6.json +0 -48
- package/plugins/tech-graph/skills/tech-graph/fixtures/tool-call-style2.json +0 -182
- package/plugins/tech-graph/skills/tech-graph/package.json +0 -42
- package/plugins/tech-graph/skills/tech-graph/references/diagram-types.md +0 -171
- package/plugins/tech-graph/skills/tech-graph/references/icons.md +0 -406
- package/plugins/tech-graph/skills/tech-graph/references/style-1-flat-icon.md +0 -108
- package/plugins/tech-graph/skills/tech-graph/references/style-2-dark-terminal.md +0 -107
- package/plugins/tech-graph/skills/tech-graph/references/style-3-blueprint.md +0 -113
- package/plugins/tech-graph/skills/tech-graph/references/style-4-notion-clean.md +0 -95
- package/plugins/tech-graph/skills/tech-graph/references/style-5-glassmorphism.md +0 -125
- package/plugins/tech-graph/skills/tech-graph/references/style-6-claude-official.md +0 -209
- package/plugins/tech-graph/skills/tech-graph/references/style-7-openai.md +0 -215
- package/plugins/tech-graph/skills/tech-graph/references/style-diagram-matrix.md +0 -135
- package/plugins/tech-graph/skills/tech-graph/references/svg-layout-best-practices.md +0 -100
- package/plugins/tech-graph/skills/tech-graph/references/svg-to-png.md +0 -115
- package/plugins/tech-graph/skills/tech-graph/scripts/README.md +0 -269
- package/plugins/tech-graph/skills/tech-graph/scripts/generate-diagram.sh +0 -181
- package/plugins/tech-graph/skills/tech-graph/scripts/generate-from-template.py +0 -1587
- package/plugins/tech-graph/skills/tech-graph/scripts/test-all-styles.sh +0 -143
- package/plugins/tech-graph/skills/tech-graph/scripts/validate-svg.sh +0 -306
- package/plugins/tech-graph/skills/tech-graph/templates/agent-architecture.svg +0 -28
- package/plugins/tech-graph/skills/tech-graph/templates/architecture.svg +0 -23
- package/plugins/tech-graph/skills/tech-graph/templates/comparison-matrix.svg +0 -14
- package/plugins/tech-graph/skills/tech-graph/templates/data-flow.svg +0 -28
- package/plugins/tech-graph/skills/tech-graph/templates/er-diagram.svg +0 -21
- package/plugins/tech-graph/skills/tech-graph/templates/flowchart.svg +0 -21
- package/plugins/tech-graph/skills/tech-graph/templates/sequence.svg +0 -20
- package/plugins/tech-graph/skills/tech-graph/templates/state-machine.svg +0 -20
- package/plugins/tech-graph/skills/tech-graph/templates/timeline.svg +0 -19
- package/plugins/tech-graph/skills/tech-graph/templates/use-case.svg +0 -21
|
@@ -1,417 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
template: 07-prototype-animation
|
|
3
|
-
upstream: 07-prototype-animation.html
|
|
4
|
-
slots:
|
|
5
|
-
title: string # replaces first <h1> innerHTML
|
|
6
|
-
-->
|
|
7
|
-
<div class="wrap">
|
|
8
|
-
|
|
9
|
-
<header>
|
|
10
|
-
<div class="eyebrow">Acme / prototype / micro-interaction</div>
|
|
11
|
-
<h1>{{title}}</h1>
|
|
12
|
-
<p class="sub">
|
|
13
|
-
A single click should feel like a tiny win. Circle fills, check draws,
|
|
14
|
-
label strikes, a small burst, then the row quietly steps back. Click
|
|
15
|
-
the row to play; click again to reset.
|
|
16
|
-
</p>
|
|
17
|
-
</header>
|
|
18
|
-
|
|
19
|
-
<div class="bench">
|
|
20
|
-
|
|
21
|
-
<div class="stage">
|
|
22
|
-
<div class="task" id="task">
|
|
23
|
-
<div class="check">
|
|
24
|
-
<svg viewBox="0 0 16 16"><path d="M3 8.5 L6.5 12 L13 4.5"/></svg>
|
|
25
|
-
</div>
|
|
26
|
-
<span class="label">Send weekly digest</span>
|
|
27
|
-
<span class="due">Fri</span>
|
|
28
|
-
<div class="confetti c1"></div>
|
|
29
|
-
<div class="confetti c2"></div>
|
|
30
|
-
<div class="confetti c3"></div>
|
|
31
|
-
<div class="confetti c4"></div>
|
|
32
|
-
<div class="confetti c5"></div>
|
|
33
|
-
<div class="confetti c6"></div>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="hint">click to toggle</div>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
<aside class="panel">
|
|
39
|
-
<h2>Easing</h2>
|
|
40
|
-
<p>Swaps <code>--ease</code> across every transition so you can feel the difference.</p>
|
|
41
|
-
<button class="ease-btn" data-ease="linear">
|
|
42
|
-
Linear
|
|
43
|
-
<code>linear</code>
|
|
44
|
-
</button>
|
|
45
|
-
<button class="ease-btn" data-ease="cubic-bezier(0.16, 1, 0.3, 1)">
|
|
46
|
-
Ease-out
|
|
47
|
-
<code>cubic-bezier(.16, 1, .3, 1)</code>
|
|
48
|
-
</button>
|
|
49
|
-
<button class="ease-btn active" data-ease="cubic-bezier(0.34, 1.56, 0.64, 1)">
|
|
50
|
-
Spring
|
|
51
|
-
<code>cubic-bezier(.34, 1.56, .64, 1)</code>
|
|
52
|
-
</button>
|
|
53
|
-
</aside>
|
|
54
|
-
|
|
55
|
-
</div>
|
|
56
|
-
|
|
57
|
-
<section class="timeline">
|
|
58
|
-
<h2>Keyframes</h2>
|
|
59
|
-
<div class="track">
|
|
60
|
-
<div class="key k1"><em>fill</em><span>0ms</span></div>
|
|
61
|
-
<div class="key k2"><em>check</em><span>80ms</span></div>
|
|
62
|
-
<div class="key k3"><em>strike</em><span>120ms</span></div>
|
|
63
|
-
<div class="key k4"><em>confetti</em><span>200ms</span></div>
|
|
64
|
-
<div class="key k5"><em>collapse</em><span>600ms</span></div>
|
|
65
|
-
</div>
|
|
66
|
-
</section>
|
|
67
|
-
|
|
68
|
-
<section class="snippet">
|
|
69
|
-
<h2>Copy-paste CSS</h2>
|
|
70
|
-
<pre><span class="c">/* circle: clay flash, settle to olive with spring overshoot */</span>
|
|
71
|
-
<span class="k">.task.done .check</span> {
|
|
72
|
-
animation: settle 380ms <span class="v">cubic-bezier(.34,1.56,.64,1)</span> forwards;
|
|
73
|
-
}
|
|
74
|
-
<span class="k">@keyframes settle</span> {
|
|
75
|
-
0% { transform: scale(.8); background: <span class="v">#D97757</span>; }
|
|
76
|
-
55% { transform: scale(1.18); }
|
|
77
|
-
100% { transform: scale(1); background: <span class="v">#788C5D</span>; }
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
<span class="c">/* checkmark draws via stroke-dashoffset, 80ms delay */</span>
|
|
81
|
-
<span class="k">.check path</span> { stroke-dasharray: 20; stroke-dashoffset: 20;
|
|
82
|
-
transition: stroke-dashoffset 220ms var(--ease) 80ms; }
|
|
83
|
-
<span class="k">.task.done path</span> { stroke-dashoffset: 0; }
|
|
84
|
-
|
|
85
|
-
<span class="c">/* strikethrough grows left → right */</span>
|
|
86
|
-
<span class="k">.label::after</span> { width: 0; transition: width 240ms var(--ease) 120ms; }
|
|
87
|
-
<span class="k">.task.done .label::after</span> { width: 100%; }
|
|
88
|
-
|
|
89
|
-
<span class="c">/* row steps back after the celebration */</span>
|
|
90
|
-
<span class="k">.task.done</span> { max-height: 44px; opacity: .6;
|
|
91
|
-
transition-delay: 600ms; }</pre>
|
|
92
|
-
</section>
|
|
93
|
-
|
|
94
|
-
</div>
|
|
95
|
-
|
|
96
|
-
<style>
|
|
97
|
-
* { box-sizing: border-box; }
|
|
98
|
-
.wrap {
|
|
99
|
-
max-width: 1080px;
|
|
100
|
-
margin: 0 auto;
|
|
101
|
-
padding: 48px 32px 64px;
|
|
102
|
-
}
|
|
103
|
-
header { margin-bottom: 28px; }
|
|
104
|
-
.eyebrow {
|
|
105
|
-
font-family: var(--mono);
|
|
106
|
-
font-size: 11px;
|
|
107
|
-
letter-spacing: 0.08em;
|
|
108
|
-
text-transform: uppercase;
|
|
109
|
-
color: var(--gray-500);
|
|
110
|
-
}
|
|
111
|
-
h1 {
|
|
112
|
-
font-family: var(--serif);
|
|
113
|
-
font-weight: 500;
|
|
114
|
-
font-size: 30px;
|
|
115
|
-
letter-spacing: -0.01em;
|
|
116
|
-
margin: 6px 0 4px;
|
|
117
|
-
}
|
|
118
|
-
.sub {
|
|
119
|
-
color: var(--gray-500);
|
|
120
|
-
max-width: 560px;
|
|
121
|
-
}
|
|
122
|
-
/* ---------- layout ---------- */
|
|
123
|
-
.bench {
|
|
124
|
-
display: grid;
|
|
125
|
-
grid-template-columns: 1fr 240px;
|
|
126
|
-
gap: 24px;
|
|
127
|
-
align-items: start;
|
|
128
|
-
}
|
|
129
|
-
.stage {
|
|
130
|
-
background: var(--white);
|
|
131
|
-
border: 1.5px solid var(--gray-200);
|
|
132
|
-
border-radius: 12px;
|
|
133
|
-
height: 360px;
|
|
134
|
-
display: flex;
|
|
135
|
-
align-items: center;
|
|
136
|
-
justify-content: center;
|
|
137
|
-
position: relative;
|
|
138
|
-
overflow: hidden;
|
|
139
|
-
}
|
|
140
|
-
.hint {
|
|
141
|
-
position: absolute;
|
|
142
|
-
bottom: 14px;
|
|
143
|
-
left: 50%;
|
|
144
|
-
transform: translateX(-50%);
|
|
145
|
-
font-family: var(--mono);
|
|
146
|
-
font-size: 11px;
|
|
147
|
-
color: var(--gray-500);
|
|
148
|
-
}
|
|
149
|
-
/* ---------- the task row ---------- */
|
|
150
|
-
.task {
|
|
151
|
-
display: flex;
|
|
152
|
-
align-items: center;
|
|
153
|
-
gap: 14px;
|
|
154
|
-
padding: 14px 18px;
|
|
155
|
-
border: 1.5px solid var(--gray-200);
|
|
156
|
-
border-radius: 8px;
|
|
157
|
-
background: var(--white);
|
|
158
|
-
width: 360px;
|
|
159
|
-
max-height: 64px;
|
|
160
|
-
position: relative;
|
|
161
|
-
transition: max-height 280ms var(--ease) 600ms,
|
|
162
|
-
opacity 280ms var(--ease) 600ms,
|
|
163
|
-
padding 280ms var(--ease) 600ms,
|
|
164
|
-
border-color 200ms var(--ease);
|
|
165
|
-
cursor: pointer;
|
|
166
|
-
user-select: none;
|
|
167
|
-
}
|
|
168
|
-
.task:hover { border-color: var(--gray-500); }
|
|
169
|
-
.check {
|
|
170
|
-
flex: none;
|
|
171
|
-
width: 24px;
|
|
172
|
-
height: 24px;
|
|
173
|
-
border-radius: 50%;
|
|
174
|
-
border: 1.5px solid var(--gray-500);
|
|
175
|
-
background: var(--white);
|
|
176
|
-
position: relative;
|
|
177
|
-
transition: background 180ms var(--ease),
|
|
178
|
-
border-color 180ms var(--ease),
|
|
179
|
-
transform 260ms var(--ease);
|
|
180
|
-
}
|
|
181
|
-
.check svg {
|
|
182
|
-
position: absolute;
|
|
183
|
-
inset: 0;
|
|
184
|
-
margin: auto;
|
|
185
|
-
width: 14px;
|
|
186
|
-
height: 14px;
|
|
187
|
-
}
|
|
188
|
-
.check path {
|
|
189
|
-
stroke: var(--white);
|
|
190
|
-
stroke-width: 2.5;
|
|
191
|
-
stroke-linecap: round;
|
|
192
|
-
stroke-linejoin: round;
|
|
193
|
-
fill: none;
|
|
194
|
-
stroke-dasharray: 20;
|
|
195
|
-
stroke-dashoffset: 20;
|
|
196
|
-
transition: stroke-dashoffset 220ms var(--ease) 80ms;
|
|
197
|
-
}
|
|
198
|
-
.label {
|
|
199
|
-
position: relative;
|
|
200
|
-
font-size: 15px;
|
|
201
|
-
color: var(--slate);
|
|
202
|
-
transition: color 200ms var(--ease) 120ms;
|
|
203
|
-
}
|
|
204
|
-
.label::after {
|
|
205
|
-
content: "";
|
|
206
|
-
position: absolute;
|
|
207
|
-
left: 0;
|
|
208
|
-
top: 52%;
|
|
209
|
-
height: 1.5px;
|
|
210
|
-
width: 0;
|
|
211
|
-
background: var(--gray-500);
|
|
212
|
-
transition: width 240ms var(--ease) 120ms;
|
|
213
|
-
}
|
|
214
|
-
.due {
|
|
215
|
-
margin-left: auto;
|
|
216
|
-
font-family: var(--mono);
|
|
217
|
-
font-size: 11px;
|
|
218
|
-
color: var(--gray-500);
|
|
219
|
-
background: var(--gray-50);
|
|
220
|
-
border: 1.5px solid var(--gray-200);
|
|
221
|
-
padding: 3px 8px;
|
|
222
|
-
border-radius: 8px;
|
|
223
|
-
transition: opacity 200ms var(--ease) 120ms;
|
|
224
|
-
}
|
|
225
|
-
/* confetti — six particles, css-only, driven by .done on the row */
|
|
226
|
-
.confetti {
|
|
227
|
-
position: absolute;
|
|
228
|
-
left: 22px;
|
|
229
|
-
top: 50%;
|
|
230
|
-
width: 6px;
|
|
231
|
-
height: 6px;
|
|
232
|
-
border-radius: 2px;
|
|
233
|
-
opacity: 0;
|
|
234
|
-
pointer-events: none;
|
|
235
|
-
}
|
|
236
|
-
.confetti.c1 { background: var(--clay); }
|
|
237
|
-
.confetti.c2 { background: var(--olive); }
|
|
238
|
-
.confetti.c3 { background: var(--oat); }
|
|
239
|
-
.confetti.c4 { background: var(--clay); }
|
|
240
|
-
.confetti.c5 { background: var(--olive); }
|
|
241
|
-
.confetti.c6 { background: var(--gray-800); }
|
|
242
|
-
/* ---------- done state ---------- */
|
|
243
|
-
.task.done .check {
|
|
244
|
-
background: var(--olive);
|
|
245
|
-
border-color: var(--olive);
|
|
246
|
-
transform: scale(1.12);
|
|
247
|
-
animation: settle 380ms var(--ease) forwards;
|
|
248
|
-
}
|
|
249
|
-
@keyframes settle {
|
|
250
|
-
0% { transform: scale(0.8); background: var(--clay); border-color: var(--clay); }
|
|
251
|
-
55% { transform: scale(1.18); }
|
|
252
|
-
100% { transform: scale(1); background: var(--olive); border-color: var(--olive); }
|
|
253
|
-
}
|
|
254
|
-
.task.done .check path { stroke-dashoffset: 0; }
|
|
255
|
-
.task.done .label { color: var(--gray-500); }
|
|
256
|
-
.task.done .label::after { width: 100%; }
|
|
257
|
-
.task.done .due { opacity: 0.35; }
|
|
258
|
-
.task.done {
|
|
259
|
-
max-height: 44px;
|
|
260
|
-
padding-top: 8px;
|
|
261
|
-
padding-bottom: 8px;
|
|
262
|
-
opacity: 0.6;
|
|
263
|
-
}
|
|
264
|
-
.task.done .confetti { animation: pop 520ms var(--ease) 200ms forwards; }
|
|
265
|
-
.task.done .confetti.c1 { --dx: -28px; --dy: -22px; --rot: 40deg; }
|
|
266
|
-
.task.done .confetti.c2 { --dx: -6px; --dy: -34px; --rot: -60deg; }
|
|
267
|
-
.task.done .confetti.c3 { --dx: 18px; --dy: -26px; --rot: 90deg; }
|
|
268
|
-
.task.done .confetti.c4 { --dx: 30px; --dy: -4px; --rot: -30deg; }
|
|
269
|
-
.task.done .confetti.c5 { --dx: -24px; --dy: 14px; --rot: 20deg; }
|
|
270
|
-
.task.done .confetti.c6 { --dx: 12px; --dy: 22px; --rot: -80deg; }
|
|
271
|
-
@keyframes pop {
|
|
272
|
-
0% { opacity: 0; transform: translate(0, 0) rotate(0) scale(0.6); }
|
|
273
|
-
15% { opacity: 1; }
|
|
274
|
-
100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(1); }
|
|
275
|
-
}
|
|
276
|
-
/* ---------- easing panel ---------- */
|
|
277
|
-
.panel {
|
|
278
|
-
background: var(--white);
|
|
279
|
-
border: 1.5px solid var(--gray-200);
|
|
280
|
-
border-radius: 12px;
|
|
281
|
-
padding: 18px;
|
|
282
|
-
}
|
|
283
|
-
.panel h2 {
|
|
284
|
-
font-family: var(--serif);
|
|
285
|
-
font-weight: 500;
|
|
286
|
-
font-size: 16px;
|
|
287
|
-
margin: 0 0 4px;
|
|
288
|
-
}
|
|
289
|
-
.panel p {
|
|
290
|
-
margin: 0 0 14px;
|
|
291
|
-
font-size: 12px;
|
|
292
|
-
color: var(--gray-500);
|
|
293
|
-
}
|
|
294
|
-
.ease-btn {
|
|
295
|
-
display: block;
|
|
296
|
-
width: 100%;
|
|
297
|
-
text-align: left;
|
|
298
|
-
background: var(--gray-50);
|
|
299
|
-
border: 1.5px solid var(--gray-200);
|
|
300
|
-
border-radius: 8px;
|
|
301
|
-
padding: 10px 12px;
|
|
302
|
-
margin-bottom: 8px;
|
|
303
|
-
font-family: var(--sans);
|
|
304
|
-
font-size: 13px;
|
|
305
|
-
color: var(--slate);
|
|
306
|
-
cursor: pointer;
|
|
307
|
-
}
|
|
308
|
-
.ease-btn:hover { border-color: var(--gray-500); }
|
|
309
|
-
.ease-btn.active {
|
|
310
|
-
border-color: var(--clay);
|
|
311
|
-
background: #FBF1EC;
|
|
312
|
-
}
|
|
313
|
-
.ease-btn code {
|
|
314
|
-
display: block;
|
|
315
|
-
font-family: var(--mono);
|
|
316
|
-
font-size: 10px;
|
|
317
|
-
color: var(--gray-500);
|
|
318
|
-
margin-top: 2px;
|
|
319
|
-
}
|
|
320
|
-
/* ---------- timeline ---------- */
|
|
321
|
-
.timeline {
|
|
322
|
-
margin-top: 28px;
|
|
323
|
-
background: var(--white);
|
|
324
|
-
border: 1.5px solid var(--gray-200);
|
|
325
|
-
border-radius: 12px;
|
|
326
|
-
padding: 22px 22px 30px;
|
|
327
|
-
}
|
|
328
|
-
.timeline h2 {
|
|
329
|
-
font-family: var(--serif);
|
|
330
|
-
font-weight: 500;
|
|
331
|
-
font-size: 16px;
|
|
332
|
-
margin: 0 0 18px;
|
|
333
|
-
}
|
|
334
|
-
.track {
|
|
335
|
-
position: relative;
|
|
336
|
-
height: 2px;
|
|
337
|
-
background: var(--gray-200);
|
|
338
|
-
margin: 20px 8px 0;
|
|
339
|
-
}
|
|
340
|
-
.key {
|
|
341
|
-
position: absolute;
|
|
342
|
-
top: -5px;
|
|
343
|
-
width: 12px;
|
|
344
|
-
height: 12px;
|
|
345
|
-
border-radius: 50%;
|
|
346
|
-
background: var(--clay);
|
|
347
|
-
border: 1.5px solid var(--white);
|
|
348
|
-
box-shadow: 0 0 0 1.5px var(--clay);
|
|
349
|
-
transform: translateX(-50%);
|
|
350
|
-
}
|
|
351
|
-
.key span {
|
|
352
|
-
position: absolute;
|
|
353
|
-
top: 16px;
|
|
354
|
-
left: 50%;
|
|
355
|
-
transform: translateX(-50%);
|
|
356
|
-
white-space: nowrap;
|
|
357
|
-
font-family: var(--mono);
|
|
358
|
-
font-size: 10px;
|
|
359
|
-
color: var(--gray-800);
|
|
360
|
-
}
|
|
361
|
-
.key em {
|
|
362
|
-
position: absolute;
|
|
363
|
-
bottom: 16px;
|
|
364
|
-
left: 50%;
|
|
365
|
-
transform: translateX(-50%);
|
|
366
|
-
white-space: nowrap;
|
|
367
|
-
font-style: normal;
|
|
368
|
-
font-size: 11px;
|
|
369
|
-
color: var(--gray-500);
|
|
370
|
-
}
|
|
371
|
-
.k1 { left: 0%; }
|
|
372
|
-
.k2 { left: 13%; }
|
|
373
|
-
.k3 { left: 20%; }
|
|
374
|
-
.k4 { left: 33%; }
|
|
375
|
-
.k5 { left: 100%; background: var(--olive); box-shadow: 0 0 0 1.5px var(--olive); }
|
|
376
|
-
/* ---------- snippet ---------- */
|
|
377
|
-
.snippet {
|
|
378
|
-
margin-top: 28px;
|
|
379
|
-
}
|
|
380
|
-
.snippet h2 {
|
|
381
|
-
font-family: var(--serif);
|
|
382
|
-
font-weight: 500;
|
|
383
|
-
font-size: 16px;
|
|
384
|
-
margin: 0 0 10px;
|
|
385
|
-
}
|
|
386
|
-
pre {
|
|
387
|
-
background: var(--gray-800);
|
|
388
|
-
color: var(--gray-50);
|
|
389
|
-
border-radius: 12px;
|
|
390
|
-
padding: 18px 20px;
|
|
391
|
-
font-family: var(--mono);
|
|
392
|
-
font-size: 12px;
|
|
393
|
-
line-height: 1.7;
|
|
394
|
-
overflow-x: auto;
|
|
395
|
-
margin: 0;
|
|
396
|
-
}
|
|
397
|
-
pre .c { color: var(--gray-500); }
|
|
398
|
-
pre .k { color: var(--clay); }
|
|
399
|
-
pre .v { color: #B8C99D; }
|
|
400
|
-
</style>
|
|
401
|
-
|
|
402
|
-
<script>
|
|
403
|
-
var task = document.getElementById('task');
|
|
404
|
-
task.addEventListener('click', function () {
|
|
405
|
-
task.classList.toggle('done');
|
|
406
|
-
});
|
|
407
|
-
|
|
408
|
-
var root = document.documentElement;
|
|
409
|
-
var buttons = document.querySelectorAll('.ease-btn');
|
|
410
|
-
buttons.forEach(function (btn) {
|
|
411
|
-
btn.addEventListener('click', function () {
|
|
412
|
-
buttons.forEach(function (b) { b.classList.remove('active'); });
|
|
413
|
-
btn.classList.add('active');
|
|
414
|
-
root.style.setProperty('--ease', btn.dataset.ease);
|
|
415
|
-
});
|
|
416
|
-
});
|
|
417
|
-
</script>
|