Template:Blockquote/styles.css: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1:
/* Make the attribution a block with uniform indent under the dash */
/* Hanging indent for multi-line attribution */
.templatequotecite .templatequote-cite {
display: block; /* make it a block so padding/indent apply to all lines */
margin: 0;
/* @noflip */
padding-left: 2.3em; /* base indent for every line */
textpadding-indentleft: -2.3em; /* pull firstevery line back so the dash hangs(including inwraps) thestarts marginhere */
}
 
/* Keep the overalltotal visual indent consistent~2.3em once the container withadds yourits existingown breakpointpadding */
@media (min-width: 500px) {
.templatequotecite {
/* you already have this; shown herefor to clarify the mathclarity */
/* @noflip */
padding-left: 1.6em;
}
.templatequotecite .templatequote-cite {
/* 1.6em (container) + 0.7em (child) = 2.3em total indent */
/* @noflip */
padding-left: .7em;
text-indent: -.7em;
}
}