From 8162aa1ee9b11dbf2880c1be8280daf812df7b5a Mon Sep 17 00:00:00 2001
From: wassname <1103714+wassname@users.noreply.github.com>
Date: Thu, 25 Jun 2026 13:27:21 +0800
Subject: [PATCH] docs: widen Quarto HTML layout
---
README.qmd | 1 +
docs/quarto-wide.css | 32 ++++++++++++++++++++++++++++++++
out/on_off_axis.svg | 2 +-
3 files changed, 34 insertions(+), 1 deletion(-)
create mode 100644 docs/quarto-wide.css
diff --git a/README.qmd b/README.qmd
index 4ff5bc6..48ca387 100644
--- a/README.qmd
+++ b/README.qmd
@@ -4,6 +4,7 @@ format:
gfm: default
html:
toc: true
+ css: docs/quarto-wide.css
from: markdown-smart
jupyter: python3
execute:
diff --git a/docs/quarto-wide.css b/docs/quarto-wide.css
new file mode 100644
index 0000000..2432a15
--- /dev/null
+++ b/docs/quarto-wide.css
@@ -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);
+ }
+}
diff --git a/out/on_off_axis.svg b/out/on_off_axis.svg
index aa3501f..cc03bf7 100644
--- a/out/on_off_axis.svg
+++ b/out/on_off_axis.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file