瀏覽代碼

Brompton: Update Post navigation meta nav

Thomas Guillot 6 年之前
父節點
當前提交
2abb2f7755
共有 3 個文件被更改,包括 19 次插入10 次删除
  1. 7 4
      brompton/sass/_extra-child-theme.scss
  2. 6 3
      brompton/style-rtl.css
  3. 6 3
      brompton/style.css

+ 7 - 4
brompton/sass/_extra-child-theme.scss

@@ -374,26 +374,29 @@ table,
 .post-navigation {
 	border-top: 1px solid map-deep-get($config-global, "color", "border", "light");
 	margin-top: -#{2 * map-deep-get($config-global, "spacing", "vertical")};
+	padding-top: #{map-deep-get($config-global, "spacing", "vertical")};
 
 	a {
-		color: map-deep-get($config-global, "color", "foreground", "default");
-		font-family: #{map-deep-get($config-global, "font", "family", "secondary")};
+		color: #{map-deep-get($config-global, "color", "foreground", "light")};
 		text-decoration: none;
 
 		&:active,
 		&:hover,
 		&:focus {
-			color: map-deep-get($config-global, "color", "primary", "default");
+			color: #{map-deep-get($config-global, "color", "primary", "default")};
 		}
 	}
 
 	.meta-nav {
+		color: #{map-deep-get($config-global, "color", "foreground", "default")};
+		font-family: #{map-deep-get($config-global, "font", "family", "primary")};
 		font-size: #{map-deep-get($config-global, "font", "size", "sm")};
+		font-weight: 900;
 		text-transform: uppercase;
 	}
 
 	.post-title {
-		font-family: inherit;
+		font-family: #{map-deep-get($config-global, "font", "family", "secondary")};;
 		font-size: #{map-deep-get($config-global, "font", "size", "sm")};
 		font-weight: normal;
 	}

+ 6 - 3
brompton/style-rtl.css

@@ -3448,11 +3448,11 @@ table th,
 .post-navigation {
 	border-top: 1px solid rgba(0, 0, 0, 0.1);
 	margin-top: -64px;
+	padding-top: 32px;
 }
 
 .post-navigation a {
-	color: #252E36;
-	font-family: Lora, Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
+	color: #666666;
 	text-decoration: none;
 }
 
@@ -3461,12 +3461,15 @@ table th,
 }
 
 .post-navigation .meta-nav {
+	color: #252E36;
+	font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
 	font-size: 0.83333rem;
+	font-weight: 900;
 	text-transform: uppercase;
 }
 
 .post-navigation .post-title {
-	font-family: inherit;
+	font-family: Lora, Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
 	font-size: 0.83333rem;
 	font-weight: normal;
 }

+ 6 - 3
brompton/style.css

@@ -3453,11 +3453,11 @@ table th,
 .post-navigation {
 	border-top: 1px solid rgba(0, 0, 0, 0.1);
 	margin-top: -64px;
+	padding-top: 32px;
 }
 
 .post-navigation a {
-	color: #252E36;
-	font-family: Lora, Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
+	color: #666666;
 	text-decoration: none;
 }
 
@@ -3466,12 +3466,15 @@ table th,
 }
 
 .post-navigation .meta-nav {
+	color: #252E36;
+	font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
 	font-size: 0.83333rem;
+	font-weight: 900;
 	text-transform: uppercase;
 }
 
 .post-navigation .post-title {
-	font-family: inherit;
+	font-family: Lora, Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
 	font-size: 0.83333rem;
 	font-weight: normal;
 }