diff --git a/docs/blocks/footer/style.css b/docs/blocks/footer/style.css index ef9a207..6e605dc 100644 --- a/docs/blocks/footer/style.css +++ b/docs/blocks/footer/style.css @@ -9,4 +9,10 @@ border-top: &HorizontalRule; } +@media print { + &BEM{#footer} { + display: none; + } +} + // vim:ts=2:sw=2:ai:et:fileencoding=utf-8:syntax=css diff --git a/docs/blocks/header/style.css b/docs/blocks/header/style.css index 9616cef..496f341 100644 --- a/docs/blocks/header/style.css +++ b/docs/blocks/header/style.css @@ -10,4 +10,10 @@ margin-bottom: 1.5rem; } +@media print { + &BEM{#header} { + display: none; + } +} + // vim:ts=2:sw=2:ai:et:fileencoding=utf-8:syntax=css diff --git a/docs/blocks/toc/style.css b/docs/blocks/toc/style.css index 57316de..32ccedb 100644 --- a/docs/blocks/toc/style.css +++ b/docs/blocks/toc/style.css @@ -3,7 +3,7 @@ //////////////////////////////////////////////////////////////////////// &BEM{toc} { - width: 16em; + max-width: 20em; padding: 0 1em; text-align: center; font-size: 80%; diff --git a/docs/content/content.md b/docs/content/content.md index 7f64c36..5624843 100644 --- a/docs/content/content.md +++ b/docs/content/content.md @@ -193,21 +193,35 @@ Pandoc long options can be specified in the command line and will be forwarded untouched to `pandoc`: ``` ---base-header-level=NUMBER --latexmathml[=URL] ---bibliography=FILE --mathjax[=URL] ---citation-abbreviations=FILE --mathml[=URL] ---columns=NUMBER --mimetex[=URL] ---csl=FILE --no-highlight ---email-obfuscation=none|javascript|references --normalize ---file-scope --number-offset=NUMBER[,NUMBER,...] ---gladtex --number-sections ---highlight-style=STYLE --preserve-tabs ---html-q-tags --section-divs ---id-prefix=STRING --tab-stop=NUMBER ---indented-code-classes=CLASSES --toc-depth=NUMBER ---jsmath[=URL] --webtex[=URL] ---katex[=URL] --wrap=[auto|none|preserve] +--base-header-level=NUMBER +--bibliography=FILE +--citation-abbreviations=FILE +--columns=NUMBER +--csl=FILE +--email-obfuscation=none|javascript|references +--file-scope +--gladtex +--highlight-style=STYLE +--html-q-tags +--id-prefix=STRING +--indented-code-classes=CLASSES +--jsmath[=URL] +--katex[=URL] --katex-stylesheet +--latexmathml[=URL] +--mathjax[=URL] +--mathml[=URL] +--mimetex[=URL] +--no-highlight +--normalize +--number-offset=NUMBER[,NUMBER,...] +--number-sections +--preserve-tabs +--section-divs +--tab-stop=NUMBER +--toc-depth=NUMBER +--webtex[=URL] +--wrap=[auto|none|preserve] ``` <# diff --git a/docs/layouts/default.html b/docs/layouts/default.html index b932b21..44e1402 100644 --- a/docs/layouts/default.html +++ b/docs/layouts/default.html @@ -8,21 +8,15 @@ # Meta elements #> -<# - # Document title and related metadata - #> +<# Document title and related metadata #> jqt ยท {{.page.title}} -<# - # More metadata - #> +<# More metadata #> -<# - # Presentation - #> +<# Presentation #> {{.page._highlight}} diff --git a/docs/styles/main.css b/docs/styles/main.css index bc39a4c..24f6cc5 100644 --- a/docs/styles/main.css +++ b/docs/styles/main.css @@ -17,12 +17,13 @@ &include{blocks/license/style.css} &include{blocks/repository/style.css} -html { - background-color: &ColorInitial; -} - -body&BEM{#container} { - max-width: 800px; +@media screen { + html { + background-color: &ColorInitial; + } + body&BEM{#container} { + max-width: 800px; + } } // Hacks @@ -42,4 +43,10 @@ figure > pre { font-size: 1.4rem; } +@media print { + figure > pre { + font-size: 1.2rem; + } +} + // vim:ts=2:sw=2:ai:et:fileencoding=utf-8:syntax=css