summaryrefslogtreecommitdiff
path: root/public/docs/style.css
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-08-20 23:21:41 +0200
committerTor Andersson <tor@ccxvii.net>2024-08-20 23:21:41 +0200
commit4b3f2aff171313893c944381f102972558b35e22 (patch)
tree2e7303d83ec6dbb3c72c48a04dd9d2b0e7f937ed /public/docs/style.css
parent5b665a840bd3193c9be7b21fbe6f66e119e92d74 (diff)
downloadserver-4b3f2aff171313893c944381f102972558b35e22.tar.gz
Set mobile viewport on docs.
Diffstat (limited to 'public/docs/style.css')
-rw-r--r--public/docs/style.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/docs/style.css b/public/docs/style.css
index 845f9e3..c387442 100644
--- a/public/docs/style.css
+++ b/public/docs/style.css
@@ -3,10 +3,10 @@ xmp, pre { background-color: #fafafa; }
xmp, pre { border: 1px solid gray; }
h1, h2, h3 { color: brown; }
-xmp, pre { white-space: pre-wrap; }
+pre.wrap, xmp.wrap { white-space: pre-wrap }
html { margin: 0; padding: 0; line-height: 1.5; }
-body { padding: 1rem 2rem; margin: 0 auto; max-width: 45rem; }
+body { padding: 0rem 1rem; margin: 0 auto; max-width: 45rem; }
xmp, pre { min-width: fit-content; }
h1, h2, h3 { margin: 2rem 0 1rem 0; padding: 0; font-weight: normal; font-family: sans-serif; }
h1 { font-size: 1.8rem; }