Template:Insert quote panel/styles.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 37:
background: #F8F9FA;
border: 0 solid #9CA4AC;
padding: .5em; /* Creates the space inside the gray box */
color: #202122;
}
/* --- 5. SCENARIO: WITH IMAGE (Transparent
.insert-quote-panel.has-image {
gap: 15px; /*
}
Line 55:
/* =================================================================
THE FIX: UNIVERSAL ALIGNMENT RESET
Force Text and Author to align flush left in ALL scenarios
================================================================= */
/*
.insert-quote-content .quotebox,
.insert-quote-content blockquote,
margin-left: 0 !important;▼
box-sizing: border-box;
}▼
/* Special fix for "Has Image": Remove all margins from the blockquote wrapper */
.insert-quote-panel.has-image .insert-quote-content .quotebox,
.insert-quote-panel.has-image .insert-quote-content blockquote {
border: none !important;
background: transparent !important;
}
▲ border: none !important;
▲ box-shadow: none !important;
/* B. RESET THE AUTHOR (Removes default indentation) */
.insert-quote-content cite,
.insert-quote-content small {
display: block !important;
/*
margin-left: 0 !important;
margin-bottom: 0 !important;
margin-right: 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;
▲}
▲.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;
▲ text-align: left !important;
}
| |||