style: enforce max-width on media

This commit is contained in:
Erzbir
2026-06-15 17:25:03 +08:00
parent 8b73eb712f
commit aa318315ea
2 changed files with 15 additions and 0 deletions
+14
View File
@@ -100,6 +100,8 @@ body {
}
body[layout_mode='fullscreen'] {
--width-theme-media-max: calc(var(--size-theme-font) * 75);
.wrapper {
display: block;
}
@@ -115,6 +117,18 @@ body[layout_mode='fullscreen'] {
width: 100%;
max-width: none !important;
}
.content table {
width: 100%;
}
.content img,
.content video,
.content figure {
max-width: 60%;
margin-left: auto;
margin-right: auto;
}
}
@media (max-width: 1024px) {