-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html
89 lines (87 loc) · 2.94 KB
/
about.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Conway’s Farm of Life</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
padding: 20px;
background-color: var(--background-color);
color: var(--text-color);
}
h1 {
margin-bottom: 20px;
}
p {
text-align: center;
margin-bottom: 20px;
}
.navigation-links {
margin-top: 10px;
}
.navigation-links a, .navigation-links select {
margin: 0 10px;
text-decoration: none;
color: var(--link-color);
background-color: transparent;
border: none;
cursor: pointer;
font-size: 16px;
}
.navigation-links a:hover, .navigation-links select:hover {
text-decoration: underline;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #121212;
--text-color: #ffffff;
--link-color: #40c4ff;
}
}
@media (prefers-color-scheme: light) {
:root {
--background-color: #ffffff;
--text-color: #000000;
--link-color: #007acc;
}
}
</style>
</head>
<body>
<h1>About Conway’s Farm of Life</h1>
<p>This is a humble nod to the late <a href="https://en.wikipedia.org/wiki/John_Horton_Conway" target="_blank">John Horton Conway</a>, as well as a Minimum Viable Product to demonstrate an incremental clicker game.</p>
<div class="navigation-links">
<select id="play-dropdown" onchange="handlePlayOptionChange()">
<option value="">Play</option>
<option value="free">Free</option>
<option value="limit">Limit</option>
<option value="action">Action</option>
</select>
<a href="index.html">Home</a>
</div>
<script>
function handlePlayOptionChange() {
const selectedValue = document.getElementById('play-dropdown').value;
if (selectedValue) {
switch (selectedValue) {
case 'free':
window.location.href = 'cfol_f.html';
break;
case 'limit':
window.location.href = 'cfol_l.html';
break;
case 'action':
window.location.href = 'cfol_a.html';
break;
}
}
}
</script>
</body>
</html>