Template:Blockquote/styles.css: Difference between revisions
Appearance
Content deleted Content added
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Make the attribution a block with uniform indent under the dash */ |
|||
/* {{pp-template}} */ |
|||
.templatequote { |
.templatequotecite .templatequote-cite { |
||
display: block; |
|||
overflow: hidden; |
|||
margin: 0; |
|||
padding: 0 32px; |
|||
} |
|||
| ⚫ | |||
line-height: 1.5em; |
|||
/* @noflip */ |
/* @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) { |
@media (min-width: 500px) { |
||
.templatequotecite { |
|||
/* you already have this; shown for clarity */ |
|||
/* @noflip */ |
|||
padding-left: 1.6em; |
|||
} |
|||
} |
|||
| ⚫ | |||
/* 1.6em (container) + 0.7em (child) = 2.3em total */ |
|||
/* @noflip */ |
|||
padding-left: .7em; |
|||
} |
|||
} |
} |
||
Latest revision as of 00:02, 20 October 2025
/* Make the attribution a block with uniform indent under the dash */
.templatequotecite .templatequote-cite {
display: block;
margin: 0;
/* @noflip */
padding-left: 2.3em; /* every line (including wraps) starts here */
}
/* 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;
}
}