Skip to content

Commit 24ab972

Browse files
authored
Update style.scss
1 parent db3a59b commit 24ab972

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

assets/css/style.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,22 @@ header, section.page-header {
2121

2222

2323
footer {
24-
background-color: #ffffff !important;
25-
color: #333333 !important;
24+
all: unset; /* 清除 slate 所有默认样式 */
25+
display: block;
26+
background-color: #ffffff !important; /* 全白背景 */
27+
color: #333333 !important; /* 深灰字体 */
2628
padding: 24px 0;
2729
font-size: 14px;
2830
text-align: center;
2931
border-top: 1px solid #ddd;
32+
width: 100%;
3033
}
3134

3235
footer .wrapper, footer .inner {
33-
max-width: 100% !important;
36+
all: unset;
37+
display: block;
3438
width: 100% !important;
39+
max-width: 100% !important;
3540
margin: 0 auto;
3641
}
3742

0 commit comments

Comments
 (0)