diff options
author | David Thompson <dthompson2@worcester.edu> | 2017-01-27 18:13:15 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2017-01-27 18:13:15 -0500 |
commit | 42424864990b9af518ce08e89eaa687fc9d4de84 (patch) | |
tree | 4c3ba9e4ab533d5ed390f31681d415a369fa765f | |
parent | 6ca3008c02a8951bb0d8a586d79cec4c9c0e8791 (diff) |
doc: html: Use dthompson.us stylesheet to make manual more attractive.
* Makefile.am (AM_MAKEINFOHTMLFLAGS): New variable.
* doc/manual.css: New file.
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | doc/manual.css | 21 |
2 files changed, 24 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 0c5e182..5dfbbb9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -83,6 +83,9 @@ chickadee_TEXINFOS = \ doc/api.texi \ doc/chickadee.texi +AM_MAKEINFOHTMLFLAGS = --css-ref=https://dthompson.us/css/dthompson.css \ + --css-include=doc/manual.css + dvi: # Don't build dvi docs publish: distcheck diff --git a/doc/manual.css b/doc/manual.css new file mode 100644 index 0000000..b433c4b --- /dev/null +++ b/doc/manual.css @@ -0,0 +1,21 @@ +@media (min-width: 1140px) { + body { + margin-left: 14rem; + margin-right: 4rem; + max-width: 52rem; + } +} + +@media (min-width: 800px) and (max-width: 1140px) { + body { + margin-left: 6rem; + margin-right: 4rem; + max-width: 52rem; + } +} + +@media (max-width: 800px) { + body { + margin: 1rem; + } +} |