From d280af37326f898ec3798887db60cf70405d8577 Mon Sep 17 00:00:00 2001 From: Heydon Pickering Date: Sun, 30 Jul 2017 10:57:22 +0100 Subject: [PATCH] print version link --- docs/css/styles.css | 9 ++++++-- docs/index.html | 19 ++++++++++++++++- docs/patterns/coding/code-blocks/index.html | 19 ++++++++++++++++- .../patterns/coding/color-palettes/index.html | 19 ++++++++++++++++- docs/patterns/coding/command-line/index.html | 19 ++++++++++++++++- .../patterns/coding/demo-embedding/index.html | 19 ++++++++++++++++- docs/patterns/coding/file-trees/index.html | 19 ++++++++++++++++- docs/patterns/coding/index.html | 19 ++++++++++++++++- docs/patterns/coding/tested/index.html | 19 ++++++++++++++++- .../coding/writing-inline-demos/index.html | 21 +++++++++++++++++-- docs/patterns/index.html | 19 ++++++++++++++++- docs/patterns/installation/index.html | 19 ++++++++++++++++- docs/patterns/library-setup/index.html | 19 ++++++++++++++++- .../media/including-images/index.html | 19 ++++++++++++++++- .../media/including-videos/index.html | 19 ++++++++++++++++- docs/patterns/media/index.html | 19 ++++++++++++++++- docs/patterns/serving/index.html | 19 ++++++++++++++++- .../writing/expandable-sections/index.html | 19 ++++++++++++++++- docs/patterns/writing/index.html | 19 ++++++++++++++++- .../writing/library-structure/index.html | 19 ++++++++++++++++- .../writing/markdown-and-metadata/index.html | 19 ++++++++++++++++- .../writing/notes-and-warnings/index.html | 19 ++++++++++++++++- docs/patterns/writing/references/index.html | 19 ++++++++++++++++- .../writing/tables-of-contents/index.html | 19 ++++++++++++++++- docs/print-version/index.html | 14 +++++++++++-- docs/service-worker.js | 2 +- docs/tags/markdown/index.html | 19 ++++++++++++++++- docs/tags/metadata/index.html | 19 ++++++++++++++++- node/toPDF.js | 2 +- package.json | 3 +-- themes/infusion/layouts/_default/baseof.html | 13 +++++++++++- themes/infusion/layouts/partials/svg.html | 6 ++++++ themes/infusion/layouts/shortcodes/demo.html | 2 +- themes/infusion/static/css/styles.css | 9 ++++++-- 34 files changed, 499 insertions(+), 38 deletions(-) diff --git a/docs/css/styles.css b/docs/css/styles.css index 71c8b5e..2bd7846 100644 --- a/docs/css/styles.css +++ b/docs/css/styles.css @@ -99,6 +99,7 @@ figure p img { } /* fix for IE :( */ +[tabindex="-1"]:focus, div:not([tabindex]):focus { outline: none; } @@ -767,7 +768,7 @@ p:empty { a svg, button svg, h1 svg { height: 0.75em; width: auto; - margin-right: 0.125em; + margin-right: 0.25em; } h1 svg, li > svg, h2 a svg { @@ -779,6 +780,10 @@ h1 svg { margin-right: 0; } +.print { + white-space: nowrap; +} + .svg-outer { width: 0.75em; display: inline-block; @@ -820,7 +825,7 @@ h1 svg { /* inline demos */ -[id^="demo-"] { +[id^="js-demo-"] { all: initial; display: block; } diff --git a/docs/index.html b/docs/index.html index 4255938..83ae8f1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -104,6 +104,12 @@ + + + + + +
@@ -113,7 +119,18 @@ -

Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself.

+

+ Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + + + Print version + + +

diff --git a/docs/patterns/coding/code-blocks/index.html b/docs/patterns/coding/code-blocks/index.html index 95695cf..957431c 100644 --- a/docs/patterns/coding/code-blocks/index.html +++ b/docs/patterns/coding/code-blocks/index.html @@ -105,6 +105,12 @@ + + + + + +
@@ -114,7 +120,18 @@ -

Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself.

+

+ Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + + + Print version + + +

diff --git a/docs/patterns/coding/color-palettes/index.html b/docs/patterns/coding/color-palettes/index.html index e71c912..3fca2e9 100644 --- a/docs/patterns/coding/color-palettes/index.html +++ b/docs/patterns/coding/color-palettes/index.html @@ -105,6 +105,12 @@ + + + + + +
@@ -114,7 +120,18 @@ -

Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself.

+

+ Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + + + Print version + + +

diff --git a/docs/patterns/coding/command-line/index.html b/docs/patterns/coding/command-line/index.html index d8d1c88..a3cf1fb 100644 --- a/docs/patterns/coding/command-line/index.html +++ b/docs/patterns/coding/command-line/index.html @@ -105,6 +105,12 @@ + + + + + +
@@ -114,7 +120,18 @@ -

Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself.

+

+ Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + + + Print version + + +

diff --git a/docs/patterns/coding/demo-embedding/index.html b/docs/patterns/coding/demo-embedding/index.html index e70d52e..46cc4b9 100644 --- a/docs/patterns/coding/demo-embedding/index.html +++ b/docs/patterns/coding/demo-embedding/index.html @@ -105,6 +105,12 @@ + + + + + +
@@ -114,7 +120,18 @@ -

Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself.

+

+ Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + + + Print version + + +

diff --git a/docs/patterns/coding/file-trees/index.html b/docs/patterns/coding/file-trees/index.html index 649853f..4654b71 100644 --- a/docs/patterns/coding/file-trees/index.html +++ b/docs/patterns/coding/file-trees/index.html @@ -105,6 +105,12 @@ + + + + + +
@@ -114,7 +120,18 @@ -

Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself.

+

+ Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + + + Print version + + +

diff --git a/docs/patterns/coding/index.html b/docs/patterns/coding/index.html index cc18f58..b303fde 100644 --- a/docs/patterns/coding/index.html +++ b/docs/patterns/coding/index.html @@ -105,6 +105,12 @@ + + + + + +
@@ -114,7 +120,18 @@ -

Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself.

+

+ Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + + + Print version + + +

diff --git a/docs/patterns/coding/tested/index.html b/docs/patterns/coding/tested/index.html index 03e7422..2a91916 100644 --- a/docs/patterns/coding/tested/index.html +++ b/docs/patterns/coding/tested/index.html @@ -105,6 +105,12 @@ + + + + + +
@@ -114,7 +120,18 @@ -

Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself.

+

+ Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + + + Print version + + +

diff --git a/docs/patterns/coding/writing-inline-demos/index.html b/docs/patterns/coding/writing-inline-demos/index.html index 76bda1b..c01a59a 100644 --- a/docs/patterns/coding/writing-inline-demos/index.html +++ b/docs/patterns/coding/writing-inline-demos/index.html @@ -105,6 +105,12 @@ + + + + + +
@@ -114,7 +120,18 @@ -

Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself.

+

+ Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + + + Print version + + +

@@ -346,7 +363,7 @@ toggle.addEventListener('click', (e) => {
- +