Spaces:
Running
Running
/* Enhanced CSS for FanFic Illustrator */ | |
.header { | |
text-align: center; | |
margin-bottom: 2rem; | |
background: linear-gradient(to right, #4a69bd, #6a89cc); | |
padding: 1.5rem; | |
border-radius: 10px; | |
color: white; | |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
} | |
.title { | |
margin: 0; | |
font-size: 2.5rem; | |
font-weight: 700; | |
} | |
.subtitle { | |
font-size: 1.1rem; | |
margin-top: 0.5rem; | |
opacity: 0.9; | |
line-height: 1.5; | |
} | |
.subtitle-inline { | |
font-size: 1.3rem; | |
font-weight: 400; | |
opacity: 0.9; | |
} | |
.section { | |
background: white; | |
border-radius: 10px; | |
padding: 1.5rem; | |
margin-bottom: 1.5rem; | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); | |
border: 1px solid #e1e4e8; | |
} | |
.section-title { | |
font-size: 1.3rem; | |
margin-top: 0; | |
margin-bottom: 1.2rem; | |
color: #4a69bd; | |
border-bottom: 2px solid #e1e4e8; | |
padding-bottom: 0.5rem; | |
} | |
/* Improved button styling */ | |
.primary-button { | |
background-color: #4a69bd ; | |
color: white ; | |
font-weight: 600 ; | |
padding: 0.7rem 1.2rem ; | |
border-radius: 8px ; | |
border: none ; | |
cursor: pointer ; | |
transition: all 0.2s ease ; | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) ; | |
text-transform: uppercase ; | |
letter-spacing: 0.5px ; | |
} | |
.primary-button:hover { | |
background-color: #3a539b ; | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) ; | |
transform: translateY(-1px) ; | |
} | |
/* Improved AI output styling with better contrast */ | |
.thinking-output-label { | |
font-weight: 600 ; | |
color: #4285f4 ; | |
background-color: transparent ; | |
margin-bottom: 4px ; | |
display: block ; | |
margin-top: 0.5rem ; | |
} | |
.thinking-output { | |
background-color: #f0f7ff ; | |
border-left: 4px solid #4285f4 ; | |
padding: 12px ; | |
border-radius: 6px ; | |
font-size: 0.95rem ; | |
color: #333 ; | |
margin-bottom: 10px ; | |
} | |
.generated-prompt-label { | |
font-weight: 600 ; | |
color: #34a853 ; | |
background-color: transparent ; | |
margin-bottom: 4px ; | |
margin-top: 16px ; | |
display: block ; | |
} | |
.generated-prompt { | |
background-color: #f0fff4 ; | |
border-left: 4px solid #34a853 ; | |
padding: 12px ; | |
border-radius: 6px ; | |
font-weight: 500 ; | |
font-size: 0.95rem ; | |
color: #333 ; | |
} | |
.text-input-area { | |
border: 1px solid #d0d7de; | |
border-radius: 8px; | |
} | |
/* Add animation for loading states */ | |
@keyframes pulse { | |
0% { opacity: 1; } | |
50% { opacity: 0.7; } | |
100% { opacity: 1; } | |
} | |
.loading { | |
animation: pulse 1.5s infinite; | |
} | |
/* Gallery improvements */ | |
.gallery-item { | |
border-radius: 8px; | |
overflow: hidden; | |
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); | |
transition: transform 0.2s ease; | |
} | |
.gallery-item:hover { | |
transform: scale(1.02); | |
} | |
/* Form element styling */ | |
input, select, textarea { | |
border-radius: 6px ; | |
border: 1px solid #d0d7de ; | |
padding: 8px 12px ; | |
transition: border-color 0.2s ease ; | |
} | |
input:focus, select:focus, textarea:focus { | |
border-color: #4a69bd ; | |
box-shadow: 0 0 0 3px rgba(74, 105, 189, 0.1) ; | |
} | |
/* Dropdown styling */ | |
.gr-dropdown { | |
border-radius: 6px ; | |
transition: all 0.2s ease ; | |
} | |
.gr-dropdown:hover { | |
border-color: #4a69bd ; | |
} | |
/* Accordion styling */ | |
.gr-accordion { | |
border: 1px solid #e1e4e8 ; | |
border-radius: 8px ; | |
overflow: hidden ; | |
margin-top: 1rem ; | |
margin-bottom: 1rem ; | |
} | |
.gr-accordion-title { | |
font-weight: 600 ; | |
color: #4a69bd ; | |
padding: 10px 15px ; | |
} | |
/* Label styling to improve readability */ | |
.gr-label { | |
font-weight: 600 ; | |
margin-bottom: 4px ; | |
color: #444 ; | |
} | |
/* Responsive adjustments */ | |
@media (max-width: 768px) { | |
.title { | |
font-size: 2rem; | |
} | |
.subtitle-inline { | |
font-size: 1.1rem; | |
} | |
.section { | |
padding: 1rem; | |
} | |
.primary-button { | |
padding: 0.6rem 1rem ; | |
font-size: 0.9rem ; | |
} | |
} | |
/* Textbox focus state improvement */ | |
.gr-textbox:focus-within { | |
border-color: #4a69bd ; | |
box-shadow: 0 0 0 3px rgba(74, 105, 189, 0.1) ; | |
} | |
/* Gallery container styling */ | |
.gr-gallery { | |
background-color: #f8f9fa ; | |
border-radius: 8px ; | |
padding: 4px ; | |
margin-bottom: 16px ; | |
} | |
/* Gallery item caption styling */ | |
.gr-gallery-item-caption { | |
background-color: rgba(255, 255, 255, 0.9) ; | |
color: #333 ; | |
border-radius: 0 0 8px 8px ; | |
padding: 8px ; | |
} | |