diff --git a/content/patterns/coding/demo-embedding.md b/content/patterns/coding/demo-embedding.md index cb347b6..91e86bc 100644 --- a/content/patterns/coding/demo-embedding.md +++ b/content/patterns/coding/demo-embedding.md @@ -43,6 +43,8 @@ The options for the `show` parameter are: * console * output +(Note that, under some circumstances, the `html` pane is added whether you select it or not.) + {{% jsBin id="juwowaq" show="css,output" %}} diff --git a/content/patterns/installation.md b/content/patterns/installation.md index 783edc0..d8f77e7 100644 --- a/content/patterns/installation.md +++ b/content/patterns/installation.md @@ -32,7 +32,7 @@ It is likely you already have Node and NPM installed on your system. If so, you {{}}git clone https://github.com/[your username]/infusion.git{{}} -If the command line is not your thing, fork [github.com/heydon/inclusive-pattern-library](https://github.com/heydon/inclusive-pattern-library) and choose **Open in Desktop** from **Clone or download** (see figure 1, below). +If the command line is not your thing, fork [github.com/heydon/infusion](https://github.com/heydon/infusion) and choose **Open in Desktop** from **Clone or download** (see figure 1, below). {{% figure caption="The Github web interface" %}} ![The open in desktop option, revealed when clicking clone or download](/images/open_in_desktop.png) diff --git a/docs/css/styles.css b/docs/css/styles.css index 7e53804..b8d09a0 100644 --- a/docs/css/styles.css +++ b/docs/css/styles.css @@ -883,3 +883,49 @@ h1 svg { } } + +@media print { + + .intro-and-nav, [role="contentinfo"] { + display: none; + } + + .main-and-footer { + margin-left: 0; + } + + a { + border: 0; + } + + a::after { + content:" (" attr(href) ")"; + word-break: break-word; + } + + nav a::after, .tags a::after { + content: ''; + } + + .cmd { + background: #fff; + color: #111; + } + + pre code { + white-space: pre-wrap !important; + } + + .line-numbers .line-numbers-rows { + display: none; + } + + .line-numbers code { + padding-left: 0; + } + + main * { + page-break-inside: avoid; + } + +} diff --git a/docs/patterns/coding/demo-embedding/index.html b/docs/patterns/coding/demo-embedding/index.html index 721f9f8..9d8c897 100644 --- a/docs/patterns/coding/demo-embedding/index.html +++ b/docs/patterns/coding/demo-embedding/index.html @@ -365,6 +365,8 @@
  • output
  • +

    (Note that, under some circumstances, the html pane is added whether you select it or not.)

    + diff --git a/docs/patterns/installation/index.html b/docs/patterns/installation/index.html index b7f8737..69a85c5 100644 --- a/docs/patterns/installation/index.html +++ b/docs/patterns/installation/index.html @@ -339,7 +339,7 @@
    git clone https://github.com/[your username]/infusion.git
    -

    If the command line is not your thing, fork github.com/heydon/inclusive-pattern-library and choose Open in Desktop from Clone or download (see figure 1, below).

    +

    If the command line is not your thing, fork github.com/heydon/infusion and choose Open in Desktop from Clone or download (see figure 1, below).

    diff --git a/docs/service-worker.js b/docs/service-worker.js index 6c62def..a0d62ce 100644 --- a/docs/service-worker.js +++ b/docs/service-worker.js @@ -37,7 +37,7 @@ /* eslint-disable indent, no-unused-vars, no-multiple-empty-lines, max-nested-callbacks, space-before-function-paren, quotes, comma-spacing */ 'use strict'; -var precacheConfig = [["browserconfig.xml","67c3113b1574fecc6015d56d774e1d38"],["categories/index.xml","0ac1d02cfbcad2fcc8c13b2c54715338"],["css/fonts/miriamlibre-bold.woff","96496f6f06535d25b3bcba876917ca35"],["css/fonts/miriamlibre-bold.woff2","668defa44d9a74dd709ce0c826a5eb11"],["css/fonts/pt_sans-web-bold.woff","f83c22b548d2d684e24e315d81f7d22b"],["css/fonts/pt_sans-web-bold.woff2","84520c22e6ebf1b30b6f17251d65fff7"],["css/fonts/pt_sans-web-italic.woff","31f09f09a1d3fbe6c8de19644ef0e614"],["css/fonts/pt_sans-web-italic.woff2","df128e1d5a449fc0506fc1b48aac0184"],["css/fonts/pt_sans-web-regular.woff","32100f6ebf01af64d4a71416561c072d"],["css/fonts/pt_sans-web-regular.woff2","b6d4ede9a3a5dbe4d5ac242ae4b0ecc2"],["css/images/icon-tick.svg","35d4d4728ea80d254508b2bca4109d70"],["css/images/stripe.svg","fa3f32a026b6a1bb04ee98d963432e15"],["css/prism.css","004029c8c70ed2bbaa5d9debcf14f8c7"],["css/styles.css","d22567f3d8f7e198c8ff90b2b104e05a"],["images/android-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/android-icon-192x192.png","4c07782e52e0ab714074e6d3d69dc3ec"],["images/android-icon-36x36.png","3b2cd8c925a66bf84c89b68bb30e5f62"],["images/android-icon-48x48.png","45dc386eea1d8a46216a8b6de9b156c6"],["images/android-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/android-icon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/apple-icon-114x114.png","72e127d6f01dfcd2ba2340141babc536"],["images/apple-icon-120x120.png","bc7cd9e36869e66aaca78412207bf723"],["images/apple-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/apple-icon-152x152.png","567c64205576865b5e5d06c849613ca2"],["images/apple-icon-180x180.png","6b8734c446bf02ab50be598b4c01ec9c"],["images/apple-icon-57x57.png","f8c586086752c78870820b6190d6b42b"],["images/apple-icon-60x60.png","6e88df111e506bcd5501bed4ff10542e"],["images/apple-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/apple-icon-76x76.png","d8666e0ac256f39f8c5c628486bd71fb"],["images/apple-icon-precomposed.png","725f6cec25256abb1db10385e0724400"],["images/apple-icon.png","725f6cec25256abb1db10385e0724400"],["images/browser-Chrome-Android.svg","3100b2a9c5f0e34982c717fc2aa46d73"],["images/browser-Chrome.svg","fa39b4be6727525330e928f582fbe80a"],["images/browser-Edge.svg","9e8265ab8f6a701587a4271dd3aa6a73"],["images/browser-Firefox-Android.svg","452df7b9e83c70a07e8e03b4e8dab9c4"],["images/browser-Firefox.svg","d3093eda664be3d0cc6d791e1386420f"],["images/browser-IE.svg","13e192cf2b3fe17e7049a49b7d085caa"],["images/browser-Opera.svg","95d65630c9f7deef6a3098af8f5baf9f"],["images/browser-Safari-iOS.svg","f729e629ec998ec40d313495d7257741"],["images/browser-Safari.svg","523ee9491f5a937b8975f4d23aa77f62"],["images/favicon-16x16.png","7a99c20d6c00babddd26d03607b8721d"],["images/favicon-32x32.png","129881474a1bf130027bff7a1e89febd"],["images/favicon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/favicon.ico","81c46feedbfcc6c6dc9495e4fd5adfad"],["images/icon-info.svg","53a6c555ce41f818556c71ab0dfc533b"],["images/icon-tag.svg","f067bbbc072941b2a0335679300bfc6c"],["images/icon-warning.svg","2a4322abbee9aed694fadb50e98a1f61"],["images/logo.png","0134d77c2c6b01eabb425990bab7ce9a"],["images/ms-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/ms-icon-150x150.png","e73370837ab9060772a18d62aaacd0f0"],["images/ms-icon-310x310.png","8a7143516b929702e3309bb537a99c5c"],["images/ms-icon-70x70.png","d7c6e7368733d53b5f979546d5aa4fe9"],["images/open_in_desktop.png","e899d6679b011aa7b0e783683d90d99b"],["images/serve_from_docs.png","15ae9eac3737a21593ebe00a9312bf9e"],["images/steve_faulkner.jpg","b90382f2b505ce6f6b1e08657637395e"],["index.html","d69af7eaaef33036f334ba3d5d6b727e"],["index.xml","a6758a3168c631045d60ceac192cd9c2"],["js/dom-scripts.js","85f0f584e913275df91ffa8dc4c959bf"],["js/prism.js","0c1fb8d3a69ee7c91dbf0f361ded7763"],["js/service-worker-registration.js","d60f01dc1393cbaaf4f7435339074d5e"],["js/webcomponents.js","c5f6fe397db634cde89f66c2f1bc2f62"],["manifest.json","4e77b7f1253442852a2f185822f1b4d8"],["patterns/coding/code-blocks/index.html","7e548bf949a28db77542c23a21ec639a"],["patterns/coding/color-palettes/index.html","887db1284a4527356dd37444ca19c3a8"],["patterns/coding/command-line/index.html","f2a7679b1f914bef81bee41ba2dd94a9"],["patterns/coding/demo-embedding/index.html","1540bf7400dbade88670282a353a89b1"],["patterns/coding/file-trees/index.html","0a6e6140dddfd31c90157ead79d009d2"],["patterns/coding/index.html","d29842161b449c85d7dcf65d954b466f"],["patterns/coding/index.xml","c8141d2e5b185b41c7c2297cbe9761a9"],["patterns/coding/tested/index.html","e01aa6e9099f46f6e1158b2985ba49ca"],["patterns/coding/writing-inline-demos/index.html","2e07c6e05d72277a739d32ee3637ea60"],["patterns/index.html","cd1a5810ec667937bdbf49033025752b"],["patterns/index.xml","bc8a085b70e56267a63fbab56f42f000"],["patterns/installation/index.html","08f0781c7085095e1434f92fc6b406ca"],["patterns/library-setup/index.html","ac01c7648823941f515844b57460abef"],["patterns/media/including-images/index.html","ba4c8ee76c7ad5033a2c6ab27ff0f21a"],["patterns/media/including-videos/index.html","680720bf09b444b8d5de0dbeaba3fcdc"],["patterns/media/index.html","a821b7f7527b7cba408ab07981f5b05c"],["patterns/media/index.xml","91130ea74bd16f6d51c959a00c3c6284"],["patterns/serving/index.html","2179258e66c1eeafe2bba4f80da7244f"],["patterns/writing/expandable-sections/index.html","257f9c31ef24ac12a71518023ba8da46"],["patterns/writing/index.html","e1fb7df374c137b6d92a0d98d67c8e3c"],["patterns/writing/index.xml","a68bf9da0d9106898c1e05942614e90c"],["patterns/writing/library-structure/index.html","74a9ef20c8f838c74b45fbf6d3d8526d"],["patterns/writing/markdown-and-metadata/index.html","211a8a181cc23882bfcfbd6aee919417"],["patterns/writing/notes-and-warnings/index.html","a5a4d7a3c9bcd5d4a9349fc322cde4e0"],["patterns/writing/references/index.html","b937bf919351bf1296d6f1f1da60e1a4"],["patterns/writing/tables-of-contents/index.html","f61dc0336e9b9b3f901d6f5ba284f3cb"],["sitemap.xml","42a06aafa5566ee7db4adb4fd5e2cf39"],["tags/index.xml","05aca37c2ea9dc2534847f246ba6301b"],["tags/library/index.html","d434d129179d1467c690c86a3f331327"],["tags/library/index.xml","b6a44a1a0a10135485e4f39d12fd322a"],["tags/markdown/index.html","5445cc63ece482c704ee84869668240d"],["tags/markdown/index.xml","757d307cdf85883859ac95ea20527f4a"],["tags/metadata/index.html","f2a409f3acf13ee48460d877925be1d8"],["tags/metadata/index.xml","b6989e44540f4745072a2063369de173"],["tags/structure/index.html","0cc4d0c8a6d88b1199106d767447c0a6"],["tags/structure/index.xml","69b02d1c1393249cac54fc2734c9ef63"],["tags/stuff/index.html","37be84cf1983288cdaf55b550b1171a5"],["tags/stuff/index.xml","c3ade9b0a2f01caee9de105ded22695f"]]; +var precacheConfig = [["browserconfig.xml","67c3113b1574fecc6015d56d774e1d38"],["categories/index.xml","0ac1d02cfbcad2fcc8c13b2c54715338"],["css/fonts/miriamlibre-bold.woff","96496f6f06535d25b3bcba876917ca35"],["css/fonts/miriamlibre-bold.woff2","668defa44d9a74dd709ce0c826a5eb11"],["css/fonts/pt_sans-web-bold.woff","f83c22b548d2d684e24e315d81f7d22b"],["css/fonts/pt_sans-web-bold.woff2","84520c22e6ebf1b30b6f17251d65fff7"],["css/fonts/pt_sans-web-italic.woff","31f09f09a1d3fbe6c8de19644ef0e614"],["css/fonts/pt_sans-web-italic.woff2","df128e1d5a449fc0506fc1b48aac0184"],["css/fonts/pt_sans-web-regular.woff","32100f6ebf01af64d4a71416561c072d"],["css/fonts/pt_sans-web-regular.woff2","b6d4ede9a3a5dbe4d5ac242ae4b0ecc2"],["css/images/icon-tick.svg","35d4d4728ea80d254508b2bca4109d70"],["css/images/stripe.svg","fa3f32a026b6a1bb04ee98d963432e15"],["css/prism.css","004029c8c70ed2bbaa5d9debcf14f8c7"],["css/styles.css","255994e47ed95f36f05e5e6e4286d842"],["images/android-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/android-icon-192x192.png","4c07782e52e0ab714074e6d3d69dc3ec"],["images/android-icon-36x36.png","3b2cd8c925a66bf84c89b68bb30e5f62"],["images/android-icon-48x48.png","45dc386eea1d8a46216a8b6de9b156c6"],["images/android-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/android-icon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/apple-icon-114x114.png","72e127d6f01dfcd2ba2340141babc536"],["images/apple-icon-120x120.png","bc7cd9e36869e66aaca78412207bf723"],["images/apple-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/apple-icon-152x152.png","567c64205576865b5e5d06c849613ca2"],["images/apple-icon-180x180.png","6b8734c446bf02ab50be598b4c01ec9c"],["images/apple-icon-57x57.png","f8c586086752c78870820b6190d6b42b"],["images/apple-icon-60x60.png","6e88df111e506bcd5501bed4ff10542e"],["images/apple-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/apple-icon-76x76.png","d8666e0ac256f39f8c5c628486bd71fb"],["images/apple-icon-precomposed.png","725f6cec25256abb1db10385e0724400"],["images/apple-icon.png","725f6cec25256abb1db10385e0724400"],["images/browser-Chrome-Android.svg","3100b2a9c5f0e34982c717fc2aa46d73"],["images/browser-Chrome.svg","fa39b4be6727525330e928f582fbe80a"],["images/browser-Edge.svg","9e8265ab8f6a701587a4271dd3aa6a73"],["images/browser-Firefox-Android.svg","452df7b9e83c70a07e8e03b4e8dab9c4"],["images/browser-Firefox.svg","d3093eda664be3d0cc6d791e1386420f"],["images/browser-IE.svg","13e192cf2b3fe17e7049a49b7d085caa"],["images/browser-Opera.svg","95d65630c9f7deef6a3098af8f5baf9f"],["images/browser-Safari-iOS.svg","f729e629ec998ec40d313495d7257741"],["images/browser-Safari.svg","523ee9491f5a937b8975f4d23aa77f62"],["images/favicon-16x16.png","7a99c20d6c00babddd26d03607b8721d"],["images/favicon-32x32.png","129881474a1bf130027bff7a1e89febd"],["images/favicon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/favicon.ico","81c46feedbfcc6c6dc9495e4fd5adfad"],["images/icon-info.svg","53a6c555ce41f818556c71ab0dfc533b"],["images/icon-tag.svg","f067bbbc072941b2a0335679300bfc6c"],["images/icon-warning.svg","2a4322abbee9aed694fadb50e98a1f61"],["images/logo.png","0134d77c2c6b01eabb425990bab7ce9a"],["images/ms-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/ms-icon-150x150.png","e73370837ab9060772a18d62aaacd0f0"],["images/ms-icon-310x310.png","8a7143516b929702e3309bb537a99c5c"],["images/ms-icon-70x70.png","d7c6e7368733d53b5f979546d5aa4fe9"],["images/open_in_desktop.png","e899d6679b011aa7b0e783683d90d99b"],["images/serve_from_docs.png","15ae9eac3737a21593ebe00a9312bf9e"],["images/steve_faulkner.jpg","b90382f2b505ce6f6b1e08657637395e"],["index.html","d69af7eaaef33036f334ba3d5d6b727e"],["index.xml","a6758a3168c631045d60ceac192cd9c2"],["js/dom-scripts.js","85f0f584e913275df91ffa8dc4c959bf"],["js/prism.js","0c1fb8d3a69ee7c91dbf0f361ded7763"],["js/service-worker-registration.js","d60f01dc1393cbaaf4f7435339074d5e"],["js/webcomponents.js","c5f6fe397db634cde89f66c2f1bc2f62"],["manifest.json","4e77b7f1253442852a2f185822f1b4d8"],["patterns/coding/code-blocks/index.html","7e548bf949a28db77542c23a21ec639a"],["patterns/coding/color-palettes/index.html","887db1284a4527356dd37444ca19c3a8"],["patterns/coding/command-line/index.html","f2a7679b1f914bef81bee41ba2dd94a9"],["patterns/coding/demo-embedding/index.html","637d43b71ef699cf86514ae2393518c2"],["patterns/coding/file-trees/index.html","0a6e6140dddfd31c90157ead79d009d2"],["patterns/coding/index.html","d29842161b449c85d7dcf65d954b466f"],["patterns/coding/index.xml","c8141d2e5b185b41c7c2297cbe9761a9"],["patterns/coding/tested/index.html","e01aa6e9099f46f6e1158b2985ba49ca"],["patterns/coding/writing-inline-demos/index.html","2e07c6e05d72277a739d32ee3637ea60"],["patterns/index.html","cd1a5810ec667937bdbf49033025752b"],["patterns/index.xml","bc8a085b70e56267a63fbab56f42f000"],["patterns/installation/index.html","e16edddf663241d01178140b577393e3"],["patterns/library-setup/index.html","ac01c7648823941f515844b57460abef"],["patterns/media/including-images/index.html","ba4c8ee76c7ad5033a2c6ab27ff0f21a"],["patterns/media/including-videos/index.html","680720bf09b444b8d5de0dbeaba3fcdc"],["patterns/media/index.html","a821b7f7527b7cba408ab07981f5b05c"],["patterns/media/index.xml","91130ea74bd16f6d51c959a00c3c6284"],["patterns/serving/index.html","2179258e66c1eeafe2bba4f80da7244f"],["patterns/writing/expandable-sections/index.html","257f9c31ef24ac12a71518023ba8da46"],["patterns/writing/index.html","e1fb7df374c137b6d92a0d98d67c8e3c"],["patterns/writing/index.xml","a68bf9da0d9106898c1e05942614e90c"],["patterns/writing/library-structure/index.html","74a9ef20c8f838c74b45fbf6d3d8526d"],["patterns/writing/markdown-and-metadata/index.html","211a8a181cc23882bfcfbd6aee919417"],["patterns/writing/notes-and-warnings/index.html","a5a4d7a3c9bcd5d4a9349fc322cde4e0"],["patterns/writing/references/index.html","b937bf919351bf1296d6f1f1da60e1a4"],["patterns/writing/tables-of-contents/index.html","f61dc0336e9b9b3f901d6f5ba284f3cb"],["sitemap.xml","42a06aafa5566ee7db4adb4fd5e2cf39"],["tags/index.xml","05aca37c2ea9dc2534847f246ba6301b"],["tags/library/index.html","d434d129179d1467c690c86a3f331327"],["tags/library/index.xml","b6a44a1a0a10135485e4f39d12fd322a"],["tags/markdown/index.html","5445cc63ece482c704ee84869668240d"],["tags/markdown/index.xml","757d307cdf85883859ac95ea20527f4a"],["tags/metadata/index.html","f2a409f3acf13ee48460d877925be1d8"],["tags/metadata/index.xml","b6989e44540f4745072a2063369de173"],["tags/structure/index.html","0cc4d0c8a6d88b1199106d767447c0a6"],["tags/structure/index.xml","69b02d1c1393249cac54fc2734c9ef63"],["tags/stuff/index.html","37be84cf1983288cdaf55b550b1171a5"],["tags/stuff/index.xml","c3ade9b0a2f01caee9de105ded22695f"]]; var cacheName = 'sw-precache-v3-sw-precache-' + (self.registration ? self.registration.scope : ''); diff --git a/themes/infusion/static/css/styles.css b/themes/infusion/static/css/styles.css index 7e53804..b8d09a0 100644 --- a/themes/infusion/static/css/styles.css +++ b/themes/infusion/static/css/styles.css @@ -883,3 +883,49 @@ h1 svg { } } + +@media print { + + .intro-and-nav, [role="contentinfo"] { + display: none; + } + + .main-and-footer { + margin-left: 0; + } + + a { + border: 0; + } + + a::after { + content:" (" attr(href) ")"; + word-break: break-word; + } + + nav a::after, .tags a::after { + content: ''; + } + + .cmd { + background: #fff; + color: #111; + } + + pre code { + white-space: pre-wrap !important; + } + + .line-numbers .line-numbers-rows { + display: none; + } + + .line-numbers code { + padding-left: 0; + } + + main * { + page-break-inside: avoid; + } + +}