forked from afragop72/maths
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
263 lines (229 loc) · 7.12 KB
/
index.html
File metadata and controls
263 lines (229 loc) · 7.12 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
257
258
259
260
261
262
263
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Math Lab</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=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,700&family=Manrope:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet" />
<style>
:root {
--ink: #0b0d17;
--sky: #f7f3ea;
--accent: #ff6b3d;
--accent-dark: #d24720;
--panel: #ffffff;
--muted: rgba(11, 13, 23, 0.55);
--border: rgba(15, 23, 42, 0.12);
--shadow: 0 20px 60px rgba(10, 14, 30, 0.10);
--radius: 24px;
--serif: "Fraunces", "Times New Roman", serif;
--sans: "Manrope", "Segoe UI", system-ui, sans-serif;
--mono: "Space Mono", "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: var(--sans);
font-size: 16px;
line-height: 1.5;
color: var(--ink);
background: radial-gradient(circle at top left, #ffe6d1 0%, #f7f3ea 55%, #f5f8ff 100%);
min-height: 100vh;
}
.page {
max-width: 960px;
margin: 0 auto;
padding: 56px 24px 80px;
}
/* ─── Hero ─── */
.hero {
text-align: center;
margin-bottom: 52px;
}
.eyebrow {
font-family: var(--mono);
text-transform: uppercase;
letter-spacing: 0.2em;
font-size: 0.75rem;
color: var(--accent-dark);
margin: 0 0 12px;
font-weight: 700;
}
h1 {
font-family: var(--serif);
font-size: clamp(2.2rem, 4vw, 3.2rem);
margin: 0 0 14px;
line-height: 1.15;
}
.subhead {
margin: 0 auto;
max-width: 520px;
color: var(--muted);
font-size: 1.05rem;
line-height: 1.55;
}
/* ─── Topic Section ─── */
.topic {
margin-bottom: 48px;
}
.topic-header {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 22px;
}
.topic-icon {
width: 40px;
height: 40px;
border-radius: 12px;
background: linear-gradient(135deg, var(--accent), var(--accent-dark));
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.topic-icon svg {
width: 22px;
height: 22px;
fill: none;
stroke: #fff;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
h2 {
font-family: var(--serif);
font-size: 1.5rem;
margin: 0;
line-height: 1.25;
}
/* ─── Card Grid ─── */
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
}
.card {
background: var(--panel);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 28px 26px 24px;
text-decoration: none;
color: var(--ink);
transition: transform 0.25s ease, box-shadow 0.25s ease;
display: flex;
flex-direction: column;
}
.card:hover {
transform: translateY(-4px);
box-shadow: 0 28px 70px rgba(10, 14, 30, 0.14);
}
.card-tag {
font-family: var(--mono);
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--accent);
font-weight: 700;
margin: 0 0 10px;
}
.card h3 {
font-family: var(--serif);
font-size: 1.2rem;
margin: 0 0 10px;
line-height: 1.3;
}
.card p {
margin: 0;
color: var(--muted);
font-size: 0.92rem;
line-height: 1.55;
flex: 1;
}
.card-footer {
display: flex;
align-items: center;
gap: 6px;
margin-top: 18px;
font-size: 0.82rem;
font-weight: 600;
color: var(--accent-dark);
}
.card-footer svg {
width: 16px;
height: 16px;
fill: none;
stroke: currentColor;
stroke-width: 2.5;
stroke-linecap: round;
stroke-linejoin: round;
}
/* ─── Footer ─── */
.page-footer {
text-align: center;
color: var(--muted);
font-size: 0.85rem;
margin-top: 16px;
}
/* ─── Responsive ─── */
@media (max-width: 640px) {
.page { padding: 36px 18px 60px; }
.card-grid { grid-template-columns: 1fr; }
.card { padding: 22px 20px 20px; }
h2 { font-size: 1.3rem; }
}
</style>
</head>
<body>
<div class="page">
<header class="hero">
<p class="eyebrow">Interactive Tools</p>
<h1>Math Lab</h1>
<p class="subhead">
A collection of visual, step-by-step tools for exploring mathematical concepts.
Pick a subject to get started.
</p>
</header>
<section class="topic">
<div class="topic-header">
<div class="topic-icon">
<svg viewBox="0 0 24 24"><path d="M4 20 Q12 2 20 20"/><line x1="6" y1="16" x2="18" y2="16"/></svg>
</div>
<h2>Subjects</h2>
</div>
<div class="card-grid">
<a class="card" href="algebra/">
<div class="card-tag">9 Tools</div>
<h3>Algebra</h3>
<p>Explore quadratics through graphing, inequalities, transformations, discriminant analysis, properties table, completing the square, form conversion, and more. Visual area models and step-by-step walkthroughs.</p>
<div class="card-footer">
Browse algebra
<svg viewBox="0 0 24 24"><line x1="5" y1="12" x2="19" y2="12"/><polyline points="12 5 19 12 12 19"/></svg>
</div>
</a>
<div class="card" style="opacity: 0.5; cursor: not-allowed; pointer-events: none;">
<div class="card-tag">Coming Soon</div>
<h3>Geometry</h3>
<p>Triangles, circles, transformations, and more. Interactive visualizations for geometric concepts and proofs.</p>
<div class="card-footer" style="color: var(--muted);">
In development
</div>
</div>
<div class="card" style="opacity: 0.5; cursor: not-allowed; pointer-events: none;">
<div class="card-tag">Coming Soon</div>
<h3>Calculus</h3>
<p>Derivatives, integrals, limits, and continuity. Step-by-step differentiation and integration with visual curve analysis.</p>
<div class="card-footer" style="color: var(--muted);">
In development
</div>
</div>
</div>
</section>
<footer class="page-footer">
Free to use for educational purposes.
</footer>
</div>
</body>
</html>