Template:Blockquote/styles.css: Difference between revisions

Content deleted Content added
Created page with "{{pp-template}}: .templatequote { overflow: hidden; margin: 1em 0; padding: 0 32px; } .templatequotecite { line-height: 1.5em; @noflip: text-align: left; margin-top: 0; } @media (min-width: 500px) { .templatequotecite { @noflip: padding-left: 1.6em; } }"
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1:
/* Make the attribution a block with uniform indent under the dash */
/* {{pp-template}} */
.templatequotecite .templatequote-cite {
display: block;
overflow: hidden;
margin: 1em 0;
padding: 0 32px;
}
 
.templatequotecite {
line-height: 1.5em;
/* @noflip */
padding-left: 2.3em; /* every line (including wraps) starts here */
text-align: left;
margin-top: 0;
}
 
/* Keep total visual indent ~2.3em once the container adds its own padding */
@media (min-width: 500px) {
.templatequotecite {
/* you already have this; shown for clarity */
/* @noflip */
padding-left: 1.6em;
}
}
.templatequotecite .templatequote-cite {
/* 1.6em (container) + 0.7em (child) = 2.3em total */
/* @noflip */
padding-left: .7em;
}
}