feat: add Inter font, extract useStoryGeneration hook, fix mobile menu

This commit is contained in:
Alexej Wolff
2026-05-06 00:11:33 +02:00
parent c9a7144960
commit c379074781
8 changed files with 476 additions and 6 deletions
+87 -2
View File
@@ -902,12 +902,51 @@
.temp-label {
font-size: 0.9rem;
}
/* Character card mobile */
.character-content {
flex-direction: column;
align-items: center;
}
.character-avatar-section {
width: 100%;
flex-direction: row;
justify-content: center;
gap: 1rem;
}
.character-avatar-preview,
.character-avatar-placeholder {
width: 80px;
height: 120px;
}
.character-fields {
width: 100%;
}
.character-row {
grid-template-columns: 1fr;
}
.character-row select {
width: 100%;
}
.character-buttons {
flex-direction: column;
}
.add-btn {
width: 100%;
}
}
/* Character row with two selects */
/* Character row with three selects */
.character-row {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr 1fr;
gap: 0.5rem;
}
@@ -1024,3 +1063,49 @@
font-size: 0.8rem;
color: #888;
}
/* Plot generation button */
.plot-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}
.btn-generate-plot {
padding: 0.5rem 1rem;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
border-radius: 8px;
color: white;
font-size: 0.85rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
gap: 0.5rem;
}
.btn-generate-plot:hover:not(:disabled) {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.btn-generate-plot:disabled {
opacity: 0.6;
cursor: wait;
}
@media (max-width: 600px) {
.plot-header {
flex-direction: column;
align-items: stretch;
}
.btn-generate-plot {
width: 100%;
justify-content: center;
}
}