Varia: migrate sass/blocks/heading

This commit is contained in:
Andrés 2019-09-25 14:39:57 +02:00
parent 0302c3d315
commit b4ae1a79e7
5 changed files with 6 additions and 1 deletions

View file

@ -4,7 +4,8 @@
.wp-block-heading h4, h4, .h4,
.wp-block-heading h5, h5, .h5,
.wp-block-heading h6, h6, .h6 {
font-family: #{map-deep-get($config-heading, "font", "family")};
font-family: #{map-deep-get($config-heading, "font", "family")}; // For browsers that don't support CSS variables.
font-family: var( --font-headings, #{map-deep-get($config-heading, "font", "family")} );
font-weight: #{map-deep-get($config-heading, "font", "weight")};
clear: both;
}

View file

@ -5,6 +5,7 @@ h4, .h4,
h5, .h5,
h6, .h6 {
font-family: #{map-deep-get($config-heading, "font", "family")};
font-family: var( --font-headings, #{map-deep-get($config-heading, "font", "family")} );
font-weight: #{map-deep-get($config-heading, "font", "weight")};
clear: both;
}

View file

@ -358,6 +358,7 @@ object {
.wp-block-heading h5, h5, .h5,
.wp-block-heading h6, h6, .h6 {
font-family: sans-serif;
font-family: var(--font-headings, sans-serif);
font-weight: bold;
clear: both;
}

View file

@ -1041,6 +1041,7 @@ input[type="submit"],
cursor: pointer;
font-weight: bold;
font-family: sans-serif;
font-family: var(--font-headings, sans-serif);
font-size: 1.2rem;
background-color: blue;
border-radius: 9px;

View file

@ -1385,6 +1385,7 @@ h4, .h4,
h5, .h5,
h6, .h6 {
font-family: sans-serif;
font-family: var(--font-headings, sans-serif);
font-weight: bold;
clear: both;
}