-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
168 lines (149 loc) · 4.5 KB
/
Copy pathindex.html
File metadata and controls
168 lines (149 loc) · 4.5 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
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>快樂數學遊戲樂園</title>
<style>
body {
font-family: 'Segoe UI', 'Microsoft JhengHei', sans-serif;
background-color: #e0f7fa; /* 清爽的藍色背景 */
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
}
h1 {
color: #006064;
margin-bottom: 10px;
font-size: 2rem;
text-align: center;
text-shadow: 2px 2px 0px rgba(255,255,255,0.5);
}
.subtitle {
color: #00838f;
margin-bottom: 30px;
font-size: 1.1rem;
}
/* 遊戲列表容器 */
.game-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 25px;
width: 100%;
max-width: 1000px;
padding: 10px;
}
/* 遊戲卡片 */
.game-card {
background: white;
border-radius: 20px;
padding: 25px;
text-decoration: none; /* 去除超連結底線 */
color: #333;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s;
border: 3px solid transparent;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
position: relative;
overflow: hidden;
}
/* 滑鼠移過去的特效 */
.game-card:hover {
transform: translateY(-8px);
box-shadow: 0 15px 30px rgba(0,0,0,0.2);
border-color: #ffb74d;
}
.icon {
font-size: 60px;
margin-bottom: 15px;
background: #fff8e1;
width: 100px;
height: 100px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
border: 2px dashed #ffcc80;
}
.game-title {
font-size: 1.5rem;
font-weight: bold;
margin-bottom: 10px;
color: #d81b60;
}
.game-desc {
font-size: 1rem;
color: #666;
line-height: 1.5;
}
.tag {
margin-top: 15px;
background-color: #b2ebf2;
color: #006064;
padding: 5px 12px;
border-radius: 15px;
font-size: 0.85rem;
font-weight: bold;
}
/* 敬請期待卡片 */
.coming-soon {
opacity: 0.7;
cursor: default;
background: #f5f5f5;
}
.coming-soon:hover {
transform: none;
border-color: transparent;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
/* Footer */
footer {
margin-top: auto;
padding-top: 40px;
color: #888;
font-size: 0.9rem;
}
</style>
</head>
<body>
<h1>🎮 快樂數學遊戲樂園</h1>
<div class="subtitle">選擇一個遊戲開始挑戰吧!</div>
<div class="game-grid">
<a href="Hit.html" class="game-card">
<div class="icon">🐹</div>
<div class="game-title">數學打地鼠</div>
<div class="game-desc">
拿起槌子痛扁地鼠!<br>
快速判斷乘法算式,挑戰你的手速與反應。
</div>
<div class="tag">四年級數學</div>
</a>
<a href="backpack.html" class="game-card">
<div class="icon">🎒</div>
<div class="game-title">背包數學大師</div>
<div class="game-desc">
拖曳積木填滿背包,<br>
挑戰你的空間感與面積計算!
</div>
<div class="tag">三年級數學</div>
</a>
<div class="game-card coming-soon">
<div class="icon">🚧</div>
<div class="game-title">敬請期待</div>
<div class="game-desc">
更多好玩的數學遊戲<br>
正在開發中...
</div>
</div>
</div>
<footer>
Created for Math Education
</footer>
</body>
</html>