add chapters and deploy script

This commit is contained in:
Lukas Cremer
2026-01-25 19:32:08 +01:00
parent 37b77fdb40
commit 61e0efaa68
8 changed files with 592 additions and 18 deletions

View File

@@ -100,6 +100,45 @@ h1 {
font-size: 1.8em;
}
.tabs-container {
display: flex;
gap: 10px;
margin-bottom: 20px;
flex-wrap: wrap;
justify-content: center;
}
.tab-button {
background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
color: #333;
border: none;
padding: 12px 20px;
font-size: 1.1em;
border-radius: 10px;
cursor: pointer;
font-family: 'Comic Sans MS', cursive;
font-weight: bold;
transition: all 0.3s ease;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
position: relative;
}
.tab-button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.tab-button.active {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.tab-button.active:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}
.task-container {
display: grid;
gap: 20px;
@@ -110,7 +149,9 @@ h1 {
padding: 25px;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
transition: transform 0.2s, box-shadow 0.2s, opacity 0.5s ease, transform 0.5s ease;
position: relative;
overflow: hidden;
}
.task-card:hover {
@@ -118,6 +159,46 @@ h1 {
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.task-card.confetti-animation {
animation: confettiFadeOut 1.5s ease forwards;
}
@keyframes confettiFadeOut {
0% {
transform: scale(1) rotate(0deg);
opacity: 1;
}
50% {
transform: scale(1.1) rotate(5deg);
opacity: 0.8;
}
100% {
transform: scale(0) rotate(10deg);
opacity: 0;
}
}
.confetti {
position: absolute;
width: 10px;
height: 10px;
background: #ffd700;
animation: confettiFall linear forwards;
z-index: 1000;
pointer-events: none;
}
@keyframes confettiFall {
0% {
transform: translateY(0) translateX(0) rotate(0deg);
opacity: 1;
}
100% {
transform: translateY(400px) translateX(calc(var(--random-x, 0) * 100px)) rotate(720deg);
opacity: 0;
}
}
.task-header {
display: flex;
justify-content: space-between;