mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 23:39:42 +01:00
5bd111eb76
This will be the final sync from GitHub before placing that repository into read-only mode. All further changes should now flow entirely through Trac.
For a full list of changes since [49633], see 1d5a895...53acd9b
.
Props poena, luminuu, kjellr, ryelle, allancole, melchoyce, felipeelia, aljullu, kebbet, chaton666, Clorith, mkaz, ingereck, paaljoachim.
See #51526.
Built from https://develop.svn.wordpress.org/trunk@49726
git-svn-id: http://core.svn.wordpress.org/trunk@49449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
82 lines
1.6 KiB
SCSS
82 lines
1.6 KiB
SCSS
blockquote {
|
|
padding: 0;
|
|
position: relative;
|
|
margin: var(--global--spacing-vertical) 0 var(--global--spacing-vertical) var(--global--spacing-horizontal);
|
|
|
|
> * {
|
|
margin-top: var(--global--spacing-unit);
|
|
margin-bottom: var(--global--spacing-unit);
|
|
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
p {
|
|
letter-spacing: var(--heading--letter-spacing-h4);
|
|
font-family: var(--quote--font-family);
|
|
font-size: var(--quote--font-size);
|
|
font-style: var(--quote--font-style);
|
|
font-weight: var(--quote--font-weight);
|
|
line-height: var(--quote--line-height);
|
|
}
|
|
|
|
cite,
|
|
footer {
|
|
font-weight: normal;
|
|
color: var(--global--color-primary);
|
|
font-size: var(--global--font-size-xs);
|
|
letter-spacing: var(--global--letter-spacing);
|
|
}
|
|
|
|
&.alignleft,
|
|
&.alignright {
|
|
|
|
padding-left: inherit;
|
|
|
|
p {
|
|
font-size: var(--heading--font-size-h5);
|
|
max-width: inherit;
|
|
width: inherit;
|
|
}
|
|
|
|
cite,
|
|
footer {
|
|
font-size: var(--global--font-size-xs);
|
|
letter-spacing: var(--global--letter-spacing);
|
|
}
|
|
}
|
|
|
|
strong {
|
|
font-weight: var(--quote--font-weight-strong);
|
|
}
|
|
|
|
&:before {
|
|
content: "\201C";
|
|
font-size: var(--quote--font-size);
|
|
line-height: var(--quote--line-height);
|
|
position: absolute;
|
|
left: calc(-0.5 * var(--global--spacing-horizontal));
|
|
}
|
|
|
|
.wp-block-quote__citation,
|
|
cite,
|
|
footer {
|
|
color: var(--global--color-primary);
|
|
font-size: var(--global--font-size-xs);
|
|
font-style: var(--quote--font-style-cite);
|
|
}
|
|
|
|
@include media(mobile-only) {
|
|
padding-left: calc(0.5 * var(--global--spacing-horizontal));
|
|
|
|
&:before {
|
|
left: 0;
|
|
}
|
|
}
|
|
}
|