Varia: migrate sass/blocks/quote

This commit is contained in:
Andrés 2019-09-25 16:28:43 +02:00
parent 4b36fe3167
commit 7bcba055f9
5 changed files with 7 additions and 0 deletions

View file

@ -5,6 +5,7 @@
p {
font-family: #{map-deep-get($config-quote, "font", "family")};
font-family: var( --font-headings, #{map-deep-get($config-quote, "font", "family")} );
font-size: (strip-unit(map-deep-get($config-heading, "font", "size", "h4")) + 0em);
letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h4")};
line-height: #{map-deep-get($config-global, "font", "line-height", "h4")};
@ -17,6 +18,7 @@
p {
font-family: #{map-deep-get($config-quote, "font", "family")};
font-family: var( --font-headings, #{map-deep-get($config-quote, "font", "family")} );
font-size: (strip-unit(map-deep-get($config-heading, "font", "size", "h3")) + 0em);
letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h3")};
line-height: #{map-deep-get($config-heading, "font", "line-height", "h3")};

View file

@ -19,6 +19,7 @@
p {
font-family: #{map-deep-get($config-quote, "font", "family")};
font-family: var( --font-headings, #{map-deep-get($config-quote, "font", "family")} );
font-size: #{map-deep-get($config-heading, "font", "size", "h4")};
letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h4")};
line-height: #{map-deep-get($config-heading, "font", "line-height", "h4")};

View file

@ -595,6 +595,7 @@ p.has-background:not(.has-background-background-color) a {
.wp-block-quote p {
font-family: sans-serif;
font-family: var(--font-headings, sans-serif);
font-size: 1.728em;
letter-spacing: normal;
}
@ -606,6 +607,7 @@ p.has-background:not(.has-background-background-color) a {
.wp-block-quote.is-large p, .wp-block-quote.is-style-large p {
font-family: sans-serif;
font-family: var(--font-headings, sans-serif);
font-size: 2.0736em;
letter-spacing: normal;
line-height: 1.125;

View file

@ -1759,6 +1759,7 @@ p.has-background {
.wp-block-pullquote p {
font-family: sans-serif;
font-family: var(--font-headings, sans-serif);
font-size: 1.728rem;
letter-spacing: normal;
line-height: 1.125;

View file

@ -1839,6 +1839,7 @@ p.has-background {
.wp-block-quote p {
font-family: sans-serif;
font-family: var(--font-headings, sans-serif);
font-size: 1.728rem;
letter-spacing: normal;
line-height: 1.125;