Browse Source

Redhill: More fix

Takashi Irie 6 years ago
parent
commit
e9123906df
3 changed files with 38 additions and 14 deletions
  1. 10 4
      redhill/sass/_extra-child-theme.scss
  2. 14 5
      redhill/style-rtl.css
  3. 14 5
      redhill/style.css

+ 10 - 4
redhill/sass/_extra-child-theme.scss

@@ -173,7 +173,8 @@ a {
 .page-title,
 .author-title,
 .comments-title,
-.comment-reply-title {
+.comment-reply-title,
+.a8c-posts-list {
 	text-align: center;
 }
 
@@ -233,6 +234,11 @@ table,
 	}
 }
 
+// Posts List block
+.a8c-posts-list-item__excerpt {
+	text-align: left;
+}
+
 // Hentry
 .entry-header {
 	.entry-meta {
@@ -248,10 +254,10 @@ table,
 }
 
 article .entry-header .entry-title,
-.page-title {
+.page-title,
+.a8c-posts-list-item__title {
 	font-family: #{map-deep-get($config-global, "font", "family", "primary")};
-  font-size: #{map-deep-get($config-global, "font", "size", "xxxl")};
-	margin-top: #{map-deep-get($config-global, "spacing", "vertical")};
+	font-size: #{map-deep-get($config-global, "font", "size", "xxxl")};
 	margin-bottom: #{1.5 * map-deep-get($config-global, "spacing", "vertical")};
 
   a {

+ 14 - 5
redhill/style-rtl.css

@@ -3282,7 +3282,8 @@ p a:hover {
 .page-title,
 .author-title,
 .comments-title,
-.comment-reply-title {
+.comment-reply-title,
+.a8c-posts-list {
 	text-align: center;
 }
 
@@ -3339,6 +3340,10 @@ table th,
 	border-color: #DDDDDD;
 }
 
+.a8c-posts-list-item__excerpt {
+	text-align: right;
+}
+
 .entry-header .entry-meta {
 	display: none;
 }
@@ -3351,22 +3356,26 @@ table th,
 }
 
 article .entry-header .entry-title,
-.page-title {
+.page-title,
+.a8c-posts-list-item__title {
 	font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif;
 	font-size: 2.48832rem;
-	margin-top: 32px;
 	margin-bottom: 48px;
 }
 
 article .entry-header .entry-title a,
-.page-title a {
+.page-title a,
+.a8c-posts-list-item__title a {
 	color: inherit;
 }
 
 article .entry-header .entry-title a:active, article .entry-header .entry-title a:focus, article .entry-header .entry-title a:hover,
 .page-title a:active,
 .page-title a:focus,
-.page-title a:hover {
+.page-title a:hover,
+.a8c-posts-list-item__title a:active,
+.a8c-posts-list-item__title a:focus,
+.a8c-posts-list-item__title a:hover {
 	color: #CA2017;
 }
 

+ 14 - 5
redhill/style.css

@@ -3287,7 +3287,8 @@ p a:hover {
 .page-title,
 .author-title,
 .comments-title,
-.comment-reply-title {
+.comment-reply-title,
+.a8c-posts-list {
 	text-align: center;
 }
 
@@ -3344,6 +3345,10 @@ table th,
 	border-color: #DDDDDD;
 }
 
+.a8c-posts-list-item__excerpt {
+	text-align: left;
+}
+
 .entry-header .entry-meta {
 	display: none;
 }
@@ -3356,22 +3361,26 @@ table th,
 }
 
 article .entry-header .entry-title,
-.page-title {
+.page-title,
+.a8c-posts-list-item__title {
 	font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif;
 	font-size: 2.48832rem;
-	margin-top: 32px;
 	margin-bottom: 48px;
 }
 
 article .entry-header .entry-title a,
-.page-title a {
+.page-title a,
+.a8c-posts-list-item__title a {
 	color: inherit;
 }
 
 article .entry-header .entry-title a:active, article .entry-header .entry-title a:focus, article .entry-header .entry-title a:hover,
 .page-title a:active,
 .page-title a:focus,
-.page-title a:hover {
+.page-title a:hover,
+.a8c-posts-list-item__title a:active,
+.a8c-posts-list-item__title a:focus,
+.a8c-posts-list-item__title a:hover {
 	color: #CA2017;
 }