mirror of
https://github.com/openmlsys/openmlsys-zh.git
synced 2026-04-28 04:23:14 +08:00
fix: reduce homepage main width floor
Lower the homepage-only mdbook-content > main minimum width from 80% to 65% while leaving normal body pages unchanged.
This commit is contained in:
@@ -102,7 +102,7 @@ FRONTPAGE_LAYOUT_CSS = """
|
||||
margin-inline: auto;
|
||||
}
|
||||
.content main {
|
||||
max-width: min(100%, max(80%, var(--content-max-width)));
|
||||
max-width: min(100%, max(65%, var(--content-max-width)));
|
||||
}
|
||||
@media (max-width: 1000px) {
|
||||
.openmlsys-frontpage .mdl-cell,
|
||||
|
||||
Reference in New Issue
Block a user