forked from nexu-io/html-anything
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
256 lines (234 loc) · 15.2 KB
/
example.html
File metadata and controls
256 lines (234 loc) · 15.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Zentou AI Portal — Wireframe v0.1</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@500;700&family=Patrick+Hand&family=DM+Serif+Display&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet" />
<style>
:root {
--paper: #fbf6ec;
--paper-tint: #f5eedf;
--ink: #2b2620;
--pencil: #4d473d;
--rule: #c8bfa9;
--grid: #e3d8b8;
--accent: #d8482b;
--highlight: #f9d27c;
--note-yellow: #fff19a;
--note-pink: #ffd5c9;
--serif: 'DM Serif Display', 'Iowan Old Style', Georgia, serif;
--hand: 'Patrick Hand', 'Caveat', cursive;
--hand-bold: 'Caveat', 'Patrick Hand', cursive;
--mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
body {
margin: 0;
color: var(--ink);
background:
radial-gradient(circle, rgba(43,38,32,0.04) 1px, transparent 1.4px) 0 0 / 22px 22px,
var(--paper);
font: 16px/1.5 var(--hand);
}
.page { padding: 32px 48px 56px; max-width: 1320px; margin: 0 auto; }
.head { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: end; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.head h1 { font: 800 56px/1 var(--serif); margin: 0; letter-spacing: -0.005em; display: flex; align-items: center; gap: 18px; }
.head h1 em { font-style: italic; }
.pin { display: inline-flex; align-items: center; gap: 8px; font: 12px/1 var(--mono); padding: 6px 10px; border: 1.5px dashed var(--accent); color: var(--accent); transform: rotate(-2.2deg); letter-spacing: 0.18em; background: var(--paper); }
.pin .x { width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.head .sub { font: 18px/1.4 var(--hand); color: var(--pencil); }
.head .meta { font: 11px/1.4 var(--mono); color: var(--pencil); letter-spacing: 0.14em; text-align: right; text-transform: uppercase; }
.head .meta b { color: var(--ink); }
.tabs { display: flex; gap: 8px; padding: 18px 0 12px; flex-wrap: wrap; }
.tab { font: 16px/1 var(--hand); padding: 10px 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--pencil); position: relative; transform: rotate(-0.4deg); }
.tab .num { font: 11px/1 var(--mono); color: var(--pencil); padding: 4px 6px; border: 1.5px solid var(--pencil); letter-spacing: 0.06em; }
.tab.active { color: var(--ink); }
.tab.active::before { content: ''; position: absolute; left: -2px; right: -2px; top: 4px; bottom: 6px; background: var(--highlight); transform: skew(-8deg); z-index: -1; opacity: 0.85; }
.tab.active .num { border-color: var(--ink); color: var(--ink); }
.tab .glyph { width: 14px; height: 14px; border: 1.5px solid currentColor; display: inline-block; }
.canvas {
position: relative;
background:
repeating-linear-gradient(0deg, var(--grid) 0 1px, transparent 1px 24px),
repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px 24px),
var(--paper-tint);
border: 3px solid var(--ink);
border-radius: 14px;
padding: 26px 26px 32px;
box-shadow: 6px 8px 0 -4px rgba(43,38,32,0.18);
}
.canvas .section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.canvas h2 { font: 800 30px/1 var(--serif); margin: 0; }
.canvas .pill { font: 12px/1 var(--mono); padding: 5px 9px; border: 1.5px solid var(--pencil); border-radius: 999px; color: var(--pencil); letter-spacing: 0.12em; transform: rotate(1.2deg); }
.canvas .lede { font: 17px/1.5 var(--hand); color: var(--pencil); margin: 0 0 18px; max-width: 70ch; }
.browser { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border: 2px solid var(--pencil); border-radius: 999px; background: var(--paper); margin-bottom: 16px; }
.browser .dots { display: flex; gap: 6px; }
.browser .dots span { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--pencil); }
.browser .url { flex: 1; font: 14px/1 var(--hand); color: var(--pencil); }
.browser .user { font: 14px/1 var(--hand); color: var(--pencil); }
.layout { display: grid; grid-template-columns: 200px 1fr; gap: 22px; }
aside.nav { padding: 10px 0; }
aside.nav .brand { font: 800 28px/1 var(--serif); font-style: italic; padding: 4px 6px; border-bottom: 2px solid var(--ink); display: inline-block; margin-bottom: 18px; }
aside.nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
aside.nav li { font: 17px/1.2 var(--hand); display: flex; align-items: center; gap: 10px; padding: 6px 6px; position: relative; }
aside.nav li .square { width: 14px; height: 14px; border: 1.5px solid var(--pencil); display: inline-block; flex-shrink: 0; }
aside.nav li.active { color: var(--ink); }
aside.nav li.active::before {
content: ''; position: absolute; left: -4px; right: -8px; top: 4px; bottom: 6px;
background: var(--highlight); opacity: 0.6; transform: skew(-6deg); z-index: -1;
}
.greeting { font: 14px/1.4 var(--hand); color: var(--pencil); }
.name { font: 800 28px/1 var(--serif); font-style: italic; margin: 2px 0 4px; }
.toggle-row { display: inline-flex; gap: 6px; padding: 4px; border: 1.5px solid var(--pencil); border-radius: 999px; }
.toggle-row .tag { font: 13px/1 var(--hand); padding: 6px 10px; border-radius: 999px; color: var(--pencil); }
.toggle-row .tag.active { background: var(--highlight); color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0; }
.kpi { border: 2px solid var(--pencil); border-radius: 10px; padding: 14px; background: var(--paper); position: relative; }
.kpi .label { font: 13px/1 var(--mono); color: var(--pencil); letter-spacing: 0.14em; text-transform: uppercase; }
.kpi .value { font: 800 44px/1 var(--serif); margin-top: 8px; color: var(--accent); }
.kpi .value.ink { color: var(--ink); }
.kpi .small { font: 12px/1.4 var(--hand); color: var(--pencil); margin-top: 6px; }
.kpi.tilt-1 { transform: rotate(-0.6deg); }
.kpi.tilt-2 { transform: rotate(0.4deg); }
.kpi.tilt-3 { transform: rotate(-0.2deg); }
.kpi.tilt-4 { transform: rotate(0.7deg); }
.panels { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.panel { border: 2px solid var(--pencil); border-radius: 10px; padding: 14px; background: var(--paper); position: relative; }
.panel h3 { font: 700 16px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; color: var(--pencil); display: flex; align-items: center; gap: 8px; }
.panel h3 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.panel svg.scribble { width: 100%; height: 160px; display: block; }
.sticky {
position: absolute;
padding: 10px 12px;
font: 16px/1.3 var(--hand);
box-shadow: 4px 6px 0 -2px rgba(43,38,32,0.18);
max-width: 220px;
}
.sticky.sn1 { top: 20px; right: 30px; background: var(--note-yellow); transform: rotate(2.4deg); }
.sticky.sn2 { top: 380px; right: 90px; background: var(--note-pink); transform: rotate(-3.2deg); }
.sticky .tape { position: absolute; top: -10px; left: 30px; width: 70px; height: 18px; background: rgba(43,38,32,0.18); transform: rotate(-4deg); }
.sticky b { font-family: var(--hand-bold); font-weight: 700; }
.events { padding: 12px 14px; border: 2px dashed var(--pencil); border-radius: 10px; margin-top: 14px; background: var(--paper); }
.events .label { font: 13px/1 var(--mono); letter-spacing: 0.14em; color: var(--accent); text-transform: uppercase; margin-bottom: 6px; }
.events .lines span { display: block; height: 8px; background: var(--pencil); opacity: 0.18; border-radius: 4px; margin: 6px 0; }
.events .lines span:nth-child(1) { width: 80%; }
.events .lines span:nth-child(2) { width: 60%; }
.events .lines span:nth-child(3) { width: 70%; }
.next-step { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 2px solid var(--accent); border-radius: 10px; background: var(--paper); margin-top: 14px; }
.next-step .head { font: 13px/1 var(--mono); letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; }
.next-step ul { padding: 0 0 0 18px; margin: 6px 0 0; font: 15px/1.4 var(--hand); color: var(--ink); }
@media (max-width: 1000px) {
.layout { grid-template-columns: 1fr; }
.kpis { grid-template-columns: 1fr 1fr; }
.panels { grid-template-columns: 1fr; }
.sticky.sn1 { display: none; }
.sticky.sn2 { display: none; }
}
</style>
</head>
<body>
<div class="page">
<div class="head" data-od-id="head">
<h1><em>Zentou AI · Portal</em>
<span class="pin"><span class="x"></span>WIREFRAME v0.1</span>
</h1>
<div class="sub">受験者画面のレイアウト探索 — 4案 + 元画面の再整理</div>
<div class="meta"><b>DATE</b> 2026-04-18 · <b>DEVICE</b> DESKTOP 1440 · <b>FIDELITY</b> LOW</div>
</div>
<div class="tabs" data-od-id="tabs">
<div class="tab"><span class="glyph"></span><span class="num">00</span>ALL</div>
<div class="tab"><span class="glyph"></span><span class="num">01</span>A · 整理型 (元画面ベース)</div>
<div class="tab active"><span class="glyph"></span><span class="num">02</span>B · ダッシュボード (KPI)</div>
<div class="tab"><span class="glyph"></span><span class="num">03</span>C · タイムライン (次の試験)</div>
<div class="tab"><span class="glyph"></span><span class="num">04</span>D · 学習体験型</div>
</div>
<div class="canvas" data-od-id="canvas">
<div class="section-label">
<h2>B · ダッシュボード</h2>
<span class="pill">DATA-FORWARD</span>
</div>
<p class="lede">KPIを最上段に。「今の自分の位置」を一目で把握 → 詳細は下へスクロール。</p>
<div class="browser" data-od-id="browser"><div class="dots"><span></span><span></span><span></span></div><div class="url">zentou-ai.jp / portal / dashboard</div><div class="user">motoki.daisuke</div></div>
<div class="layout">
<aside class="nav" data-od-id="sidebar">
<span class="brand">全統 AI</span>
<ul>
<li class="active"><span class="square"></span>ダッシュボード</li>
<li><span class="square"></span>試験日程</li>
<li><span class="square"></span>成績一覧</li>
<li><span class="square"></span>練習問題</li>
<li><span class="square"></span>学習計画</li>
</ul>
</aside>
<div data-od-id="main">
<div style="display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;">
<div>
<div class="greeting">おかえりなさい</div>
<div class="name">motoki.daisuke <span style="font-size:18px;color:var(--pencil);">さん</span></div>
</div>
<div class="toggle-row">
<span class="tag">今週</span>
<span class="tag active">今月</span>
<span class="tag">通算</span>
</div>
</div>
<div class="kpis" data-od-id="kpis">
<div class="kpi tilt-1"><div class="label">認定ランク</div><div class="value">A2</div><div class="small">基礎認定</div></div>
<div class="kpi tilt-2"><div class="label">偏差値</div><div class="value ink" style="color:#3b6e8e;">39</div><div class="small">↑ +3.2 前回比</div></div>
<div class="kpi tilt-3"><div class="label">次回まで</div><div class="value">1日</div><div class="small">04/19 10:00</div></div>
<div class="kpi tilt-4"><div class="label">練習進捗</div><div class="value ink" style="color:#3b6e8e;">62%</div><div class="small">▰▰▰▰▰▱▱▱</div></div>
</div>
<div class="panels" data-od-id="panels">
<div class="panel" data-od-id="chart">
<h3><span class="dot"></span>CHART · 偏差値推移</h3>
<svg class="scribble" viewBox="0 0 480 160" aria-hidden="true">
<path d="M 14 142 L 460 142" stroke="#4d473d" stroke-width="1.6" fill="none"/>
<path d="M 14 14 L 14 142" stroke="#4d473d" stroke-width="1.6" fill="none"/>
<path d="M 18 110 C 80 96, 130 102, 180 92 S 280 60, 340 50 S 440 32, 460 22"
stroke="#d8482b" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="80" cy="98" r="4" fill="#d8482b"/>
<circle cx="200" cy="86" r="4" fill="#d8482b"/>
<circle cx="320" cy="56" r="4" fill="#d8482b"/>
<circle cx="440" cy="28" r="4" fill="#d8482b"/>
</svg>
</div>
<div class="panel" data-od-id="bars">
<h3><span class="dot"></span>SUBJECTS · 科目別</h3>
<svg class="scribble" viewBox="0 0 320 160" aria-hidden="true">
<defs>
<pattern id="hatch" patternUnits="userSpaceOnUse" width="6" height="6" patternTransform="rotate(45)">
<line x1="0" y1="0" x2="0" y2="6" stroke="#2b2620" stroke-width="1.6"/>
</pattern>
</defs>
<path d="M 14 142 L 306 142" stroke="#4d473d" stroke-width="1.6" fill="none"/>
<rect x="30" y="60" width="38" height="82" fill="url(#hatch)" stroke="#2b2620" stroke-width="1.4"/>
<rect x="86" y="38" width="38" height="104" fill="url(#hatch)" stroke="#2b2620" stroke-width="1.4"/>
<rect x="142" y="78" width="38" height="64" fill="url(#hatch)" stroke="#2b2620" stroke-width="1.4"/>
<rect x="198" y="22" width="38" height="120" fill="url(#hatch)" stroke="#2b2620" stroke-width="1.4"/>
<rect x="254" y="50" width="38" height="92" fill="url(#hatch)" stroke="#2b2620" stroke-width="1.4"/>
<text x="14" y="158" font-family="IBM Plex Mono, monospace" font-size="11" fill="#4d473d">開発 / 国 / 数 / 英 / 理</text>
</svg>
</div>
</div>
<div class="events" data-od-id="events">
<div class="label">📣 お知らせ (直近 3 件)</div>
<div class="lines"><span></span><span></span><span></span></div>
</div>
<div class="next-step" data-od-id="next-step">
<div class="head">● NEXT STEP / 次にやること</div>
<ul>
<li>試験の申込を完了する</li>
<li>弱点「論理」を10問だけ解く</li>
</ul>
</div>
</div>
</div>
<div class="sticky sn1" data-od-id="sticky-1"><div class="tape"></div>一日目から触りたくなる画面に</div>
<div class="sticky sn2" data-od-id="sticky-2"><div class="tape"></div><b>page-1 / 5</b><br/>余白は気持ちよく。<br/>密度は B 案ぐらい。</div>
</div>
</div>
</body>
</html>