-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
175 lines (157 loc) · 4.68 KB
/
index.html
File metadata and controls
175 lines (157 loc) · 4.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OpenBingo – CSS-Only Bingo Generator</title>
<meta name="description" content="Create custom Bingo boards. Share a link. Play instantly — no server required.">
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="style.css">
<style>
/* ── Landing-page specific ── */
.hero {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: var(--space-8) var(--space-4) var(--space-7);
gap: var(--space-5);
}
.hero__badge {
display: inline-block;
background: var(--color-accent-dim);
color: var(--color-accent);
border: 1px solid rgba(124, 106, 252, 0.3);
border-radius: 99px;
padding: var(--space-1) var(--space-4);
font-size: 0.8125rem;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.hero__title {
font-size: clamp(2.5rem, 8vw, 4.5rem);
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.1;
background: linear-gradient(135deg, #e8e8f0 0%, var(--color-accent) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero__tagline {
font-size: clamp(1rem, 2.5vw, 1.25rem);
color: var(--color-text-muted);
max-width: 480px;
line-height: 1.6;
}
.hero__actions {
display: flex;
gap: var(--space-3);
flex-wrap: wrap;
justify-content: center;
}
/* How it works */
.how {
padding: var(--space-7) var(--space-4);
background: var(--color-surface);
border-top: 1px solid var(--color-border);
border-bottom: 1px solid var(--color-border);
}
.how__title {
text-align: center;
font-size: 1.5rem;
font-weight: 700;
margin-bottom: var(--space-6);
color: var(--color-text-muted);
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 0.875rem;
}
.steps {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: var(--space-5);
max-width: 800px;
margin: 0 auto;
}
.step {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: var(--space-3);
}
.step__num {
width: 48px;
height: 48px;
border-radius: 50%;
background: var(--color-accent-dim);
border: 1px solid rgba(124, 106, 252, 0.4);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.25rem;
font-weight: 800;
color: var(--color-accent);
flex-shrink: 0;
}
.step__name {
font-weight: 700;
font-size: 1.0625rem;
}
.step__desc {
font-size: 0.9rem;
color: var(--color-text-muted);
line-height: 1.5;
}
/* Footer */
footer {
padding: var(--space-6) var(--space-4);
text-align: center;
color: var(--color-text-muted);
font-size: 0.875rem;
}
footer a {
color: var(--color-text-muted);
}
footer a:hover {
color: var(--color-accent);
}
</style>
</head>
<body>
<section class="hero">
<span class="hero__badge">CSS-Only Gameplay</span>
<h1 class="hero__title">OpenBingo</h1>
<p class="hero__tagline">Create custom Bingo boards, share a link, and play instantly — no server, no login, no tracking.</p>
<div class="hero__actions">
<a href="Create/" class="btn btn--primary btn--lg">Create a Board</a>
<a href="https://github.com" class="btn btn--secondary btn--lg">View Source</a>
</div>
</section>
<section class="how">
<p class="how__title">How it works</p>
<div class="steps">
<div class="step">
<div class="step__num">1</div>
<div class="step__name">Create</div>
<p class="step__desc">Enter your phrases, pick a grid size, and generate a shareable link.</p>
</div>
<div class="step">
<div class="step__num">2</div>
<div class="step__name">Share</div>
<p class="step__desc">Send the link to friends. Each player gets their own random board layout.</p>
</div>
<div class="step">
<div class="step__num">3</div>
<div class="step__name">Play</div>
<p class="step__desc">Click tiles to mark them. The board detects Bingo automatically — no JS needed.</p>
</div>
</div>
</section>
<footer>
<p>OpenBingo is <a href="LICENSE">MIT licensed</a>. Gameplay is pure CSS — no tracking, no analytics.</p>
</footer>
</body>
</html>