diff options
Minor update to the Docs
1 files changed, 29 insertions, 31 deletions
| -rw-r--r-- | docs/elements.html | 60 |
diff --git a/docs/elements.html b/docs/elements.html index 41b612e..a196a4c 100644 --- a/docs/elements.html +++ b/docs/elements.html @@ -254,11 +254,11 @@ <div class="docs-content column col-sm-12"> <div id="typography" class="container"> - <header class="text-center"><h3><a href="#typography" class="anchor" aria-hidden="true">#</a>Typography</h3></header> + <h3 class="text-center"><a href="#typography" class="anchor" aria-hidden="true">#</a>Typography</h3> <div class="notes"> <p><strong>Typography</strong> sets default styles for headings, paragraphs, semantic text, blockquote and lists elements.</p> </div> - <header class="text-center"><h4>Headings</h4></header> + <h4 class="text-center">Headings</h4> <div class="notes"> <h1>H1 Title <small class="label">5rem</small></h1> <h2>H2 Title <small class="label">4rem</small></h2> @@ -273,7 +273,7 @@ <<span class="tag">h2</span>>H2 Title <<span class="tag">small</span> <span class="atn">class</span>=<span class="atv">"label"</span>>4rem<<span class="tag">/small</span>><<span class="tag">/h2</span>> </code></pre> - <header class="text-center"><h4>Paragraphs</h4></header> + <h4 class="text-center">Paragraphs</h4> <div class="notes"> <p>Lorem ipsum dolor sit amet, consectetur <a href="#typography">adipiscing elit. Praesent risus leo, dictum in vehicula sit amet</a>, feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat.</p> <p>Climb leg rub face on everything give attitude nap all day for under the bed. Chase mice attack feet but rub face on everything hopped up on goofballs.</p> @@ -283,7 +283,7 @@ <pre class="code" data-lang="HTML"><code><<span class="tag">p</span>>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent risus leo, <<span class="tag">a</span> <span class="atn">href</span>=<span class="atv">"#"</span>>dictum in vehicula sit amet<<span class="tag">/a</span>>, feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat.<<span class="tag">/p</span>> </code></pre> - <header class="text-center"><h4>Semantic text elements</h4></header> + <h4 class="text-center">Semantic text elements</h4> <div class="columns"> <div class="column col-4 col-xs-12"> <abbr title="Internationalization">I18N</abbr> @@ -362,7 +362,7 @@ </div> </div> - <header class="text-center"><h4>Optimized for east asian fonts</h4></header> + <h4 class="text-center">Optimized for east asian fonts</h4> <div class="notes"> <p class="text-large text-center"><span lang="zh-Hans">你好</span>, <span lang="ja">こんにちは</span>, <span lang="ko">안녕하세요</span></p> <h5>Chinese (Simplified)</h5> @@ -397,7 +397,7 @@ <<span class="tag">p</span> <span class="atn">class</span>=<span class="atv">"cjk"</span>><<span class="tag">del</span>>祇園<<span class="tag">/del</span>><<span class="tag">del</span>>精舎<<span class="tag">/del</span>>の鐘の声、諸行無常の響きあり。……<<span class="tag">/p</span>> </code></pre> - <header class="text-center"><h4>Blockquote</h4></header> + <h4 class="text-center">Blockquote</h4> <blockquote> <p>The advance of technology is based on making it fit in so that you don't really even notice it, so it's part of everyday life. </p> <cite>- Bill Gates</cite> @@ -410,7 +410,7 @@ <<span class="tag">/blockquote</span>> </code></pre> - <header class="text-center"><h4>Lists</h4></header> + <h4 class="text-center">Lists</h4> <div class="columns"> <div class="column col-4 col-xs-12"> <ul class="list"> @@ -474,7 +474,7 @@ </div> <div id="tables" class="container"> - <header class="text-center"><h3><a href="#tables" class="anchor" aria-hidden="true">#</a>Tables</h3></header> + <h3 class="text-center"><a href="#tables" class="anchor" aria-hidden="true">#</a>Tables</h3> <div class="notes"> <p><strong>Tables</strong> include default styles for tables and data sets.</p> </div> @@ -536,7 +536,7 @@ </div> <div id="buttons" class="container"> - <header class="text-center"><h3><a href="#buttons" class="anchor" aria-hidden="true">#</a>Buttons</h3></header> + <h3 class="text-center"><a href="#buttons" class="anchor" aria-hidden="true">#</a>Buttons</h3> <div class="notes"> <p><strong>Buttons</strong> include simple button styles for actions in different types and sizes. </p> </div> @@ -601,7 +601,7 @@ <<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn loading"</span>>button<<span class="tag">/button</span>> </code></pre> - <header class="text-center"><h4>Button sizes</h4></header> + <h4 class="text-center">Button sizes</h4> <div class="columns"> <div class="column"> <button class="btn btn-primary btn-lg"><i class="icon icon-arrow-left"></i> large</button> @@ -649,7 +649,7 @@ <<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-action circle"</span>><<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"icon icon-arrow-left"</span>><<span class="tag">/i</span>><<span class="tag">/button</span>> </code></pre> - <header class="text-center"><h4>Button groups</h4></header> + <h4 class="text-center">Button groups</h4> <div class="columns"> <div class="column col-xs-12"> <div class="btn-group"> @@ -697,7 +697,7 @@ </div> <div id="forms" class="container"> - <header class="text-center"><h3><a href="#forms" class="anchor" aria-hidden="true">#</a>Forms</h3></header> + <h3 class="text-center"><a href="#forms" class="anchor" aria-hidden="true">#</a>Forms</h3> <div class="notes"> <p><strong>Forms</strong> provide the most common control styles used in forms, including input, textarea, select, checkbox, radio and switch. </p> </div> @@ -809,7 +809,7 @@ <p>You can use <code>:indeterminate</code> pseudo class for indeterminate state of checkboxes.</p> </div> - <header class="text-center"><h4>Horizontal forms</h4></header> + <h4 class="text-center">Horizontal forms</h4> <div class="notes"> <p>If you want to have a horizontal form, add the <code>form-horizontal</code> class to the <form> container. And add the <code>col-[1-12]</code> class to the child elements for form row layout. </p> </div> @@ -908,7 +908,7 @@ <<span class="tag">/form</span>> </code></pre> - <header class="text-center"><h4>Form sizes</h4></header> + <h4 class="text-center">Form sizes</h4> <div class="notes"> <p>For smaller or larger input and select controls, you could add the <code>input-sm</code>/<code>input-lg</code>, <code>select-sm</code>/<code>select-lg</code> and <code>label-sm</code>/<code>label-lg</code> classes to the elements.</p> </div> @@ -945,7 +945,7 @@ </div> </div> - <header class="text-center"><h4>Form icons</h4></header> + <h4 class="text-center">Form icons</h4> <div class="notes"> <p>Add a wrapper with the <code>has-icon-left</code>/<code>has-icon-right</code> class to <input> element. And add the icon with <code>form-icon</code> class next to the <input>.</p> </div> @@ -1030,7 +1030,7 @@ <<span class="tag">/div</span>> </code></pre> - <header class="text-center"><h4>Input types</h4></header> + <h4 class="text-center">Input types</h4> <div class="columns"> <div class="column col-9 col-sm-12"> <form class="form-horizontal" action="#forms"> @@ -1110,7 +1110,7 @@ </div> </div> - <header class="text-center"><h4>Input groups</h4></header> + <h4 class="text-center">Input groups</h4> <div class="columns"> <div class="column col-xs-12"> <div class="input-group"> @@ -1193,7 +1193,7 @@ <<span class="tag">/div</span>> </code></pre> - <header class="text-center"><h4>Form validation styles</h4></header> + <h4 class="text-center">Form validation styles</h4> <div class="notes"> <p>To use form validation styles, add <code>is-success</code> or <code>is-error</code> class to the controls or add <code>has-success</code> or <code>has-error</code> class to parent elements. You can use the <code>form-input-hint</code> class to provide form validation success and error messages.</p> </div> @@ -1292,7 +1292,7 @@ <<span class="tag">/form</span>> </code></pre> - <header class="text-center"><h4>Form disabled styles</h4></header> + <h4 class="text-center">Form disabled styles</h4> <div class="notes"> <p>Add the <code>disabled</code> attribute to the element or <fieldset> for a disabled form components style.</p> </div> @@ -1346,11 +1346,11 @@ </div> <div id="icons" class="container"> - <header class="text-center"><h3><a href="#icons" class="anchor" aria-hidden="true">#</a>Icons <small class="label">experimental</small></h3></header> + <h3 class="text-center"><a href="#icons" class="anchor" aria-hidden="true">#</a>Icons <small class="label">experimental</small></h3> <div class="notes"> <p><strong>Icons</strong> are single-element, responsive and pure CSS icons. You can include <code>spectre-icons.css</code> located in the <code>dist</code> folder to your web <head> to have these CSS icons.</p> </div> - <header class="text-center"><h4>Navigation</h4></header> + <h4 class="text-center">Navigation</h4> <div class="columns"> <div class="column col-3 col-md-6"> <button class="btn btn-primary btn-action btn-lg"> @@ -1431,7 +1431,7 @@ <p>icon-more-vert</p> </div> </div> - <header class="text-center"><h4>Action</h4></header> + <h4 class="text-center">Action</h4> <div class="columns"> <div class="column col-3 col-md-6"> <button class="btn btn-primary btn-action btn-lg"> @@ -1536,7 +1536,7 @@ <p>icon-upload</p> </div> </div> - <header class="text-center"><h4>Object</h4></header> + <h4 class="text-center">Object</h4> <div class="columns"> <div class="column col-3 col-md-6"> <button class="btn btn-primary btn-action btn-lg"> @@ -1595,7 +1595,7 @@ </div> <div id="labels" class="container"> - <header class="text-center"><h3><a href="#labels" class="anchor" aria-hidden="true">#</a>Labels</h3></header> + <h3 class="text-center"><a href="#labels" class="anchor" aria-hidden="true">#</a>Labels</h3> <div class="notes"> <p><strong>Labels</strong> are formatted text tags for highlighted, informative information.</p> </div> @@ -1620,7 +1620,7 @@ </div> <div id="codes" class="container"> - <header class="text-center"><h3><a href="#codes" class="anchor" aria-hidden="true">#</a>Codes</h3></header> + <h3 class="text-center"><a href="#codes" class="anchor" aria-hidden="true">#</a>Codes</h3> <div class="notes"> <p><strong>Codes</strong> are inline and multiline code snippets.</p> <p>For inline code, you can use the element <code><code></code>. For multiline code snippet blocks, you can use <pre> with the <code>code</code> class as a container, and add <code> inside it. The <code>data-lang</code> attribute is rendered as the language name in the top right.</p> @@ -1643,11 +1643,11 @@ </div> <div id="media" class="container"> - <header class="text-center"><h3><a href="#media" class="anchor" aria-hidden="true">#</a>Media</h3></header> + <h3 class="text-center"><a href="#media" class="anchor" aria-hidden="true">#</a>Media</h3> <div class="notes"> <p><strong>Media</strong> includes responsive images, figures and video classes. </p> </div> - <header class="text-center"><h4>Images</h4></header> + <h4 class="text-center">Images</h4> <div class="notes"> <p>Add the <code>img-responsive</code> class to <img> elements. The images will scale with the parent sizes.</p> </div> @@ -1698,7 +1698,7 @@ <<span class="tag">/figure</span>> </code></pre> - <header class="text-center"><h4>Video</h4></header> + <h4 class="text-center">Video</h4> <div class="notes"> <p>For responsive video, add a container with the <code>video-responsive</code> class. Insert any YouTube, Youku or other iframe/embed video inside the container. The ratio is 16:9 by default. You may add <code>video-responsive-4-3</code> for 4:3 ratio video container or <code>video-responsive-1-1</code> for 1:1 ratio.</p> </div> @@ -1741,9 +1741,7 @@ <footer class="section section-footer bg-gray"> <div id="copyright" class="grid-footer container grid-960"> - <p> - <a href="index.html#introduction" target="_blank">Documents</a> | <a href="https://github.com/picturepan2/spectre" target="_blank">GitHub Repo</a> | <a href="https://twitter.com/spectrecss" target="_blank">Twitter</a> | Version <span class="version"></span> - </p> + <p><a href="index.html#introduction" target="_blank">Documents</a> | <a href="https://github.com/picturepan2/spectre" target="_blank">GitHub Repo</a> | <a href="https://twitter.com/spectrecss" target="_blank">Twitter</a> | <a href="https://www.paypal.me/picturepan2" target="_blank">PayPal Donate</a> | Version <span class="version"></span></p> <p>Designed and built with ♥ by <a href="https://twitter.com/picturepan2" target="_blank">Yan Zhu</a>. Licensed under the <a href="https://github.com/picturepan2/spectre/blob/master/LICENSE" target="_blank">MIT License</a>.</p> </div> </footer> |