docs: widen Quarto HTML layout

This commit is contained in:
wassname
2026-06-25 13:27:21 +08:00
parent afbfbf514f
commit 8162aa1ee9
3 changed files with 34 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@ format:
gfm: default gfm: default
html: html:
toc: true toc: true
css: docs/quarto-wide.css
from: markdown-smart from: markdown-smart
jupyter: python3 jupyter: python3
execute: execute:
+32
View File
@@ -0,0 +1,32 @@
.page-columns {
display: block;
}
.page-columns .content {
max-width: calc(100vw - 48px);
margin-left: auto;
margin-right: auto;
}
main.content {
width: calc(100vw - 48px);
}
.cell-output-display,
.js-plotly-plot,
.plotly-graph-div,
.refusal-table-wrap {
max-width: 100%;
}
.cell-output-display > div[style*="width:960px"] {
width: 100% !important;
}
@media (max-width: 720px) {
.page-columns .content,
main.content {
width: calc(100vw - 24px);
max-width: calc(100vw - 24px);
}
}
+1 -1
View File
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB