Template:Insert quote panel/styles.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
| (32 intermediate revisions by the same user not shown) | |||
Line 10:
flex-direction: row;
align-items: flex-start;
color: #202122;▼
}
Line 16 ⟶ 17:
flex: 0 0 auto;
line-height: 0;
margin-top:
}
.insert-quote-image img {
border-radius: 50%;
border: 1px solid #ffffff;
width:
height:
object-fit: cover;
}
Line 33 ⟶ 34:
}
/* =================================================================▼
================================================================= */▼
/* 1. Main Content Container */
.insert-quote-panel.no-image .insert-quote-content {
background:
border-left:
/* Adjusted padding: Top, Right, Bottom, Left */
▲ color: #202122;
/* 1.2em left padding creates a sophisticated gap from the thin bar */
color: #202122;
box-sizing: border-box;▼
}
/*
/* Targets blockquotes, paragraphs, and standard quote templates inside the panel */
border: none !important;▼
margin: 0 !important;▼
background: transparent !important;▼
line-height: 1.6; /* Optimized for readability in business contexts */
}▼
.insert-quote-panel.no-image .insert-quote-content .templatequotecite,▼
margin-top: 0.75em;
font-weight: normal;
}▼
/* =================================================================▼
SCENARIO B: WITH IMAGE (Clean, Transparent, Flush Left)
================================================================= */▼
.insert-quote-panel.has-image {
gap: 15px;
padding-top: 10px; /* UPDATED: Adds space above the whole panel */
}
Line 54 ⟶ 88:
}
/* --- B1. RESET THE QUOTE TEXT (Only for Has-Image) --- */
▲/* =================================================================
.insert-quote-panel.has-image .insert-quote-content .quotebox,
.insert-quote-panel.has-image .insert-quote-content blockquote,
▲ ================================================================= */
.insert-quote-
.insert-quote-panel.has-image .insert-quote-content
padding-left: 0 !important;
margin: 0 !important;
border: none !important;
background: transparent !important;
width: 100% !important;
max-width: 100% !important;
▲ float: none !important;
▲ box-sizing: border-box;
}
/* --- B2. RESET THE AUTHOR (Only for Has-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;
▲ padding: 0 !important;
▲ margin: 0 !important;
▲}
▲.insert-quote-panel.has-image .insert-quote-content > .quotebox > *:first-child,
▲.insert-quote-panel.has-image .insert-quote-content > *:first-child {
▲ margin-top: 0 !important;
▲ padding-top: 0 !important;
▲}
▲/* 3. Author Spacing (Vertical gap) */
.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;
padding-left: 0 !important;
margin-left: 0 !important;
margin-top: 0em !important;
margin-bottom: 0 !important;
}
/* --- B3. REMOVE TOP GAP (Only for Has-Image) --- */
.insert-quote-panel.has-image .insert-quote-content > .quotebox > *:first-child,
.insert-quote-panel.has-image .insert-quote-content > *:first-child {
margin-top: 0 !important;
padding-top: 0 !important;
▲.insert-quote-panel.no-image .insert-quote-content .templatequotecite,
▲.insert-quote-panel.no-image .insert-quote-content cite {
}
| |||