Template:Insert quote panel/styles.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 33:
}
/* --- 4. SCENARIO: NO IMAGE (Original Gray Box) --- */
.insert-quote-panel.no-image .insert-quote-content {
background: #F8F9FA;
Line 43:
/* --- 5. SCENARIO: WITH IMAGE (Transparent, Clean) --- */
.insert-quote-panel.has-image {
gap: 15px; /* This is the ONLY space between face and text */
}
Line 55:
/* =================================================================
THE FIXES
================================================================= */
width: 100% !important; ▼
max-width: 100% !important;▼
float: none !important;▼
/* 1. RESET BLOCKQUOTE (Fixes "Text too far from image") */
.insert-quote-panel.has-image .insert-quote-content .quotebox,
.insert-quote-panel.has-image .insert-quote-content blockquote {
background: transparent !important;
border: none !important;
box-shadow: none !important;
/* KEY FIX: Overrides Common.css "padding: 0 40px" */
padding: 0 !important;
margin: 0 !important;
▲ width: 100% !important;
▲ max-width: 100% !important;
}
/* 2. ALIGNMENT FIX: Ensure text starts at the very top */
.insert-quote-panel.has-image .insert-quote-content > .quotebox > *:first-child,
.insert-quote-panel.has-image .insert-quote-content > *:first-child {
Line 85 ⟶ 80:
}
/* 3.
.insert-quote-panel.has-image .insert-quote-content .templatequotecite,
.insert-quote-panel.has-image .insert-quote-content cite,
.insert-quote-panel.has-image .insert-quote-content small {
display: block !important;
margin-top: 1.5em !important; /* Adds the vertical space */
/* LEFT ALIGN FIX: Kills the default indent so it matches the quote text */
padding-left: 0 !important;
margin-left: 0 !important;
▲ padding-left: 2.3em !important; /* FORCE the default MediaWiki indent */
}
| |||