UNPKG

grunt-livingstyleguide

Version:

Easily create living style guides/front-end style guides/pattern libraries by adding Markdown documentation to your Sass project.

512 lines (432 loc) 23 kB
<!doctype html> <html> <head> <meta charset="utf-8"> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> <meta content="The LivingStyleGuide Gem – http://livingstyleguide.org" name="generator"> <title>My Nice &amp; Beautiful Living Style Guide</title> <script> // see: http://www.hagenburger.net/BLOG/Simple-HTML5-Fix-for-IE.html for(var e,l='article aside footer header nav section time picture'.split(' ');e=l.pop();document.createElement(e)); </script> <style> .button { color: pink; background: green; border: 1px solid #333; } .livingstyleguide, .livingstyleguide--container, .livingstyleguide--footer, .livingstyleguide--logo, .livingstyleguide--paragraph, .livingstyleguide--code-block, .livingstyleguide--unordered-list, .livingstyleguide--ordered-list, .livingstyleguide--unordered-list-item, .livingstyleguide--ordered-list-item, .livingstyleguide--page-title, .livingstyleguide--headline, .livingstyleguide--sub-headline, .livingstyleguide--sub-sub-headline, .livingstyleguide--anchor, .livingstyleguide--example, .livingstyleguide--font-example, .livingstyleguide--code, .livingstyleguide--code-span, .livingstyleguide--code-span kbd, .livingstyleguide--code-block kbd, .livingstyleguide--code-span em, .livingstyleguide--code-block em, .livingstyleguide--code-span b, .livingstyleguide--code-block b, .livingstyleguide--code-span i, .livingstyleguide--code-block i, .livingstyleguide--code-span q, .livingstyleguide--code-block q, .livingstyleguide--code-span var, .livingstyleguide--code-block var, .livingstyleguide--code-highlight, .livingstyleguide--code-highlight-block, .livingstyleguide--color-swatch, .livingstyleguide--color-swatch:before, .livingstyleguide--color-swatches { background: transparent; border: none; border-collapse: collapse; border-radius: 0; border-spacing: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; color: inherit; display: block; font-size: inherit; -webkit-font-smoothing: antialiased; font-style: inherit; font-weight: inherit; line-height: inherit; list-style: none; margin: 0; padding: 0; text-align: inherit; text-decoration: none; vertical-align: baseline; } .livingstyleguide { background: #f7f7f7; display: block; } .livingstyleguide--container { display: block; min-height: 50vh; } .livingstyleguide--footer { display: block; margin: 40px auto; width: 640px; } .livingstyleguide--logo { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZUAAADICAYAAAAgPHymAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAFX9JREFUeNrsnTF62zgaQJlsiu1Ge4LRnCBKldLyCWx320Uut5g4PoGtE8SePYClE9gptzLd7UwT5QSjdLvVKt12u0DyMwPDBAmKIAmS732fPlsSRRIg8D8AJMFnCQDk8vbtzzP151a9Tn755e8bcgSgnGdkAYBTKPfqNVGvnXodIhYApAJQVygZiAUAqQAEEQpiAUAqAEGFglgAkApAUKEgFgCkAhBUKIgFAKkABBUKYgFAKgBBhYJYAJAKQFChIBYApAIIJahQEAsAUgGEElQoiAUAqQBCaQTEAkgFAKEgFgCkAhCfUBALjJrnZAEglEJWe/5Ob+9etg+AVAAQSnKqehqn+i9iAfCD4S9AKG6hrIz1LdSfmz3XxVAYIBUAhPJkvYgFAKkAQqkvFMQCgFQAoQQVCmIBQCqAUIIKBbEAIBVAKEGFglgAkAoglKBCQSwASAUQSlChIBYApAIIJahQEAsAUgGEElQoiAUAqQBCaWr/EAsgFQCEglgAkAoglMiEglgAqQAgFMQCgFQAocQrFMQCSAUAoSAWAKQCCCVeoSAWQCoACAWxACAVQCjxCgWxAFIBQCiIBQCpAELpRXoRCwyS52QBDEAoY0Pn073kGwA9FYCGhDKG4S96LIBUAFrsoQz5RD1iAaQC0KJQohZLA0JBLIBUAFo6hzKkmx8RCyAVgA6FEpVYWhAKYgGkAgilJfo8oSRiAaQCEJFQOhVLB0JBLIBUAKH4SEH+1gnQfXpIV4g0IxbohD+RBRC7ULQMfv31t83r168/q/fHe67nWP9er6cPQgmQ5j+r11/V7/+h1vMvSiIgFUAoVu+iD2IJJZRAaUYsgFQAoeQF1z6IJbRQEAsgFYCk+ckhYxRLU0JBLIBUAKG0MNtwTGJpWiiIBZAK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%; display: block; height: 100px; margin: auto; overflow: hidden; text-align: left; text-indent: -119988px; width: 203px; } .livingstyleguide--logo:hover { -webkit-transform: translateZ(0); -webkit-filter: brightness(0.7); -moz-filter: brightness(0.7); filter: brightness(0.7); } .livingstyleguide--paragraph, .livingstyleguide--code-block, .livingstyleguide--unordered-list, .livingstyleguide--ordered-list { color: #505050; font-family: "Georgia", "Times New Roman", serif; font-size: 14px; font-weight: normal; line-height: 1.4; margin: 10px auto; text-align: left; width: 640px; -webkit-font-smoothing: antialiased; } .livingstyleguide--unordered-list-item, .livingstyleguide--ordered-list-item { display: list-item; list-style: disc; margin: 5px 0 5px 20px; } .livingstyleguide--page-title, .livingstyleguide--headline, .livingstyleguide--sub-headline, .livingstyleguide--sub-sub-headline { color: #505050; display: block; font-family: "Georgia", "Times New Roman", serif; font-size: 22px; font-weight: bold; line-height: 1.1; margin: 30px auto 10px; text-align: left; width: 640px; -webkit-font-smoothing: antialiased; } .livingstyleguide--anchor { color: inherit; display: inline; margin-left: -1em; opacity: 0; position: absolute; text-decoration: none; width: 1em; } .livingstyleguide--headline:hover .livingstyleguide--anchor, .livingstyleguide--sub-headline:hover .livingstyleguide--anchor, .livingstyleguide--sub-sub-headline:hover .livingstyleguide--anchor { opacity: 0.5; } .livingstyleguide--headline:hover .livingstyleguide--anchor:hover, .livingstyleguide--sub-headline:hover .livingstyleguide--anchor:hover, .livingstyleguide--sub-sub-headline:hover .livingstyleguide--anchor:hover { opacity: 1; } .livingstyleguide--anchor:before { content: "#"; } .livingstyleguide--page-title { display: block; font-size: 30px; } .livingstyleguide--sub-headline { display: block; font-size: 16px; } .livingstyleguide--sub-sub-headline { display: block; font-size: 14px; } .livingstyleguide--example, .livingstyleguide--font-example { background: white; border-top-left-radius: 0; border-top-right-radius: 0; display: block; margin: 10px auto 0; overflow: hidden; padding: 10px; position: relative; width: 640px; } .livingstyleguide--example.-lsg-has-full-width, .-lsg-has-full-width.livingstyleguide--font-example { border-radius: 0; display: block; height: auto; margin: 0 auto; min-height: auto; padding: 10px; width: 100%; } .livingstyleguide--example.-lsg-for-javascript, .-lsg-for-javascript.livingstyleguide--font-example { display: none; } .livingstyleguide--code-span, .livingstyleguide--code-block { background: #dddddd; border-radius: 0; color: #505050; display: inline; font-family: Courier, "Courier New", monospace; font-size: 12px; font-weight: normal; overflow: scroll; padding: 0 3px; -webkit-font-smoothing: subpixel-antialiased; } .livingstyleguide--code-span kbd, .livingstyleguide--code-block kbd { display: block; font-weight: bold; } .livingstyleguide--code-span kbd:before, .livingstyleguide--code-block kbd:before { content: "> "; } .livingstyleguide--code-span em, .livingstyleguide--code-block em { color: #6a6a6a; display: inline; font-style: normal; font-weight: bold; text-decoration: underline; vertical-align: baseline; } .livingstyleguide--code-span b, .livingstyleguide--code-block b { color: #838383; display: inline; font-weight: bold; vertical-align: baseline; } .livingstyleguide--code-span i, .livingstyleguide--code-block i { color: #9d9d9d; display: inline; vertical-align: baseline; } .livingstyleguide--code-span q, .livingstyleguide--code-block q { color: #9d9d9d; display: inline; vertical-align: baseline; } .livingstyleguide--code-span q:before, .livingstyleguide--code-span q:after, .livingstyleguide--code-block q:before, .livingstyleguide--code-block q:after { content: ""; } .livingstyleguide--code-span var, .livingstyleguide--code-block var { display: inline; text-decoration: underline; vertical-align: baseline; } .livingstyleguide--code-block { display: block; line-height: 1.5; padding: 3px 6px; width: 640px; } .show-code .livingstyleguide--code-block { display: block; } .livingstyleguide--example + .livingstyleguide--code-block, .livingstyleguide--font-example + .livingstyleguide--code-block { border-top-left-radius: 0; border-top-right-radius: 0; margin-top: 0; } .livingstyleguide--layout-example + .livingstyleguide--code-block { background: #dddddd; border-radius: 0; margin: 0 0 10px; padding: 10px 0; width: 100%; } .livingstyleguide--layout-example + .livingstyleguide--code-block .livingstyleguide--code { display: block; margin: auto; width: 640px; } .livingstyleguide--code-highlight, .livingstyleguide--code-highlight-block { background-color: #f6ffa3; border-radius: 2px; display: inline; vertical-align: baseline; } .livingstyleguide--code-highlight-block { display: block; } .livingstyleguide--color-swatch { color: black; float: left; font-family: Courier, "Courier New", monospace; font-size: 12px; font-weight: bold; height: 5.6em; line-height: 1.4em; list-style: none; margin: 0 10px 10px 0; position: relative; text-align: center; z-index: 1; } .livingstyleguide--color-swatch:before { border: 4px rgba(0, 0, 0, 0.05) solid; border-radius: 50%; content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: -1; } .livingstyleguide--color-swatch:after { display: block; font-weight: normal; text-align: center; } .livingstyleguide--color-swatches { margin: 10px auto -10px auto; overflow: hidden; padding-left: 10px; width: 660px; } .livingstyleguide--color-swatches.-lsg-1-columns .livingstyleguide--color-swatch { height: 640px; padding-top: 428px; width: 640px; } .livingstyleguide--color-swatches.-lsg-2-columns .livingstyleguide--color-swatch { height: 315px; padding-top: 200.5px; width: 315px; } .livingstyleguide--color-swatches.-lsg-3-columns .livingstyleguide--color-swatch { height: 206px; padding-top: 124.2px; width: 206px; } .livingstyleguide--color-swatches.-lsg-4-columns .livingstyleguide--color-swatch { height: 152px; padding-top: 86.4px; width: 152px; } .livingstyleguide--color-swatches.-lsg-5-columns .livingstyleguide--color-swatch { height: 120px; padding-top: 64px; width: 120px; } .livingstyleguide--color-swatches.-lsg-6-columns .livingstyleguide--color-swatch { height: 98px; padding-top: 48.6px; width: 98px; } .livingstyleguide--color-swatches.-lsg-7-columns .livingstyleguide--color-swatch { height: 82px; padding-top: 37.4px; width: 82px; } .livingstyleguide--color-swatches.-lsg-8-columns .livingstyleguide--color-swatch { height: 71px; padding-top: 29.7px; width: 71px; } .livingstyleguide--color-swatches.-lsg-9-columns .livingstyleguide--color-swatch { height: 62px; padding-top: 23.4px; width: 62px; } .livingstyleguide--color-swatches.-lsg-10-columns .livingstyleguide--color-swatch { height: 55px; padding-top: 18.5px; width: 55px; } .livingstyleguide--color-swatches.-lsg-11-columns .livingstyleguide--color-swatch { height: 49px; padding-top: 14.3px; width: 49px; } .livingstyleguide--color-swatches.-lsg-12-columns .livingstyleguide--color-swatch { height: 44px; padding-top: 10.8px; width: 44px; } .livingstyleguide--color-swatch.-lsg-empty { overflow: hidden; text-align: left; text-indent: -119988px; } .livingstyleguide--color-swatch.-lsg-empty:before, .livingstyleguide--color-swatch.-lsg-empty:after { display: none; } .\$livingstyleguide--layout-selector:after { content: "body"; } .\$livingstyleguide--base-font:after { content: '"Georgia", "Times New Roman", serif'; } .\$livingstyleguide--base-font-size:after { content: "14px"; } .\$livingstyleguide--base-font-weight:after { content: "normal"; } .\$livingstyleguide--base-line-height:after { content: "1.4"; } .\$livingstyleguide--base-text-align:after { content: "left"; } .\$livingstyleguide--page-title-font-size:after { content: "30px"; } .\$livingstyleguide--headline-font:after { content: '"Georgia", "Times New Roman", serif'; } .\$livingstyleguide--headline-font-size:after { content: "22px"; } .\$livingstyleguide--headline-text-align:after { content: "left"; } .\$livingstyleguide--sub-headline-font-size:after { content: "16px"; } .\$livingstyleguide--sub-sub-headline-font-size:after { content: "14px"; } .\$livingstyleguide--headline-font-weight:after { content: "bold"; } .\$livingstyleguide--headline-line-height:after { content: "1.1"; } .\$livingstyleguide--code-font:after { content: 'Courier, "Courier New", monospace'; } .\$livingstyleguide--code-font-size:after { content: "12px"; } .\$livingstyleguide--code-font-weight:after { content: "normal"; } .\$livingstyleguide--code-line-height:after { content: "1.5"; } .\$livingstyleguide--background-color:before { background: #f7f7f7; } .\$livingstyleguide--background-color:after { content: "#f7f7f7"; } .\$livingstyleguide--border-width:after { content: "1px"; } .\$livingstyleguide--border-color:before { background: silver; } .\$livingstyleguide--border-color:after { content: "silver"; } .\$livingstyleguide--border-radius:after { content: "0"; } .\$livingstyleguide--color:before { background: #505050; } .\$livingstyleguide--color:after { content: "#505050"; } .\$livingstyleguide--width:after { content: "640px"; } .\$livingstyleguide--gap-width:after { content: "10px"; } .\$livingstyleguide--full-width-padding:after { content: "10px"; } .\$livingstyleguide--code-background-color:before { background: #dddddd; } .\$livingstyleguide--code-background-color:after { content: "#dddddd"; } .\$livingstyleguide--code-color:before { background: #505050; } .\$livingstyleguide--code-color:after { content: "#505050"; } .\$livingstyleguide--code-border-width:after { content: "1px"; } .\$livingstyleguide--code-border-color:before { background: silver; } .\$livingstyleguide--code-border-color:after { content: "silver"; } .\$livingstyleguide--code-border-radius:after { content: "0"; } .\$livingstyleguide--color-swatch-color { color: #f7f7f7; } .\$livingstyleguide--color-swatch-color:before { background: black; } .\$livingstyleguide--color-swatch-color:after { content: "black"; } .\$livingstyleguide--color-swatch-border-width:after { content: "4px"; } .\$livingstyleguide--color-swatch-border-color { color: #f7f7f7; } .\$livingstyleguide--color-swatch-border-color:before { background: rgba(0, 0, 0, 0.05); } .\$livingstyleguide--color-swatch-border-color:after { content: "rgba(0, 0, 0, 0.05)"; } .\$livingstyleguide--color-swatch-border-radius:after { content: "50%"; } .\$livingstyleguide--color-swatches-per-line:after { content: "2"; } .\$livingstyleguide--highlight-color:before { background: #f6ffa3; } .\$livingstyleguide--highlight-color:after { content: "#f6ffa3"; } .\$livingstyleguide--highlight-border-radius:after { content: "2px"; } </style> </head> <body class="livingstyleguide"> <h1 class="livingstyleguide--page-title">Living Style Guide</h1> <div class="livingstyleguide--container"> <h2 class="livingstyleguide--headline" id="buttons"><a class="livingstyleguide--anchor" href="#buttons"></a>Buttons</h2> <div class="livingstyleguide--example"> <button class="button">Example button</button> </div> <pre class="livingstyleguide--code-block"><code class="livingstyleguide--code"><b>&lt;<em>button</em></b> <b>class</b>="button"<b>&gt;</b>Example button<b>&lt;/<em>button</em>&gt</b></code></pre><div class="livingstyleguide--example"> <button class="button-primary">Example button</button> </div> <pre class="livingstyleguide--code-block"><code class="livingstyleguide--code"><b>&lt;<em>button</em></b> <b>class</b>="button-primary"<b>&gt;</b>Example button<b>&lt;/<em>button</em>&gt</b></code></pre> </div> <div class="livingstyleguide--footer"><a class="livingstyleguide--logo" href="http://livingstyleguide.org">Made with the LivingStyleGuide gem.</a></div> </body> </html>