瀏覽代碼

Dalston: use font headings for site description

Andrés 5 年之前
父節點
當前提交
f8fa7d1c94
共有 3 個文件被更改,包括 6 次插入0 次删除
  1. 2 0
      dalston/sass/_extra-child-theme.scss
  2. 2 0
      dalston/style-rtl.css
  3. 2 0
      dalston/style.css

+ 2 - 0
dalston/sass/_extra-child-theme.scss

@@ -203,6 +203,8 @@ a {
 .site-description {
 	color: #{map-deep-get($config-header, "branding", "color", "text")};
 	line-height: #{map-deep-get($config-global, "font", "line-height", "heading")};
+	font-family: #{map-deep-get($config-header, "branding", "description", "font", "family")}; // For browsers without support for CSS variables.
+	font-family: var( --font-headings, #{map-deep-get($config-header, "branding", "description", "font", "family")} );
 }
 
 .site-title + .site-description {

+ 2 - 0
dalston/style-rtl.css

@@ -3763,6 +3763,8 @@ a {
 .site-description {
 	color: #000000;
 	line-height: 1.2;
+	font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
+	font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif);
 }
 
 .site-title + .site-description {

+ 2 - 0
dalston/style.css

@@ -3792,6 +3792,8 @@ a {
 .site-description {
 	color: #000000;
 	line-height: 1.2;
+	font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
+	font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif);
 }
 
 .site-title + .site-description {