瀏覽代碼

Rockfield: Center entry title

Thomas Guillot 5 年之前
父節點
當前提交
8b27fccfbb
共有 3 個文件被更改,包括 37 次插入0 次删除
  1. 13 0
      rockfield/sass/_extra-child-theme.scss
  2. 12 0
      rockfield/style-rtl.css
  3. 12 0
      rockfield/style.css

+ 13 - 0
rockfield/sass/_extra-child-theme.scss

@@ -268,6 +268,14 @@ a {
 	}
 	}
 }
 }
 
 
+// Entry Title
+.entry-header,
+.page-title,
+.a8c-posts-list-item__title,
+.a8c-posts-list .a8c-posts-list-item__featured {
+	text-align: center;
+}
+
 // Sticky Post
 // Sticky Post
 .sticky-post,
 .sticky-post,
 .a8c-posts-list .a8c-posts-list-item__featured span {
 .a8c-posts-list .a8c-posts-list-item__featured span {
@@ -382,6 +390,10 @@ table,
 /**
 /**
  * Comments
  * Comments
  */
  */
+.comments-title {
+	text-align: center;
+}
+
 .comment-list {
 .comment-list {
 	> li:first-child {
 	> li:first-child {
 		border-top-width: 2px;
 		border-top-width: 2px;
@@ -408,6 +420,7 @@ table,
 
 
 .comment-reply-title {
 .comment-reply-title {
 	display: inherit;
 	display: inherit;
+	text-align: center;
 }
 }
 
 
 .comment .comment-reply-title {
 .comment .comment-reply-title {

+ 12 - 0
rockfield/style-rtl.css

@@ -3649,6 +3649,13 @@ p:not(.site-title) a:hover {
 	display: none;
 	display: none;
 }
 }
 
 
+.entry-header,
+.page-title,
+.a8c-posts-list-item__title,
+.a8c-posts-list .a8c-posts-list-item__featured {
+	text-align: center;
+}
+
 .sticky-post,
 .sticky-post,
 .a8c-posts-list .a8c-posts-list-item__featured span {
 .a8c-posts-list .a8c-posts-list-item__featured span {
 	background: #116821;
 	background: #116821;
@@ -3753,6 +3760,10 @@ table th,
 /**
 /**
  * Comments
  * Comments
  */
  */
+.comments-title {
+	text-align: center;
+}
+
 .comment-list > li:first-child {
 .comment-list > li:first-child {
 	border-top-width: 2px;
 	border-top-width: 2px;
 }
 }
@@ -3777,6 +3788,7 @@ table th,
 
 
 .comment-reply-title {
 .comment-reply-title {
 	display: inherit;
 	display: inherit;
+	text-align: center;
 }
 }
 
 
 .comment .comment-reply-title {
 .comment .comment-reply-title {

+ 12 - 0
rockfield/style.css

@@ -3654,6 +3654,13 @@ p:not(.site-title) a:hover {
 	display: none;
 	display: none;
 }
 }
 
 
+.entry-header,
+.page-title,
+.a8c-posts-list-item__title,
+.a8c-posts-list .a8c-posts-list-item__featured {
+	text-align: center;
+}
+
 .sticky-post,
 .sticky-post,
 .a8c-posts-list .a8c-posts-list-item__featured span {
 .a8c-posts-list .a8c-posts-list-item__featured span {
 	background: #116821;
 	background: #116821;
@@ -3758,6 +3765,10 @@ table th,
 /**
 /**
  * Comments
  * Comments
  */
  */
+.comments-title {
+	text-align: center;
+}
+
 .comment-list > li:first-child {
 .comment-list > li:first-child {
 	border-top-width: 2px;
 	border-top-width: 2px;
 }
 }
@@ -3782,6 +3793,7 @@ table th,
 
 
 .comment-reply-title {
 .comment-reply-title {
 	display: inherit;
 	display: inherit;
+	text-align: center;
 }
 }
 
 
 .comment .comment-reply-title {
 .comment .comment-reply-title {