瀏覽代碼

fix sass some more

Philipp AUER 5 年之前
父節點
當前提交
15d1cdf015
共有 2 個檔案被更改,包括 11 行新增11 行删除
  1. 4
    4
      themes/stellar/assets/css/main.css
  2. 7
    7
      themes/stellar/assets/sass/components/_section.scss

+ 4
- 4
themes/stellar/assets/css/main.css 查看文件

@@ -2186,10 +2186,10 @@ footer.major {
2186 2186
 header.major h2:after {
2187 2187
   background-color: rgba(255, 255, 255, 0.35);
2188 2188
 }
2189
-header.secondary h2 {
2189
+header.major.secondary h2 {
2190 2190
   text-align: right;
2191 2191
 }
2192
-header.secondary h2:after {
2192
+header.major.secondary h2:after {
2193 2193
   position: relative;
2194 2194
   left: 88%;
2195 2195
 }
@@ -2878,10 +2878,10 @@ body.is-preload #header.alt .logo {
2878 2878
   background-image: -ms-linear-gradient(90deg, #efa8b0, #a89cc8, #8cc9f0);
2879 2879
   background-image: linear-gradient(90deg, #efa8b0, #a89cc8, #8cc9f0);
2880 2880
 }
2881
-#main header.secondary h2 {
2881
+#main header.major.secondary h2 {
2882 2882
   text-align: right;
2883 2883
 }
2884
-#main header.secondary h2:after {
2884
+#main header.major.secondary h2:after {
2885 2885
   position: relative;
2886 2886
   left: 88%;
2887 2887
 }

+ 7
- 7
themes/stellar/assets/sass/components/_section.scss 查看文件

@@ -97,13 +97,13 @@
97 97
 						}
98 98
 					}
99 99
 				}
100
-			}
101
-			&.secondary {
102
-				h2 {
103
-					text-align: right;
104
-					&:after {
105
-						position:relative;
106
-						left: 88%;
100
+				&.secondary {
101
+					h2 {
102
+						text-align: right;
103
+						&:after {
104
+							position:relative;
105
+							left: 88%;
106
+						}
107 107
 					}
108 108
 				}
109 109
 			}