Template:Insert quote panel/styles.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 12:
}
 
/* --- 2. FORMAT: WITH IMAGE (CleanSimple, White, CloseTight spacingLayout) --- */
.insert-quote-panel.has-image {
gap: 0.8em5em; /* DistanceBrings betweentext photocloser andto textthe image on the left */
}
 
.insert-quote-panel.has-image .insert-quote-content {
background: #fffffftransparent; /* WhiteSimple background */
border: none; /* NoREMOVES the vertical gray bordersbar */
padding: 0.2em; 0 0 0; /* Slight top pad to align /* Removes padding so text baselinealigns withstrictly eyestop-left */
color: #202122;
}
 
/* CRITICAL: Removes default paragraph margin so text starts at the very top */
.insert-quote-panel.has-image .insert-quote-content > *:first-child {
margin-top: 0;
}
 
/* --- 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;
}