Jelajahi Sumber

#4607: Pique: Front panel H2 heading centering issue (#6277)

Adjust style.css to ensure the customization for H2 elements on the home page panels is only applied to the H2 under the header parent element.
Gustavo Hilario 2 tahun lalu
induk
melakukan
a9c409863a
1 mengubah file dengan 8 tambahan dan 8 penghapusan
  1. 8 8
      pique/style.css

+ 8 - 8
pique/style.css

@@ -2342,7 +2342,7 @@ body:not(.no-background-fixed) .site-footer {
 		padding: 40px;
 	}
 }
-.pique-panel-content h2 {
+.pique-panel-content header h2 {
 	border: 2px solid #fcfbf9;
 	border-bottom: 0;
 	color: #fcfbf9;
@@ -2354,8 +2354,8 @@ body:not(.no-background-fixed) .site-footer {
 	word-break: break-word;
 	word-wrap: break-word;
 }
-.pique-panel-content h2::before,
-.pique-panel-content h2::after {
+.pique-panel-content header h2::before,
+.pique-panel-content header h2::after {
 	border-bottom: 2px solid #fcfbf9;
 	bottom: 0;
 	content: '';
@@ -2364,16 +2364,16 @@ body:not(.no-background-fixed) .site-footer {
 	position: absolute;
 	width: 50px;
 }
-.pique-panel-content h2::before {
+.pique-panel-content header h2::before {
 	left: 0;
 }
-.pique-panel-content h2::after {
+.pique-panel-content header h2::after {
 	right: 0;
 }
-.pique-panel-content h2 a {
+.pique-panel-content header h2 a {
 	color: #fcfbf9;
 }
-.pique-panel-content h2 a:hover {
+.pique-panel-content header h2 a:hover {
 	border: none;
 }
 .pique-panel-content .entry-content {
@@ -2408,7 +2408,7 @@ body:not(.no-background-fixed) .site-footer {
 }
 
 @media (min-width: 768px) {
-	.pique-panel-content h2 {
+	.pique-panel-content header h2 {
 		max-width: 700px;
 	}
 }