Varia: migrate sass/blocks/pullquote

This commit is contained in:
Andrés 2019-09-25 16:27:26 +02:00
parent 8b654a4038
commit 4b36fe3167
5 changed files with 5 additions and 0 deletions

View file

@ -16,6 +16,7 @@
p {
font-family: #{map-deep-get($config-pullquote, "font", "family")};
font-family: var( --font-headings, #{map-deep-get($config-pullquote, "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-heading, "font", "line-height", "h4")};

View file

@ -12,6 +12,7 @@
p {
font-family: #{map-deep-get($config-pullquote, "font", "family")};
font-family: var( --font-headings, #{map-deep-get($config-pullquote, "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

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

View file

@ -1685,6 +1685,7 @@ p.has-background {
color: white;
background-color: blue;
font-family: sans-serif;
font-family: var(--font-headings, sans-serif);
font-weight: bold;
font-size: 0.83333rem;
line-height: 1;

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;