Template:Insert quote panel/styles.css
Appearance
/* Template:Insert quote panel/styles.css */
.insert-quote-panel {
clear: both;
width: 100%;
box-sizing: border-box;
margin: 0 0 2em 0;
padding: .5em .5em .5em 0;
border: 0 solid #9CA4AC;
border-radius: 0;
background: #F8F9FA;
/* Flexbox setup for image + text layout */
display: flex;
flex-direction: row;
align-items: flex-start; /* Aligns image to top of text. Use 'center' if you prefer vertical centering */
gap: 1em; /* Space between image and text */
/* lock text color so dark mode doesn’t flip it */
color: #202122;
}
/* The wrapper around the text content */
.insert-quote-content {
flex: 1; /* Takes up all remaining width */
min-width: 0; /* CSS trick to prevent text overflow issues in flex containers */
}
/* The wrapper around the image (if present) */
.insert-quote-image {
flex: 0 0 auto; /* Prevents image from shrinking or growing */
line-height: 0; /* Prevents extra spacing below image */
}
/* Optional: keep link colors constant too */
.insert-quote-panel a,
.insert-quote-panel a:visited { color: #202122; text-decoration: underline; }