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

Content deleted Content added
No edit summary
No edit summary
Line 30:
flex: 1;
min-width: 0;
width: 100%; /* Ensures the box takes full available width */
}
 
Line 43:
/* --- 5. SCENARIO: WITH IMAGE (Transparent, Clean) --- */
.insert-quote-panel.has-image {
gap: 15px; /* This is the ONLY space between face and text now */
gap: 15px;
}
 
.insert-quote-panel.has-image .insert-quote-content {
background: transparent !important; /* No gray box */
border: none !important; /* No border */
padding: 0 !important; /* No extra padding around the wrapper */
margin: 0 !important;
color: #202122;
Line 55:
 
/* =================================================================
THE FIXES
THE RESET: HIDE BORDERS BUT KEEP STRUCTURE (INDENTATION)
================================================================= */
 
/* 1. ForceRESET theBLOCKQUOTE inner(Fixes {{Quote}}"Text totoo befar Fullfrom Widthimage") */
.insert-quote-content .quotebox,
.insert-quote-content blockquote {
width: 100% !important;
max-width: 100% !important;
float: none !important;
box-sizing: border-box;
 
/* 2. When an image is present:
- Hide the inner gray background/borders of the {{Quote}}
- BUT DO NOT remove padding/margins. This preserves the indent. */
.insert-quote-panel.has-image .insert-quote-content .quotebox,
.insert-quote-panel.has-image .insert-quote-content blockquote {
background: transparent !important;
border: none !important; /* Removes gray bar */
box-shadow: none !important;
/* We REMOVED 'padding: 0' here so the default indentation works */
/* KEY FIX: Overrides Common.css "padding: 0 40px" */
padding: 0 !important;
floatmargin: none0 !important;
width: 100% !important;
max-width: 100% !important;
}
 
/* 32. ALIGNMENT FIX: Ensure the text starts at the very top (aligned with photo) */
.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. AUTHOR SPACING FIX (Vertical gap only) */
/* (Deleted the aggressive "Author Fix" block completely.
/* We target the container of the author to add space above it */
This allows MediaWiki's default .templatequote-cite padding to take over.) */
.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; /* Ensures margin works */
margin-top: 1.5em !important; /* Adds the space between text and author */
/* We REMOVEDDO 'padding:NOT 0'touch padding-left here, so the default indentationindent worksremains */