mirror of
https://github.com/acedanger/docker.git
synced 2025-12-06 01:10:11 -08:00
add initial Caddyfile, docker-compose.yml, and HTML files for math flashcards; set up basic structure and styles
This commit is contained in:
208
margotwood/index.html
Normal file
208
margotwood/index.html
Normal file
@@ -0,0 +1,208 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Learning Fun for Toddlers!</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Nunito', sans-serif;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.container {
|
||||
background: white;
|
||||
border-radius: 30px;
|
||||
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
|
||||
padding: 40px 30px;
|
||||
text-align: center;
|
||||
max-width: 600px;
|
||||
width: 100%;
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: #4a5568;
|
||||
font-size: 3em;
|
||||
margin-bottom: 20px;
|
||||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: #667eea;
|
||||
font-size: 1.5em;
|
||||
margin-bottom: 40px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.app-link {
|
||||
display: block;
|
||||
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
font-size: 2.5em;
|
||||
font-weight: bold;
|
||||
padding: 40px 30px;
|
||||
border-radius: 25px;
|
||||
margin: 30px 0;
|
||||
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
|
||||
transition: all 0.3s ease;
|
||||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
||||
min-height: 120px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.app-link:hover,
|
||||
.app-link:active {
|
||||
transform: scale(1.05);
|
||||
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
|
||||
background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
|
||||
}
|
||||
|
||||
.app-link:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
.emoji {
|
||||
font-size: 1.5em;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.link-text {
|
||||
font-size: 0.8em;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin-top: 30px;
|
||||
color: #667eea;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
/* Mobile-first responsive design */
|
||||
@media (max-width: 480px) {
|
||||
.container {
|
||||
padding: 30px 20px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 2.5em;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
.app-link {
|
||||
font-size: 2.2em;
|
||||
padding: 35px 25px;
|
||||
min-height: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 360px) {
|
||||
.title {
|
||||
font-size: 2.2em;
|
||||
}
|
||||
|
||||
.app-link {
|
||||
font-size: 2em;
|
||||
padding: 30px 20px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tablet optimizations */
|
||||
@media (min-width: 481px) and (max-width: 768px) {
|
||||
.container {
|
||||
padding: 50px 40px;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 3.5em;
|
||||
}
|
||||
|
||||
.app-link {
|
||||
font-size: 3em;
|
||||
padding: 50px 40px;
|
||||
min-height: 140px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Large tablet/desktop */
|
||||
@media (min-width: 769px) {
|
||||
.container {
|
||||
padding: 60px 50px;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 4em;
|
||||
}
|
||||
|
||||
.app-link {
|
||||
font-size: 3.5em;
|
||||
padding: 60px 50px;
|
||||
min-height: 160px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Touch-friendly adjustments */
|
||||
@media (pointer: coarse) {
|
||||
.app-link {
|
||||
min-height: 120px;
|
||||
padding: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Subtraction-specific styling */
|
||||
.app-link.subtraction {
|
||||
background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
|
||||
}
|
||||
|
||||
.app-link.subtraction:hover,
|
||||
.app-link.subtraction:active {
|
||||
background: linear-gradient(135deg, #38f9d7 0%, #43e97b 100%);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1 class="title">🎓 Learning Time! 🎓</h1>
|
||||
<p class="subtitle">Tap to start learning math!</p>
|
||||
|
||||
<a href="flashcards/addition.html" class="app-link">
|
||||
<div class="emoji">➕</div>
|
||||
<div class="link-text">Addition</div>
|
||||
</a>
|
||||
<a href="flashcards/subtraction.html" class="app-link subtraction">
|
||||
<div class="emoji">➖</div>
|
||||
<div class="link-text">Subtraction</div>
|
||||
</a>
|
||||
<div class="footer">
|
||||
<p>Fun math games for little learners! 🌟</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user