GabHtml's picture
Deve ser funcional, e em arquivos separados o css js e html
7e144db verified
Raw History Blame Contribute Delete
1.68 kB
@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;
}