Sfoglia il codice sorgente

Varia: migrate sass/blocks/latest-posts

Andrés 5 anni fa
parent
commit
3b29918779

+ 1 - 0
varia/sass/blocks/latest-posts/_editor.scss

@@ -3,6 +3,7 @@
 
 	& > li > a {
 		font-family: #{map-deep-get($config-heading, "font", "family")};
+		font-family: var( --font-headings, #{map-deep-get($config-heading, "font", "family")} );
 		font-size: #{map-deep-get($config-heading, "font", "size", "h4")};
 		font-weight: #{map-deep-get($config-heading, "font", "weight")};
 		line-height: #{map-deep-get($config-heading, "font", "line-height", "h4")};

+ 1 - 0
varia/sass/blocks/latest-posts/_style.scss

@@ -17,6 +17,7 @@
 
 	& > li > a {
 		font-family: #{map-deep-get($config-heading, "font", "family")};
+		font-family: var( --font-headings, #{map-deep-get($config-heading, "font", "family")} );
 		font-size: #{map-deep-get($config-heading, "font", "size", "h4")};
 		font-weight: #{map-deep-get($config-heading, "font", "weight")};
 		line-height: #{map-deep-get($config-heading, "font", "line-height", "h4")};

+ 1 - 0
varia/style-editor.css

@@ -437,6 +437,7 @@ object {
 
 .wp-block-latest-posts > li > a {
 	font-family: sans-serif;
+	font-family: var(--font-headings, sans-serif);
 	font-size: 1.728rem;
 	font-weight: bold;
 	line-height: 1.125;

+ 1 - 0
varia/style-rtl.css

@@ -1477,6 +1477,7 @@ img {
 
 .wp-block-latest-comments .wp-block-latest-comments__comment-meta {
 	font-family: sans-serif;
+	font-family: var(--font-headings, sans-serif);
 }
 
 .wp-block-latest-comments .wp-block-latest-comments__comment-date {

+ 1 - 0
varia/style.css

@@ -1511,6 +1511,7 @@ img {
 
 .wp-block-latest-posts > li > a {
 	font-family: sans-serif;
+	font-family: var(--font-headings, sans-serif);
 	font-size: 1.728rem;
 	font-weight: bold;
 	line-height: 1.125;