Summary Files Commits Branches @commit @diff @stats
path: root / docs / elements.html
diff options
context:
space:
mode:
Commitf4057ff8d3a36350728411de0010fdcf10dfc860 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-08-04 00:45:56 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-08-04 00:45:56 +0800
Files138c7977cacf7194980b09da44e48bf61fad7bb1 /docs/elements.html
Spectre-Dark-Gruvbox-f4057ff8d3a36350728411de0010fdcf10dfc860.tar
Spectre-Dark-Gruvbox-f4057ff8d3a36350728411de0010fdcf10dfc860.tar.gz
Spectre-Dark-Gruvbox-f4057ff8d3a36350728411de0010fdcf10dfc860.zip
Parenta2f1864da01e76c59d682b897398b100eb3bc25a (diff)
Minor update to the Docs
1 files changed, 29 insertions, 31 deletions
-rw-r--r--docs/elements.html60
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 @@
&lt;<span class="tag">h2</span>&gt;H2 Title &lt;<span class="tag">small</span> <span class="atn">class</span>=<span class="atv">&quot;label&quot;</span>&gt;4rem&lt;<span class="tag">/small</span>&gt;&lt;<span class="tag">/h2</span>&gt;
</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>&lt;<span class="tag">p</span>&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent risus leo, &lt;<span class="tag">a</span> <span class="atn">href</span>=<span class="atv">&quot;#&quot;</span>&gt;dictum in vehicula sit amet&lt;<span class="tag">/a</span>&gt;, feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat.&lt;<span class="tag">/p</span>&gt;
</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 @@
&lt;<span class="tag">p</span> <span class="atn">class</span>=<span class="atv">&quot;cjk&quot;</span>&gt;&lt;<span class="tag">del</span>&gt;祇園&lt;<span class="tag">/del</span>&gt;&lt;<span class="tag">del</span>&gt;精舎&lt;<span class="tag">/del</span>&gt;の鐘の声、諸行無常の響きあり。……&lt;<span class="tag">/p</span>&gt;
</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 @@
&lt;<span class="tag">/blockquote</span>&gt;
</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 @@
&lt;<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">&quot;btn loading&quot;</span>&gt;button&lt;<span class="tag">/button</span>&gt;
</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 @@
&lt;<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">&quot;btn btn-action circle&quot;</span>&gt;&lt;<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">&quot;icon icon-arrow-left&quot;</span>&gt;&lt;<span class="tag">/i</span>&gt;&lt;<span class="tag">/button</span>&gt;
</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 &lt;form&gt; container. And add the <code>col-[1-12]</code> class to the child elements for form row layout. </p>
</div>
@@ -908,7 +908,7 @@
&lt;<span class="tag">/form</span>&gt;
</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 &lt;input&gt; element. And add the icon with <code>form-icon</code> class next to the &lt;input&gt;.</p>
</div>
@@ -1030,7 +1030,7 @@
&lt;<span class="tag">/div</span>&gt;
</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 @@
&lt;<span class="tag">/div</span>&gt;
</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 @@
&lt;<span class="tag">/form</span>&gt;
</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 &lt;fieldset&gt; 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 &lt;head&gt; 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>&lt;code&gt;</code>. For multiline code snippet blocks, you can use &lt;pre&gt; with the <code>code</code> class as a container, and add &lt;code&gt; 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 &lt;img&gt; elements. The images will scale with the parent sizes.</p>
</div>
@@ -1698,7 +1698,7 @@
&lt;<span class="tag">/figure</span>&gt;
</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>