Browse Source

Balasana: set variables for unset font-family rules

Andrés 5 years ago
parent
commit
7b4445d54f
3 changed files with 21 additions and 0 deletions
  1. 7 0
      balasana/sass/_extra-child-theme.scss
  2. 7 0
      balasana/style-rtl.css
  3. 7 0
      balasana/style.css

+ 7 - 0
balasana/sass/_extra-child-theme.scss

@@ -38,6 +38,7 @@ input[type="submit"] {
 
 
 dt {
 dt {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var( --font-base, inherit );
 }
 }
 
 
 .entry-header,
 .entry-header,
@@ -329,6 +330,7 @@ dt {
 	border-radius: $border_radius_sm;
 	border-radius: $border_radius_sm;
 	color: $color_foreground;
 	color: $color_foreground;
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var( --font-base, inherit );
 	padding: #{0.5 * $spacing_unit} $spacing_unit;
 	padding: #{0.5 * $spacing_unit} $spacing_unit;
 }
 }
 
 
@@ -337,6 +339,7 @@ dt {
  */
  */
 .pagination .nav-links > * {
 .pagination .nav-links > * {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var( --font-headings, inherit );
 	font-size: inherit;
 	font-size: inherit;
 	font-weight: 400;
 	font-weight: 400;
 }
 }
@@ -373,6 +376,7 @@ dt {
 .comment-navigation {
 .comment-navigation {
 	a {
 	a {
 		font-family: inherit;
 		font-family: inherit;
+		font-family: var( --font-headings, inherit );
 		font-size: inherit;
 		font-size: inherit;
 		font-weight: 400;
 		font-weight: 400;
 	}
 	}
@@ -385,6 +389,7 @@ dt {
 	.comment-author {
 	.comment-author {
 		.fn {
 		.fn {
 			font-family: inherit;
 			font-family: inherit;
+			font-family: var( --font-headings, inherit );
 
 
 			a {
 			a {
 				color: inherit;
 				color: inherit;
@@ -417,6 +422,7 @@ dt {
 .trackback {
 .trackback {
 	.url {
 	.url {
 		font-family: inherit;
 		font-family: inherit;
+		font-family: var( --font-headings, inherit );
 	}
 	}
 }
 }
 
 
@@ -439,6 +445,7 @@ dt {
 // Latest Comments
 // Latest Comments
 .wp-block-latest-comments .wp-block-latest-comments__comment-meta {
 .wp-block-latest-comments .wp-block-latest-comments__comment-meta {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var( --font-headings, inherit );
 }
 }
 
 
 // Pullquote
 // Pullquote

+ 7 - 0
balasana/style-rtl.css

@@ -3625,6 +3625,7 @@ input[type="submit"]:hover {
 
 
 dt {
 dt {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-base, inherit);
 }
 }
 
 
 .entry-header,
 .entry-header,
@@ -3900,6 +3901,7 @@ dt {
 	border-radius: 4px;
 	border-radius: 4px;
 	color: #303030;
 	color: #303030;
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-base, inherit);
 	padding: 8px 16px;
 	padding: 8px 16px;
 }
 }
 
 
@@ -3908,6 +3910,7 @@ dt {
  */
  */
 .pagination .nav-links > * {
 .pagination .nav-links > * {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-headings, inherit);
 	font-size: inherit;
 	font-size: inherit;
 	font-weight: 400;
 	font-weight: 400;
 }
 }
@@ -3941,6 +3944,7 @@ dt {
  */
  */
 .comment-navigation a {
 .comment-navigation a {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-headings, inherit);
 	font-size: inherit;
 	font-size: inherit;
 	font-weight: 400;
 	font-weight: 400;
 }
 }
@@ -3950,6 +3954,7 @@ dt {
  */
  */
 .comment-meta .comment-author .fn {
 .comment-meta .comment-author .fn {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-headings, inherit);
 }
 }
 
 
 .comment-meta .comment-author .fn a {
 .comment-meta .comment-author .fn a {
@@ -3977,6 +3982,7 @@ dt {
 .pingback .url,
 .pingback .url,
 .trackback .url {
 .trackback .url {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-headings, inherit);
 }
 }
 
 
 /**
 /**
@@ -3994,6 +4000,7 @@ dt {
 
 
 .wp-block-latest-comments .wp-block-latest-comments__comment-meta {
 .wp-block-latest-comments .wp-block-latest-comments__comment-meta {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-headings, inherit);
 }
 }
 
 
 .wp-block-pullquote blockquote {
 .wp-block-pullquote blockquote {

+ 7 - 0
balasana/style.css

@@ -3654,6 +3654,7 @@ input[type="submit"]:hover {
 
 
 dt {
 dt {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-base, inherit);
 }
 }
 
 
 .entry-header,
 .entry-header,
@@ -3929,6 +3930,7 @@ dt {
 	border-radius: 4px;
 	border-radius: 4px;
 	color: #303030;
 	color: #303030;
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-base, inherit);
 	padding: 8px 16px;
 	padding: 8px 16px;
 }
 }
 
 
@@ -3937,6 +3939,7 @@ dt {
  */
  */
 .pagination .nav-links > * {
 .pagination .nav-links > * {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-headings, inherit);
 	font-size: inherit;
 	font-size: inherit;
 	font-weight: 400;
 	font-weight: 400;
 }
 }
@@ -3970,6 +3973,7 @@ dt {
  */
  */
 .comment-navigation a {
 .comment-navigation a {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-headings, inherit);
 	font-size: inherit;
 	font-size: inherit;
 	font-weight: 400;
 	font-weight: 400;
 }
 }
@@ -3979,6 +3983,7 @@ dt {
  */
  */
 .comment-meta .comment-author .fn {
 .comment-meta .comment-author .fn {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-headings, inherit);
 }
 }
 
 
 .comment-meta .comment-author .fn a {
 .comment-meta .comment-author .fn a {
@@ -4006,6 +4011,7 @@ dt {
 .pingback .url,
 .pingback .url,
 .trackback .url {
 .trackback .url {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-headings, inherit);
 }
 }
 
 
 /**
 /**
@@ -4023,6 +4029,7 @@ dt {
 
 
 .wp-block-latest-comments .wp-block-latest-comments__comment-meta {
 .wp-block-latest-comments .wp-block-latest-comments__comment-meta {
 	font-family: inherit;
 	font-family: inherit;
+	font-family: var(--font-headings, inherit);
 }
 }
 
 
 .wp-block-pullquote blockquote {
 .wp-block-pullquote blockquote {