Template:Blockquote/styles.css: Difference between revisions

From New wiki
Jump to navigation Jump to search
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: 1em 0;
margin: 0;
padding: 0 32px;
}

.templatequotecite {
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 {
.templatequotecite {
/* you already have this; shown for clarity */
/* @noflip */
/* @noflip */
padding-left: 1.6em;
padding-left: 1.6em;
}
}
.templatequotecite .templatequote-cite {
/* 1.6em (container) + 0.7em (child) = 2.3em total */
/* @noflip */
padding-left: .7em;
}
}
}

Latest revision as of 16:02, 19 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;
    }
}