File size: 1,680 Bytes
7e144db 65e0f2c 7e144db 65e0f2c 7e144db 65e0f2c 7e144db 65e0f2c 7e144db 65e0f2c 7e144db | 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 | @tailwind base;
@tailwind components;
@tailwind utilities;
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #fbcfe8;
}
::-webkit-scrollbar-thumb {
background: #f472b6;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #db2777;
}
/* Animation for character appearance */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.character-enter {
animation: fadeIn 0.3s ease-out forwards;
}
/* Syntax highlighting for editor */
.token.keyword {
color: #db2777;
font-weight: bold;
}
.token.string {
color: #65a30d;
}
.token.comment {
color: #9ca3af;
font-style: italic;
}
.token.character {
color: #7c3aed;
}
.token.background {
color: #f59e0b;
}
.token.scene {
color: #0891b2;
font-weight: bold;
}
.token.menu {
color: #c026d3;
}
/* Preview window styling */
#preview-container {
background-color: #fff1f2;
position: relative;
overflow: hidden;
}
.character-sprite {
position: absolute;
bottom: 0;
transition: all 0.3s ease;
}
.dialogue-box {
position: absolute;
bottom: 0;
width: 100%;
background-color: rgba(255, 255, 255, 0.9);
border-top: 2px solid #f9a8d4;
padding: 1rem;
}
.menu-options {
display: flex;
flex-direction: column;
gap: 0.5rem;
margin-top: 1rem;
}
.menu-option {
background-color: #fbcfe8;
padding: 0.5rem 1rem;
border-radius: 0.5rem;
cursor: pointer;
transition: background-color 0.2s;
}
.menu-option:hover {
background-color: #f9a8d4;
} |