Skip to content

Commit d991fd3

Browse files
committed
Update main.css
1 parent 78337f7 commit d991fd3

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

assets/css/main.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,4 +425,15 @@ img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;-w
425425
@media (max-width: 900px) {
426426
#main { display: block; max-width: 95%; }
427427
#main > * { width: 100%; max-width: 100%; }
428-
}
428+
}
429+
430+
/* ===== final override – centre two-column layout ===== */
431+
#main{ /* 抹掉 100% 宽,让 max-width 能生效 */
432+
width:auto !important;
433+
}
434+
435+
#main article{ /* 抹掉 float 和百分比宽度 */
436+
float:none !important;
437+
width:auto !important;
438+
margin:0 !important;
439+
}

0 commit comments

Comments
 (0)