aboutsummaryrefslogtreecommitdiff
path: root/site/mdoc2html.sh
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-10-09 17:09:56 +0000
committerOmar Polo <op@omarpolo.com>2021-10-09 17:09:56 +0000
commit679d5d1a61353b6dee4fda67ab35fabb7f4fba09 (patch)
treea855e57bcf435a38e2881774b8bc02531aa21dce /site/mdoc2html.sh
parent35340c9f1e87672e883da1df0f83a3882ecb94b1 (diff)
tweak the style for the manpage exported in HTML
Diffstat (limited to 'site/mdoc2html.sh')
-rwxr-xr-xsite/mdoc2html.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/site/mdoc2html.sh b/site/mdoc2html.sh
index fae8467..4cb718f 100755
--- a/site/mdoc2html.sh
+++ b/site/mdoc2html.sh
@@ -15,7 +15,16 @@ man -Thtml -l "$1" > "$2"
exec ed "$2" <<EOF
/<style>
a
- body { max-width: 960px; margin: 0 auto; }
+ body {
+ max-width: 960px;
+ margin: 0 auto;
+ padding: 0 10px;
+ font-size: 1rem;
+ }
+
+ pre {
+ overflow: auto;
+ }
.
wq
EOF