mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-30 17:30:23 +02:00
feat(index.html): add <pre> tag.
This commit is contained in:
60
index.html
60
index.html
@@ -56,7 +56,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-buttons">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-buttons">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><button type="button" class="nes-btn">Normal</button></p>
|
||||
<p><button type="button" class="nes-btn is-primary">Primary</button></p>
|
||||
<p><button type="button" class="nes-btn is-success">Success</button></p>
|
||||
@@ -64,7 +64,7 @@
|
||||
<p><button type="button" class="nes-btn is-error">Error</button></p>
|
||||
<p><button type="button" class="nes-btn is-disabled">Disabled</button></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('buttons')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="nes-container with-title">
|
||||
@@ -89,7 +89,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-containers">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-containers">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><div class="nes-container with-title is-centered">
|
||||
<p class="title">Container.is-centered</p>
|
||||
<p>Good morning. Thou hast had a good night's sleep, I hope.</p>
|
||||
@@ -105,7 +105,7 @@
|
||||
<p>Good morning. Thou hast had a good night's sleep, I hope.</p>
|
||||
</div>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('containers')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
<section class="nes-container with-title">
|
||||
<h2 class="title">Radios</h2>
|
||||
@@ -123,7 +123,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-radios">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-radios">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><label>
|
||||
<input type="radio" class="nes-radio" name="answer" checked />
|
||||
<span>Yes</span>
|
||||
@@ -133,7 +133,7 @@
|
||||
<span>No</span>
|
||||
</label></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('radios')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="nes-container with-title">
|
||||
@@ -152,7 +152,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-checkboxes">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-checkboxes">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><label>
|
||||
<input type="checkbox" class="nes-checkbox" checked />
|
||||
<span>Enable</span>
|
||||
@@ -162,7 +162,7 @@
|
||||
<span>Dark</span>
|
||||
</label></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('checkboxes')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="nes-container with-title">
|
||||
@@ -181,7 +181,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-avatars">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-avatars">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><img src="https://www.gravatar.com/avatar" class="nes-avatar is-small"></p>
|
||||
<p><img src="https://www.gravatar.com/avatar" class="nes-avatar"></p>
|
||||
<p><img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium"></p>
|
||||
@@ -191,7 +191,7 @@
|
||||
<p><img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium is-rounded"></p>
|
||||
<p><img src="https://www.gravatar.com/avatar" class="nes-avatar is-large is-rounded"></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('avatars')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="form nes-container with-title">
|
||||
@@ -255,7 +255,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-form">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-form">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><div class="nes-field">
|
||||
<label for="name_field">Your name</label>
|
||||
<input type="text" id="name_field" class="nes-input">
|
||||
@@ -307,7 +307,7 @@
|
||||
</select>
|
||||
</div></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('form')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="balloon nes-container with-title">
|
||||
@@ -330,7 +330,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-balloons">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-balloons">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><div class="message -left">
|
||||
<i class="nes-bcrikko"></i>
|
||||
<div class="nes-balloon from-left">
|
||||
@@ -344,7 +344,7 @@
|
||||
<i class="nes-bcrikko"></i>
|
||||
</div></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('balloons')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="nes-container with-title">
|
||||
@@ -372,7 +372,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-lists">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-lists">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><div class="lists">
|
||||
<ul class="nes-list is-disc">
|
||||
<li>Good morning.</li>
|
||||
@@ -391,7 +391,7 @@
|
||||
</ul>
|
||||
</div></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('lists')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="nes-container with-title">
|
||||
@@ -452,7 +452,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-table">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-table">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><div class="nes-table-responsive">
|
||||
<table class="nes-table is-bordered is-centered">
|
||||
<thead>
|
||||
@@ -505,7 +505,7 @@
|
||||
</tbody>
|
||||
</table></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('table')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="nes-container with-title">
|
||||
@@ -522,7 +522,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-progress">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-progress">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><progress class="nes-progress" value="90" max="100"></progress></p>
|
||||
<p><progress class="nes-progress is-primary" value="80" max="100"></progress></p>
|
||||
<p><progress class="nes-progress is-success" value="50" max="100"></progress></p>
|
||||
@@ -530,7 +530,7 @@
|
||||
<p><progress class="nes-progress is-error" value="10" max="100"></progress></p>
|
||||
<p><progress class="nes-progress is-pattern" value="50" max="100"></progress></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('progress')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="nes-container with-title" class="badges">
|
||||
@@ -574,7 +574,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-badges">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-badges">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><a href="#" class="nes-badge">
|
||||
<span class="is-dark">NES.css</span>
|
||||
</a></p>
|
||||
@@ -609,7 +609,7 @@
|
||||
<span class="is-warning">Text</span>
|
||||
</a></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('badges')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="nes-container with-title">
|
||||
@@ -650,7 +650,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-reaction">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-reaction">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><i class="nes-icon heart is-small"></i></p>
|
||||
<p><i class="nes-icon heart"></i></p>
|
||||
<p><i class="nes-icon heart is-medium"></i></p>
|
||||
@@ -680,7 +680,7 @@
|
||||
<p><i class="nes-icon like is-large"></i></p>
|
||||
<p><i class="nes-icon like is-empty"></i></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('reaction')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="nes-container with-title">
|
||||
@@ -745,7 +745,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-sns">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-sns">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><i class="nes-icon twitter is-small"></i></p>
|
||||
<p><i class="nes-icon twitter"></i></p>
|
||||
<p><i class="nes-icon twitter is-medium"></i></p>
|
||||
@@ -801,7 +801,7 @@
|
||||
<p><i class="nes-icon linkedin is-medium"></i></p>
|
||||
<p><i class="nes-icon linkedin is-large"></i></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('sns')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="nes-container with-title">
|
||||
@@ -835,7 +835,7 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-others">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-others">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><i class="nes-icon close is-small"></i></p>
|
||||
<p><i class="nes-icon close"></i></p>
|
||||
<p><i class="nes-icon close is-medium"></i></p>
|
||||
@@ -860,7 +860,7 @@
|
||||
<p><i class="nes-phone"></i></p>
|
||||
<p><i class="nes-kirby"></i></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('others')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="nes-container with-title">
|
||||
@@ -875,13 +875,13 @@
|
||||
<span class="nes-balloon from-right copied" id="copied-controllers">Copied!</span>
|
||||
</section>
|
||||
<section class="nes-container code" id="code-controllers">
|
||||
<code>
|
||||
<pre><code>
|
||||
<p><i class="nes-logo"></i></p>
|
||||
<p><i class="nes-jp-logo"></i></p>
|
||||
<p><i class="snes-logo"></i></p>
|
||||
<p><i class="snes-jp-logo"></i></p>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('controllers')">Copy</button>
|
||||
</code>
|
||||
</code></pre>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
Reference in New Issue
Block a user