Browse Source

Brompton: Main Navigation reduce font size

Thomas Guillot 6 years ago
parent
commit
970abe66cd

+ 1 - 1
brompton/sass/_config-child-theme-deep.scss

@@ -315,7 +315,7 @@ $config-header: (
 		// Fonts
 		"font": (
 			"family": map-deep-get($config-global, "font", "family", "primary"),
-			"size": map-deep-get($config-global, "font", "size", "base"),
+			"size": map-deep-get($config-global, "font", "size", "sm"),
 			"weight": 900,
 			"line-height": 1,
 		),

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

@@ -388,8 +388,6 @@ table,
 	}
 
 	.meta-nav {
-		//color: map-deep-get($config-global, "color", "foreground", "light");
-    //font-family: #{map-deep-get($config-global, "font", "family", "secondary")};
 		font-size: #{map-deep-get($config-global, "font", "size", "sm")};
 		text-transform: uppercase;
 	}

+ 2 - 1
brompton/style-rtl.css

@@ -2246,7 +2246,7 @@ table th,
 	color: #FFFFFF;
 	display: block;
 	font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
-	font-size: 1rem;
+	font-size: 0.83333rem;
 	font-weight: 900;
 	padding: 16px;
 }
@@ -3537,6 +3537,7 @@ table th,
 	padding: 16px 16px;
 	position: relative;
 	text-align: center;
+	text-transform: uppercase;
 	z-index: 1;
 }
 

+ 1 - 1
brompton/style.css

@@ -2251,7 +2251,7 @@ table th,
 	color: #FFFFFF;
 	display: block;
 	font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
-	font-size: 1rem;
+	font-size: 0.83333rem;
 	font-weight: 900;
 	padding: 16px;
 }