Template:Insert quote panel/styles.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1:
/* Template:Insert quote panel/styles.css */
/* --- 1. MAIN CONTAINER (Flexbox Setup) --- */
.insert-quote-panel {
clear: both;
Line 9:
display: flex;
flex-direction: row;
align-items: flex-start; /* Aligns image top with text top */
gap: 1em;▼
}
/* --- 2. FORMAT: WITH IMAGE (Clean, White, Close spacing) --- */
.insert-quote-
gap: 0.8em; /* Distance between photo and text */
}
min-width: 0;▼
background: #ffffff; /* White background */
border: none; /* No borders */
padding: 0.2em 0 0 0; /* Slight top pad to align text baseline with eyes */
color: #202122;
}
/* --- 3. FORMAT: NO IMAGE (Original Gray Box) --- */
/* This restores your original look exactly when no image is present */
.insert-quote-panel.no-image .insert-quote-content {
background: #F8F9FA;
border: 0 solid #9CA4AC;
padding: .5em .5em .5em 0.5em; /* Original padding */
color: #202122;
}
/*
.insert-quote-content {
▲ min-width: 0;
}
.insert-quote-content a,
.insert-quote-content a:visited { color: #202122; text-decoration: underline; }▼
.insert-quote-image {
flex: 0 0 auto;
Line 31 ⟶ 49:
}
▲/* --- ROUND IMAGE STYLING --- */
.insert-quote-image img {
border-radius: 50%;
border: 1px solid #ffffff;
width: 50px;
height: 50px;
object-fit: cover;
}
▲.insert-quote-content a,
▲.insert-quote-content a:visited { color: #202122; text-decoration: underline; }
| |||