Extends the debug panel on painting detail and artist bio with a 20-result search picker, local image upload, and clear-to-empty-frame workflow, plus API routes, artist checkup migration, and documentation. Co-authored-by: Cursor <cursoragent@cursor.com>
135 lines
2.3 KiB
CSS
135 lines
2.3 KiB
CSS
.artist-bio {
|
|
min-height: 100vh;
|
|
background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
|
|
color: #e8d5b5;
|
|
}
|
|
|
|
.bio-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 24px;
|
|
border-bottom: 2px solid #c9a96e;
|
|
}
|
|
|
|
.bio-header h1 {
|
|
font-family: 'Georgia', serif;
|
|
font-size: 28px;
|
|
margin: 0;
|
|
color: #e8d5b5;
|
|
}
|
|
|
|
.back-btn,
|
|
.gallery-btn {
|
|
padding: 8px 16px;
|
|
border: 1px solid #c9a96e;
|
|
background: rgba(201, 169, 110, 0.15);
|
|
color: #e8d5b5;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-family: 'Georgia', serif;
|
|
font-size: 14px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.back-btn:hover,
|
|
.gallery-btn:hover {
|
|
background: rgba(201, 169, 110, 0.35);
|
|
}
|
|
|
|
.bio-content {
|
|
display: flex;
|
|
gap: 40px;
|
|
max-width: 900px;
|
|
margin: 40px auto;
|
|
padding: 0 24px;
|
|
}
|
|
|
|
.bio-portrait {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.bio-portrait img {
|
|
width: 240px;
|
|
height: 300px;
|
|
object-fit: cover;
|
|
border: 4px solid #c9a96e;
|
|
border-radius: 4px;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.bio-portrait-checked img {
|
|
border-color: #ffd700;
|
|
box-shadow: 0 8px 28px rgba(255, 215, 0, 0.25);
|
|
}
|
|
|
|
.bio-portrait-empty {
|
|
width: 240px;
|
|
height: 300px;
|
|
border: 4px solid rgba(201, 169, 110, 0.35);
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
}
|
|
|
|
.bio-text {
|
|
flex: 1;
|
|
}
|
|
|
|
.bio-meta {
|
|
display: flex;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.bio-lifespan {
|
|
color: #c9a96e;
|
|
font-family: 'Georgia', serif;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.bio-movement {
|
|
padding: 2px 10px;
|
|
background: rgba(201, 169, 110, 0.15);
|
|
border: 1px solid rgba(201, 169, 110, 0.3);
|
|
border-radius: 12px;
|
|
font-size: 13px;
|
|
color: #c9a96e;
|
|
}
|
|
|
|
.bio-summary {
|
|
font-family: 'Georgia', serif;
|
|
font-size: 18px;
|
|
line-height: 1.6;
|
|
color: #e8d5b5;
|
|
font-style: italic;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.bio-full p {
|
|
font-family: 'Georgia', serif;
|
|
font-size: 15px;
|
|
line-height: 1.7;
|
|
color: rgba(232, 213, 181, 0.85);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.bio-empty {
|
|
color: rgba(232, 213, 181, 0.5);
|
|
font-style: italic;
|
|
}
|
|
|
|
.bio-source {
|
|
margin-top: 24px;
|
|
font-size: 12px;
|
|
color: rgba(201, 169, 110, 0.5);
|
|
border-top: 1px solid rgba(201, 169, 110, 0.2);
|
|
padding-top: 12px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.bio-content {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
}
|