Files
ai-coding-workflow-labs/cc4e-course/quiz-project/style-preview-3.html
T
tiennm99 71dc47a30a feat(quiz): add requirements and style previews for coffee personality quiz
- Define 3 personality-to-coffee pairings (Zen Minimalist, Night Owl, Social Butterfly)
- Add percentage-based result display spec
- Add 5 pop culture quiz questions with personality mappings
- Generate 4 distinct style preview HTML files for visual direction
- Document warm/cozy + Claude homepage aesthetic as chosen style
2026-03-07 09:58:33 +07:00

84 lines
2.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Style 3 - Bold & Dramatic</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap');
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
min-height: 100vh;
background: #0a0a0a;
display: flex; align-items: center; justify-content: center;
font-family: 'Space Grotesk', sans-serif;
padding: 20px;
}
.card {
background: #111;
border: 1px solid #222;
border-radius: 2px;
padding: 52px 44px;
max-width: 580px;
width: 100%;
}
.badge {
display: inline-flex; align-items: center; gap: 8px;
color: #ff4d00;
font-size: 12px;
font-weight: 700;
letter-spacing: 2px;
text-transform: uppercase;
margin-bottom: 28px;
}
.badge::before { content: ''; width: 24px; height: 2px; background: #ff4d00; }
h1 {
font-size: 34px;
font-weight: 700;
color: #fff;
margin-bottom: 40px;
line-height: 1.2;
}
.option {
border: 1px solid #222;
border-radius: 2px;
padding: 18px 22px;
margin-bottom: 10px;
cursor: pointer;
font-size: 15px;
color: #888;
font-weight: 500;
transition: all 0.15s;
display: flex; align-items: center; gap: 16px;
}
.option::before { content: ''; width: 6px; height: 6px; border: 1px solid #444; border-radius: 50%; flex-shrink: 0; }
.option:hover { border-color: #ff4d00; color: #fff; }
.option.selected { border-color: #ff4d00; color: #fff; background: rgba(255,77,0,0.06); }
.option.selected::before { background: #ff4d00; border-color: #ff4d00; }
.progress {
display: flex; gap: 4px; margin-bottom: 40px;
}
.seg { height: 3px; flex: 1; background: #222; }
.seg.active { background: #ff4d00; }
</style>
</head>
<body>
<div class="card">
<div class="badge">Question 2 of 5</div>
<div class="progress">
<div class="seg active"></div>
<div class="seg active"></div>
<div class="seg"></div>
<div class="seg"></div>
<div class="seg"></div>
</div>
<h1>It's Friday night. What are you watching?</h1>
<div class="option selected">An action thriller that keeps you on edge</div>
<div class="option">A slow-burn documentary about nature</div>
<div class="option">Whatever your friends want to watch together</div>
<div class="option">A cult classic you've seen 10 times, starting at midnight</div>
</div>
<div style="position:fixed;bottom:16px;left:50%;transform:translateX(-50%);background:rgba(255,255,255,0.1);color:white;padding:8px 16px;border-radius:999px;font-size:13px;font-family:sans-serif;">Style 3 — Bold & Dramatic</div>
</body>
</html>