File size: 1,348 Bytes
f8ae288 2589912 f8ae288 2589912 f8ae288 2589912 f8ae288 2589912 f8ae288 2589912 f8ae288 53a7a09 f8ae288 53a7a09 f8ae288 | 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 | @keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
#textbox-container {
animation: slideUp 0.5s ease-out;
}
#text-display {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.choice-btn {
transition: all 0.2s ease;
}
.choice-btn:hover {
transform: translateX(5px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#menu-panel {
animation: fadeIn 0.3s ease-out;
}
/* Character animations */
.char-enter {
animation: slideUp 0.5s ease-out forwards;
}
.char-exit {
animation: fadeIn 0.5s ease-out reverse forwards;
}
/* Text typing effect */
.typing {
border-right: 2px solid;
animation: blink 1s step-end infinite;
white-space: pre-wrap;
word-break: break-word;
}
#textbox-container {
min-height: 150px;
display: flex;
flex-direction: column;
justify-content: center;
}
#text-display {
min-height: 100px;
}
#character-left, #character-right {
pointer-events: none;
}
#menu-button {
transition: transform 0.2s ease;
}
#menu-button:hover {
transform: scale(1.1);
}
@keyframes blink {
from, to { border-color: transparent }
50% { border-color: #ec4899 }
} |