Przeglądaj źródła

Redhill: Add style for comment navigation and resize met-nav for the post navigation

Thomas Guillot 6 lat temu
rodzic
commit
af701db586
3 zmienionych plików z 83 dodań i 3 usunięć
  1. 21 1
      redhill/sass/_extra-child-theme.scss
  2. 30 0
      redhill/style-rtl.css
  3. 32 2
      redhill/style.css

+ 21 - 1
redhill/sass/_extra-child-theme.scss

@@ -313,7 +313,7 @@ article .entry-header .entry-title,
 	.meta-nav {
 	.meta-nav {
 		color: map-deep-get($config-global, "color", "foreground", "light");
 		color: map-deep-get($config-global, "color", "foreground", "light");
     font-family: #{map-deep-get($config-global, "font", "family", "secondary")};
     font-family: #{map-deep-get($config-global, "font", "family", "secondary")};
-		font-size: #{map-deep-get($config-global, "font", "size", "xs")};
+		font-size: #{map-deep-get($config-global, "font", "size", "sm")};
 		font-weight: bold;
 		font-weight: bold;
 		text-transform: uppercase;
 		text-transform: uppercase;
 	}
 	}
@@ -391,6 +391,26 @@ article .entry-header .entry-title,
   }
   }
 }
 }
 
 
+// Comments Navigation
+.comment-navigation {
+    a {
+    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;
+
+    &:active,
+    &:focus,
+    &:hover {
+      color: map-deep-get($config-global, "color", "primary", "default");
+    }
+  }
+
+  .comments-title + & {
+    display: none;
+  }
+}
+
 // Widgets
 // Widgets
 .widget-area {
 .widget-area {
   font-size: #{map-deep-get($config-global, "font", "size", "sm")};
   font-size: #{map-deep-get($config-global, "font", "size", "sm")};

+ 30 - 0
redhill/style-rtl.css

@@ -555,6 +555,21 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title
 	color: #CA2017;
 	color: #CA2017;
 }
 }
 
 
+.comment-navigation a {
+	color: #666666;
+	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	font-size: 0.83333rem;
+	text-transform: uppercase;
+}
+
+.comment-navigation a:active, .comment-navigation a:focus, .comment-navigation a:hover {
+	color: #CA2017;
+}
+
+.comments-title + .comment-navigation {
+	display: none;
+}
+
 .widget-area {
 .widget-area {
 	font-size: 0.83333rem;
 	font-size: 0.83333rem;
 }
 }
@@ -3800,6 +3815,21 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title
 	color: #CA2017;
 	color: #CA2017;
 }
 }
 
 
+.comment-navigation a {
+	color: #666666;
+	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	font-size: 0.83333rem;
+	text-transform: uppercase;
+}
+
+.comment-navigation a:active, .comment-navigation a:focus, .comment-navigation a:hover {
+	color: #CA2017;
+}
+
+.comments-title + .comment-navigation {
+	display: none;
+}
+
 .widget-area {
 .widget-area {
 	font-size: 0.83333rem;
 	font-size: 0.83333rem;
 }
 }

+ 32 - 2
redhill/style.css

@@ -485,7 +485,7 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title
 .post-navigation .meta-nav {
 .post-navigation .meta-nav {
 	color: #666666;
 	color: #666666;
 	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
 	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
-	font-size: 0.69444rem;
+	font-size: 0.83333rem;
 	font-weight: bold;
 	font-weight: bold;
 	text-transform: uppercase;
 	text-transform: uppercase;
 }
 }
@@ -555,6 +555,21 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title
 	color: #CA2017;
 	color: #CA2017;
 }
 }
 
 
+.comment-navigation a {
+	color: #666666;
+	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	font-size: 0.83333rem;
+	text-transform: uppercase;
+}
+
+.comment-navigation a:active, .comment-navigation a:focus, .comment-navigation a:hover {
+	color: #CA2017;
+}
+
+.comments-title + .comment-navigation {
+	display: none;
+}
+
 .widget-area {
 .widget-area {
 	font-size: 0.83333rem;
 	font-size: 0.83333rem;
 }
 }
@@ -3735,7 +3750,7 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title
 .post-navigation .meta-nav {
 .post-navigation .meta-nav {
 	color: #666666;
 	color: #666666;
 	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
 	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
-	font-size: 0.69444rem;
+	font-size: 0.83333rem;
 	font-weight: bold;
 	font-weight: bold;
 	text-transform: uppercase;
 	text-transform: uppercase;
 }
 }
@@ -3805,6 +3820,21 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title
 	color: #CA2017;
 	color: #CA2017;
 }
 }
 
 
+.comment-navigation a {
+	color: #666666;
+	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	font-size: 0.83333rem;
+	text-transform: uppercase;
+}
+
+.comment-navigation a:active, .comment-navigation a:focus, .comment-navigation a:hover {
+	color: #CA2017;
+}
+
+.comments-title + .comment-navigation {
+	display: none;
+}
+
 .widget-area {
 .widget-area {
 	font-size: 0.83333rem;
 	font-size: 0.83333rem;
 }
 }