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

Content deleted Content added
No edit summary
No edit summary
 
(29 intermediate revisions by the same user not shown)
Line 10:
flex-direction: row;
align-items: flex-start;
/* Lock text color */
color: #202122;
}
Line 19 ⟶ 17:
flex: 0 0 auto;
line-height: 0;
margin-top: 05px;
}
.insert-quote-image img {
border-radius: 50%;
border: 1px solid #ffffff;
width: 50px44px;
height: 50px44px;
object-fit: cover;
}
Line 37 ⟶ 35:
 
/* =================================================================
SCENARIO A: NO IMAGE (RestoringRefined your2px OriginalMinimalist StyleBar)
================================================================= */
 
/* 1. Main Content Container */
.insert-quote-panel.no-image .insert-quote-content {
margin-topbackground: 1.5emtransparent !important;
/* Exact properties from your initial request */
border-left: 2px solid #202122;
background: #F8F9FA;
border-radius: 0 solid #9CA4AC;
/* Adjusted padding: Top, Right, Bottom, Left */
border-radius: 0;
/* 1.2em left padding creates a sophisticated gap from the thin bar */
padding: .5em .5em .5em 0; /* Keeps your original padding */
padding: 0 0 0 1.2em;
color: #202122;
box-sizing: border-box;
}
 
/* We2. doGlobal NOTReset addfor anyNested resetsWiki here.Elements */
/* Targets blockquotes, paragraphs, and standard quote templates inside the panel */
This ensures the inner {{Quote}} keeps its default margins
.insert-quote-panel.no-image a:visited {.insert-quote-content blockquote,
and doesn't touch the left side. */
.insert-quote-panel.no-image .insert-quote-content .templatequote,
 
.insert-quote-panel.no-image .insert-quote-content p,
/* Optional: Link colors (from your original) */
.insert-quote-panel.no-image a,.insert-quote-content div {
border: none !important;
.insert-quote-panel.no-image a:visited {
padding: 0 !important;
color: #202122;
margin: 0 !important;
text-decoration: underline;
background: transparent !important;
line-height: 1.6; /* Optimized for readability in business contexts */
}
 
/* 3. Author & Attribution Styling */
.insert-quote-panel.no-image .insert-quote-content .templatequotecite,
.insert-quote-panel.no-image .insert-quote-content cite {
display: block !important;
padding: 1em 0 0 0 !important;
margin-top: 0.75em;
font-weight: normal;
}
 
/* =================================================================
Line 64 ⟶ 76:
================================================================= */
.insert-quote-panel.has-image {
gap: 15px;
padding-top: 10px; /* UPDATED: Adds space above the whole panel */
}
 
Line 76 ⟶ 89:
 
/* --- B1. RESET THE QUOTE TEXT (Only for Has-Image) --- */
/* This removes the default indent so text aligns with the photo */
.insert-quote-panel.has-image .insert-quote-content .quotebox,
.insert-quote-panel.has-image .insert-quote-content blockquote,
Line 91 ⟶ 103:
 
/* --- B2. RESET THE AUTHOR (Only for Has-Image) --- */
/* Forces author to align left and adds vertical space */
.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;
/* ALIGNMENT: Flush Left */
text-align: left !important;
padding-left: 0 !important;
margin-left: 0 !important;
margin-top: 0em !important;
/* SPACING: Below text */
margin-top: 1.5em !important;
margin-bottom: 0 !important;
}