浏览代码

Exford: Fix list font family, form font family

Thomas Guillot 6 年之前
父节点
当前提交
fae0728f0b
共有 4 个文件被更改,包括 10 次插入7 次删除
  1. 2 2
      exford/sass/_config-child-theme-deep.scss
  2. 2 1
      exford/sass/_extra-child-theme.scss
  3. 3 2
      exford/style-rtl.css
  4. 3 2
      exford/style.css

+ 2 - 2
exford/sass/_config-child-theme-deep.scss

@@ -140,7 +140,7 @@ $config-elements: (
 
 		// Fonts
 		"font": (
-			"family": map-deep-get($config-global, "font", "family", "primary"),
+			"family": map-deep-get($config-global, "font", "family", "secondary"),
 			"line-height": map-deep-get($config-global, "font", "line-height", "md"),
 			"size": map-deep-get($config-global, "font", "size", "base"),
 			"weight": bold,
@@ -237,7 +237,7 @@ $config-heading: (
 $config-list: (
 	// Fonts
 	"font": (
-		"family": #{map-deep-get($config-global, "font", "family", "primary")},
+		"family": #{map-deep-get($config-global, "font", "family", "secondary")},
 	),
 );
 

+ 2 - 1
exford/sass/_extra-child-theme.scss

@@ -87,8 +87,9 @@ a {
 			margin-bottom: 0;
 
 			> div > ul > li > .sub-menu {
-				border: 1px solid map-deep-get($config-global, "color", "border", "light");
+				border: 1px solid map-deep-get($config-global, "color", "border", "default");
 				box-shadow: none;
+				border-radius: map-deep-get($config-global, "border-radius", "sm");
 			}
 		}
 	}

+ 3 - 2
exford/style-rtl.css

@@ -1586,7 +1586,7 @@ img {
 
 ul,
 ol {
-	font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif;
 	margin: 0 16px 0 0;
 	padding: 0;
 }
@@ -3442,8 +3442,9 @@ p:not(.site-title) a:hover {
 		margin-bottom: 0;
 	}
 	.site-header > *.main-navigation > div > ul > li > .sub-menu {
-		border: 1px solid #FAFAFA;
+		border: 1px solid #CCCCCC;
 		box-shadow: none;
+		border-radius: 5px;
 	}
 }
 

+ 3 - 2
exford/style.css

@@ -1586,7 +1586,7 @@ img {
 
 ul,
 ol {
-	font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif;
 	margin: 0 0 0 16px;
 	padding: 0;
 }
@@ -3458,8 +3458,9 @@ p:not(.site-title) a:hover {
 		margin-bottom: 0;
 	}
 	.site-header > *.main-navigation > div > ul > li > .sub-menu {
-		border: 1px solid #FAFAFA;
+		border: 1px solid #CCCCCC;
 		box-shadow: none;
+		border-radius: 5px;
 	}
 }