From f1f73f917bc7f205c6c3730a74d3096f0141a7e1 Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Wed, 6 Feb 2019 13:06:26 -0200 Subject: [PATCH 01/14] feat(index.html): initial developments tests on show/hide code doc --- index.html | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++- style.css | 18 +++++++++++ 2 files changed, 109 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 1b5ead2..1be8f3a 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,7 @@ NES.css - NES-style CSS Framework - + @@ -51,8 +51,19 @@ + +
+ +

<button type="button" class="nes-btn">Normal</button>

+

<button type="button" class="nes-btn is-primary">Primary</button>

+

<button type="button" class="nes-btn is-success">Success</button>

+

<button type="button" class="nes-btn is-warning">Warning</button>

+

<button type="button" class="nes-btn is-error">Error</button>

+

<button type="button" class="nes-btn is-disabled">Disabled</button>

+
+

Containers

@@ -462,5 +473,84 @@ link.addEventListener("mouseout", function() { octocat.classList.remove("animate"); }); + + window.onload = function() { + var buttons = document.querySelector("#show-buttons-code"); + var codeButtons = document.querySelector("#code-buttons"); + + buttons.addEventListener("click", function() { + console.log('test') + }); + + // var containers = document.querySelector("#show-containers-code"); + // container.addEventListener("click", function() { + // console.log('oi2') + // }); + + // var radios = document.querySelector("#show-radios-code"); + // radios.addEventListener("click", function() { + // console.log('oi3') + // }); + + // var checkboxes = document.querySelector("#show-checkboxes-code"); + // checkboxes.addEventListener("click", function() { + // console.log('oi4') + // }); + + // var avatars = document.querySelector("#show-avatars-code"); + // avatars.addEventListener("click", function() { + // console.log('oi5') + // }); + + // var forms = document.querySelector("#show-forms-code"); + // forms.addEventListener("click", function() { + // console.log('oi6') + // }); + + // var ballons = document.querySelector("#show-ballons-code"); + // ballons.addEventListener("click", function() { + // console.log('oi7') + // }); + + // var lists = document.querySelector("#show-lists-code"); + // lists.addEventListener("click", function() { + // console.log('oi7') + // }); + + // var table = document.querySelector("#show-table-code"); + // table.addEventListener("click", function() { + // console.log('oi7') + // }); + + // var progress = document.querySelector("#show-progress-code"); + // progress.addEventListener("click", function() { + // console.log('oi7') + // }); + + // var badges = document.querySelector("#show-badges-code"); + // badges.addEventListener("click", function() { + // console.log('oi7') + // }); + + // var reactions = document.querySelector("#show-icons-reactions-code"); + // reactions.addEventListener("click", function() { + // console.log('oi7') + // }); + + // var sns = document.querySelector("#show-icons-sns-code"); + // sns.addEventListener("click", function() { + // console.log('oi7') + // }); + + // var others = document.querySelector("#show-icons-others-code"); + // others.addEventListener("click", function() { + // console.log('oi7') + // }); + + // var controllers = document.querySelector("#show-icons-controllers-code"); + // controllers.addEventListener("click", function() { + // console.log('oi7') + // }); + } diff --git a/style.css b/style.css index 0d4f80b..af8e30e 100644 --- a/style.css +++ b/style.css @@ -100,3 +100,21 @@ div.containers > .nes-container { display: none; } } + +.show-code { + font-size: .7em; + height: 34px; + width: 128px; + position: absolute; + right: 5px; + top: 5px; +} + +.code { + display: none; + font-size: .8em; + color: white; + background-color: #ce372b; + padding: 15px 0 0px 10px; + margin-top: -20px; +} From 1f6d222b78eb3f80b08ae85e1c5afa30eb3deaeb Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Wed, 6 Feb 2019 18:51:13 -0200 Subject: [PATCH 02/14] feat(index.html): added first draft of show/hide code and copy. --- index.html | 111 +++++++++++++---------------------------------------- style.css | 15 +++++--- 2 files changed, 37 insertions(+), 89 deletions(-) diff --git a/index.html b/index.html index 1be8f3a..988a85d 100644 --- a/index.html +++ b/index.html @@ -44,14 +44,14 @@

Buttons

-
+
- +
@@ -62,6 +62,7 @@

<button type="button" class="nes-btn is-warning">Warning</button>

<button type="button" class="nes-btn is-error">Error</button>

<button type="button" class="nes-btn is-disabled">Disabled</button>

+
@@ -465,92 +466,34 @@ diff --git a/style.css b/style.css index af8e30e..bfb67af 100644 --- a/style.css +++ b/style.css @@ -104,17 +104,22 @@ div.containers > .nes-container { .show-code { font-size: .7em; height: 34px; - width: 128px; + width: 43px; position: absolute; - right: 5px; - top: 5px; + right: -5px; + top: -5px; +} + +.copy { + height: 34px; + width: 58px; } .code { display: none; font-size: .8em; - color: white; - background-color: #ce372b; + color: #e76e55; + background-color: rgba(45, 45, 45, .9); padding: 15px 0 0px 10px; margin-top: -20px; } From a90c9c827777095778b1a8e1695a5d72fe3b9d15 Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Wed, 6 Feb 2019 19:29:33 -0200 Subject: [PATCH 03/14] feat(index.html): added radios, checkboxes and refactored copy/events --- index.html | 60 ++++++++++++++++++++++++++++++++++++++++++++---------- style.css | 4 ++-- 2 files changed, 51 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 988a85d..77d588e 100644 --- a/index.html +++ b/index.html @@ -51,8 +51,8 @@ - +
@@ -62,13 +62,13 @@

<button type="button" class="nes-btn is-warning">Warning</button>

<button type="button" class="nes-btn is-error">Error</button>

<button type="button" class="nes-btn is-disabled">Disabled</button>

- +

Containers

-
+

Container.is-centered

Good morning. Thou hast had a good night's sleep, I hope.

@@ -84,11 +84,30 @@

Good morning. Thou hast had a good night's sleep, I hope.

+ +
+
+ +

<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> + </div>

+

<div class="nes-container is-dark with-title"> + <p class="title">Container.is-dark</p> + <p>Good morning. Thou hast had a good night's sleep, I hope.</p> + </div>

+

<div class="nes-container is-rounded"> + <p>Good morning. Thou hast had a good night's sleep, I hope.</p> + </div> +

<div class="nes-container is-rounded is-dark"> + <p>Good morning. Thou hast had a good night's sleep, I hope.</p> + </div> + +

-

Radios

-
+
+ +
+
+ +

<label> + <input type="radio" class="nes-radio" name="answer" checked /> + <span>Yes</span> + </label>

+

<label> + <input type="radio" class="nes-radio" name="answer" /> + <span>No</span> + </label>

+ +
@@ -106,6 +139,7 @@ Enable +
@@ -120,6 +154,7 @@ +
@@ -468,7 +503,7 @@ diff --git a/style.css b/style.css index bfb67af..6794c4b 100644 --- a/style.css +++ b/style.css @@ -106,8 +106,8 @@ div.containers > .nes-container { height: 34px; width: 43px; position: absolute; - right: -5px; - top: -5px; + right: -4px; + top: -4px; } .copy { From ba3bd786a0b38e9fe1f6e00c7223153e37a1140e Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Wed, 6 Feb 2019 22:56:12 -0200 Subject: [PATCH 04/14] feat(index.html): add the rest of the components Added the rest of the components and some responsive design - ref #269 --- index.html | 637 +++++++++++++++++++++++++++++++++++++++++++---------- style.css | 81 +++++-- 2 files changed, 578 insertions(+), 140 deletions(-) diff --git a/index.html b/index.html index 77d588e..64b8c10 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,7 @@ NES.css - NES-style CSS Framework - + @@ -53,6 +53,7 @@ + Copied!
@@ -85,6 +86,7 @@ + Copied!
@@ -118,6 +120,7 @@ + Copied!
@@ -135,16 +138,36 @@

Checkboxes

- +
+ + +
+ Copied! +
+
+ +

<label> + <input type="checkbox" class="nes-checkbox" checked /> + <span>Enable</span> + </label>

+

<label> + <input type="checkbox" class="nes-checkbox is-dark" checked /> + <span>Dark</span> + </label>

+ +

Avatars

-
+
@@ -155,68 +178,141 @@
+ Copied! +
+
+ +

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-rounded">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small is-rounded">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium is-rounded">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large is-rounded">

+ +

Form

-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- -
-
- -
-
- -
-
- -
-
- +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ + Copied! +
+
+ +

<div class="nes-field"> + <label for="name_field">Your name</label> + <input type="text" id="name_field" class="nes-input"> + </div>

+

<div class="nes-field is-inline"> + <label for="inline_field">.input.is-success</label> + <input type="text" id="inline_field" class="nes-input is-success" placeholder="NES.css"> + </div>

+

<div class="nes-field is-inline"> + <label for="warning_field">.input.is-warning</label> + <input type="text" id="warning_field" class="nes-input is-warning" placeholder="8bit.css"> + </div>

+

<div class="nes-field is-inline"> + <label for="error_field">.input.is-error</label> + <input type="text" id="error_field" class="nes-input is-error" placeholder="awesome.css"> + </div>

+

<div class="field"> + <label for="textarea_field">Textarea</label> + <textarea id="textarea_field" class="nes-textarea"></textarea> + </div>

+ +

<div id="selects" class="selects"> + <div class="nes-select"> + <select required> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> + </select> + </div>

+

<div class="nes-select is-success"> + <select required> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> + </select> + </div>

+

<div class="nes-select is-warning"> + <select required> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> + </select> + </div>

+

<div class="nes-select is-error"> + <select required> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> + </select> + </div>

+ +

Balloons

-
+
@@ -230,32 +326,77 @@
+ + Copied! +
+
+ +

<div class="message -left"> + <i class="nes-bcrikko"></i> + <div class="nes-balloon from-left"> + <p>Hello NES.css</p> + </div> + </div>

+

<div class="message -right"> + <div class="nes-balloon from-right"> + <p>Good morning. Thou hast had a good night's sleep, I hope.</p> + </div> + <i class="nes-bcrikko"></i> + </div>

+ +

Lists

-
-
    -
  • Good morning.
  • -
  • Thou hast had a good night's sleep, I hope.
  • -
  • Thou hast had a good afternoon
  • -
  • Good night.
  • -
-
+
+
+
    +
  • Good morning.
  • +
  • Thou hast had a good night's sleep, I hope.
  • +
  • Thou hast had a good afternoon
  • +
  • Good night.
  • +
+
-
-
    -
  • Good morning.
  • -
  • Thou hast had a good night's sleep, I hope.
  • -
  • Thou hast had a good afternoon
  • -
  • Good night.
  • -
+
+
    +
  • Good morning.
  • +
  • Thou hast had a good night's sleep, I hope.
  • +
  • Thou hast had a good afternoon
  • +
  • Good night.
  • +
+
+ + Copied! +
+
+ +

<div class="lists"> + <ul class="nes-list is-disc"> + <li>Good morning.</li> + <li>Thou hast had a good night's sleep, I hope.</li> + <li>Thou hast had a good afternoon</li> + <li>Good night.</li> + </ul> + </div>

+ +

<div class="lists"> + <ul class="nes-list is-circle"> + <li>Good morning.</li> + <li>Thou hast had a good night's sleep, I hope.</li> + <li>Thou hast had a good afternoon</li> + <li>Good night.</li> + </ul> + </div>

+ +

Table

-
+
@@ -307,60 +448,175 @@
+ + Copied! +
+
+ +

<div class="nes-table-responsive"> + <table class="nes-table is-bordered is-centered"> + <thead> + <tr> + <th>Table.is-bordered</th> + <th>Table.is-centered</th> + <th>Table.is-centered</th> + <th>Table.is-centered</th> + </tr> + </thead> + <tbody> + <tr> + <td>Thou hast had a good morning</td> + <td>Thou hast had a good afternoon</td> + <td>Thou hast had a good evening</td> + <td>Thou hast had a good night</td> + </tr> + <tr> + <td>Thou hast had a good morning</td> + <td>Thou hast had a good afternoon</td> + <td>Thou hast had a good evening</td> + <td>Thou hast had a good night</td> + </tr> + </tbody> + </table> + </div>

+

<div class="nes-table-responsive"> + <table class="nes-table is-bordered is-dark"> + <thead> + <tr> + <th>Table.is-dark</th> + <th>Table.is-bordered</th> + <th>Table.is-bordered</th> + <th>Table.is-bordered</th> + </tr> + </thead> + <tbody> + <tr> + <td>Thou hast had a good morning</td> + <td>Thou hast had a good afternon</td> + <td>Thou hast had a good evening</td> + <td>Thou hast had a good night</td> + </tr> + <tr> + <td>Thou hast had a good morning</td> + <td>Thou hast had a good afternoon</td> + <td>Thou hast had a good afternoon</td> + <td>Thou hast had a good afternoon</td> + </tr> + </tbody> + </table>

+ +

Progress

- - - - - - +
+ + + + + + +
+ + Copied! +
+
+ +

<progress class="nes-progress" value="90" max="100"></progress>

+

<progress class="nes-progress is-primary" value="80" max="100"></progress>

+

<progress class="nes-progress is-success" value="50" max="100"></progress>

+

<progress class="nes-progress is-warning" value="30" max="100"></progress>

+

<progress class="nes-progress is-error" value="10" max="100"></progress>

+

<progress class="nes-progress is-pattern" value="50" max="100"></progress>

+ +
-
+

Badges

- - NES.css - - - is - - - a - - - great - - - framework! - - - npm - 1.1.0 - - - test - 100% - - - - - - Icons - - - hi - Text - + + + Copied! +
+
+ +

<a href="#" class="nes-badge"> + <span class="is-dark">NES.css</span> + </a>

+

<a href="#" class="nes-badge"> + <span class="is-primary">is</span> + </a>

+

<a href="#" class="nes-badge"> + <span class="is-success">a</span> + </a>

+

<a href="#" class="nes-badge"> + <span class="is-warning">great</span> + </a>

+

<a href="#" class="nes-badge"> + <span class="is-error">framework!</span> + </a>

+

<a href="#" class="nes-badge is-splited"> + <span class="is-dark">npm</span> + <span class="is-primary">1.1.0</span> + </a>

+

<a href="#" class="nes-badge is-splited"> + <span class="is-dark">test</span> + <span class="is-success">100%</span> + </a>

+

<a href="#" class="nes-badge is-icon"> + <span class="is-warning"> + <i class="nes-icon star is-small"></i> + </span> + <span class="is-primary">Icons</span> + </a>

+

<a href="#" class="nes-badge is-icon"> + <span class="is-dark">hi</span> + <span class="is-warning">Text</span> + </a>

+ +

Icons

Reaction

-
+
@@ -390,10 +646,46 @@
+ + Copied!
+
+ +

<i class="nes-icon heart is-small"></i>

+

<i class="nes-icon heart"></i>

+

<i class="nes-icon heart is-medium"></i>

+

<i class="nes-icon heart is-large"></i>

+

<i class="nes-icon heart is-empty"></i>

+ +

<i class="nes-icon star is-small"></i>

+

<i class="nes-icon star"></i>

+

<i class="nes-icon star is-medium"></i>

+

<i class="nes-icon star is-large"></i>

+ +

<i class="nes-icon star is-half is-small"></i>

+

<i class="nes-icon star is-half"></i>

+

<i class="nes-icon star is-half is-medium"></i>

+

<i class="nes-icon star is-half is-large"></i>

+ +

<i class="nes-icon star is-transparent is-small"></i>

+

<i class="nes-icon star is-transparent"></i>

+

<i class="nes-icon star is-transparent is-medium"></i>

+

<i class="nes-icon star is-transparent is-large"></i>

+ +

<i class="nes-icon star is-empty"></i>

+ +

<i class="nes-icon like is-small"></i>

+

<i class="nes-icon like"></i>

+

<i class="nes-icon like is-medium"></i>

+

<i class="nes-icon like is-large"></i>

+

<i class="nes-icon like is-empty"></i>

+ +
+
+

SNS

-
+
@@ -449,11 +741,72 @@
+ + Copied! +
+
+ +

<i class="nes-icon twitter is-small"></i>

+

<i class="nes-icon twitter"></i>

+

<i class="nes-icon twitter is-medium"></i>

+

<i class="nes-icon twitter is-large"></i>

+ +

<i class="nes-icon facebook is-small"></i>

+

<i class="nes-icon facebook"></i>

+

<i class="nes-icon facebook is-medium"></i>

+

<i class="nes-icon facebook is-large"></i>

+ +

<i class="nes-icon github is-small"></i>

+

<i class="nes-icon github"></i>

+

<i class="nes-icon github is-medium"></i>

+

<i class="nes-icon github is-large"></i>

+ +

<i class="nes-icon youtube is-small"></i>

+

<i class="nes-icon youtube"></i>

+

<i class="nes-icon youtube is-medium"></i>

+

<i class="nes-icon youtube is-large"></i>

+ +

<i class="nes-icon google is-small"></i>

+

<i class="nes-icon google"></i>

+

<i class="nes-icon google is-medium"></i>

+

<i class="nes-icon google is-large"></i>

+ +

<i class="nes-icon medium is-small"></i>

+

<i class="nes-icon medium"></i>

+

<i class="nes-icon medium is-medium"></i>

+

<i class="nes-icon medium is-large"></i>

+ +

<i class="nes-icon twitch is-small"></i>

+

<i class="nes-icon twitch"></i>

+

<i class="nes-icon twitch is-medium"></i>

+

<i class="nes-icon twitch is-large"></i>

+ +

<i class="nes-icon reddit is-small"></i>

+

<i class="nes-icon reddit"></i>

+

<i class="nes-icon reddit is-medium"></i>

+

<i class="nes-icon reddit is-large"></i>

+ +

<i class="nes-icon whatsapp is-small"></i>

+

<i class="nes-icon whatsapp"></i>

+

<i class="nes-icon whatsapp is-medium"></i>

+

<i class="nes-icon whatsapp is-large"></i>

+ +

<i class="nes-icon gmail is-small"></i>

+

<i class="nes-icon gmail"></i>

+

<i class="nes-icon gmail is-medium"></i>

+

<i class="nes-icon gmail is-large"></i>

+ +

<i class="nes-icon linkedin is-small"></i>

+

<i class="nes-icon linkedin"></i>

+

<i class="nes-icon linkedin is-medium"></i>

+

<i class="nes-icon linkedin is-large"></i>

+ +

Others

-
+
@@ -478,20 +831,60 @@
+ + Copied! +
+
+ +

<i class="nes-icon close is-small"></i>

+

<i class="nes-icon close"></i>

+

<i class="nes-icon close is-medium"></i>

+

<i class="nes-icon close is-large"></i>

+ +

<i class="nes-octocat animate"></i>

+ +

<i class="nes-icon trophy is-small"></i>

+

<i class="nes-icon trophy"></i>

+

<i class="nes-icon trophy is-medium"></i>

+

<i class="nes-icon trophy is-large"></i>

+ +

<i class="nes-mario"></i>

+

<i class="nes-ash"></i>

+

<i class="nes-pokeball"></i>

+ +

<i class="nes-bulbasaur"></i>

+

<i class="nes-charmander"></i>

+

<i class="nes-squirtle"></i>

+ +

<i class="nes-smartphone"></i>

+

<i class="nes-phone"></i>

+

<i class="nes-kirby"></i>

+ +

Controllers

-
+
+ + Copied! +
+
+ +

<i class="nes-logo"></i>

+

<i class="nes-jp-logo"></i>

+

<i class="snes-logo"></i>

+

<i class="snes-jp-logo"></i>

+ +
-

Black Everyday Company @@ -512,6 +905,11 @@ el.select(); document.execCommand('copy'); document.body.removeChild(el); + let copiedEl = document.querySelector("#copied-" + element); + copiedEl.style.display = 'block' + setTimeout(function() { + copiedEl.style.display = 'none' + }, 2000); } window.onload = function() { @@ -524,7 +922,8 @@ octocat.classList.remove("animate"); }); - var elements = ['buttons', 'containers', 'radios']; + var elements = ['buttons', 'containers', 'radios', 'checkboxes', 'avatars', 'form', + 'balloons', 'lists', 'table', 'progress', 'badges', 'reaction', 'sns', 'others', 'controllers']; for (var i = 0; i < elements.length; i++) { let showEl = document.querySelector("#show-" + elements[i] + "-code"); let codeEl = document.querySelector("#code-" + elements[i]); diff --git a/style.css b/style.css index 6794c4b..bd24ec3 100644 --- a/style.css +++ b/style.css @@ -87,6 +87,59 @@ div.containers > .nes-container { align-self: flex-end; } +.show-code { + font-size: .7em; + height: 34px; + display: flex; + justify-content: center; + width: 40px; + position: absolute; + right: -4px; + top: -4px; +} + +.code { + display: none; + font-size: .85em; + color: #e76e55; + background-color: rgba(45, 45, 45, .9); + padding: 15px 0px 0px 15px; + margin-top: -20px; + box-sizing: border-box; + overflow: auto; +} + +.copy { + height: 34px; + width: 58px; +} + +#form .nes-field, #form .field { + margin-top: 20px; +} + +.copied { + position: absolute; + bottom: 25px; + padding: 10px; + font-size: .7em; + z-index: 2; + right: 35px; + color: #000; + display: none; +} + +.balloon .copied { + bottom: -4px; + right: 10px; +} + +@media screen and (max-width: 1280px) { + .code p:first-child { + padding-top: 2.7em; + } +} + @media screen and (max-width: 768px) { body { padding: 0; @@ -99,27 +152,13 @@ div.containers > .nes-container { .github-link { display: none; } -} -.show-code { - font-size: .7em; - height: 34px; - width: 43px; - position: absolute; - right: -4px; - top: -4px; -} + .code p { + font-size: .8em; + } -.copy { - height: 34px; - width: 58px; -} - -.code { - display: none; - font-size: .8em; - color: #e76e55; - background-color: rgba(45, 45, 45, .9); - padding: 15px 0 0px 10px; - margin-top: -20px; + #code-avatars p { + overflow: hidden; + text-overflow: ellipsis; + } } From f0f060052f4a40bf84c37af9353c52aaaeffc523 Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Wed, 6 Feb 2019 23:01:09 -0200 Subject: [PATCH 05/14] feat(index.html): add margin to progress and table. --- style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/style.css b/style.css index bd24ec3..11cb5a9 100644 --- a/style.css +++ b/style.css @@ -56,6 +56,14 @@ div.containers > .nes-container { margin-bottom: 1rem; } +#table { + margin: 35px auto; +} + +#progress { + margin-top: 35px; +} + .footer { text-align: center; } From d9de7c95b5750a2e4b5acdfd096c05fb7adeeaeb Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Wed, 6 Feb 2019 23:04:31 -0200 Subject: [PATCH 06/14] feat(index.html): modified width of the tag p --- style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/style.css b/style.css index 11cb5a9..17ca9c3 100644 --- a/style.css +++ b/style.css @@ -142,9 +142,14 @@ div.containers > .nes-container { right: 10px; } +.code p { + width: 96%; +} + @media screen and (max-width: 1280px) { .code p:first-child { padding-top: 2.7em; + width: 99%; } } @@ -163,6 +168,7 @@ div.containers > .nes-container { .code p { font-size: .8em; + width: 100%; } #code-avatars p { From 18e4eca301ec14e1a7d591d55b6da038fb9cb8d3 Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Thu, 7 Feb 2019 12:51:17 -0200 Subject: [PATCH 07/14] feat(index.html): changed and to < e >. --- index.html | 600 ++++++++++++++++++++++++++--------------------------- 1 file changed, 300 insertions(+), 300 deletions(-) diff --git a/index.html b/index.html index 64b8c10..326e7e2 100644 --- a/index.html +++ b/index.html @@ -57,12 +57,12 @@

-

<button type="button" class="nes-btn">Normal</button>

-

<button type="button" class="nes-btn is-primary">Primary</button>

-

<button type="button" class="nes-btn is-success">Success</button>

-

<button type="button" class="nes-btn is-warning">Warning</button>

-

<button type="button" class="nes-btn is-error">Error</button>

-

<button type="button" class="nes-btn is-disabled">Disabled</button>

+

<button type="button" class="nes-btn">Normal</button>

+

<button type="button" class="nes-btn is-primary">Primary</button>

+

<button type="button" class="nes-btn is-success">Success</button>

+

<button type="button" class="nes-btn is-warning">Warning</button>

+

<button type="button" class="nes-btn is-error">Error</button>

+

<button type="button" class="nes-btn is-disabled">Disabled</button>

@@ -90,20 +90,20 @@
-

<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> - </div>

-

<div class="nes-container is-dark with-title"> - <p class="title">Container.is-dark</p> - <p>Good morning. Thou hast had a good night's sleep, I hope.</p> - </div>

-

<div class="nes-container is-rounded"> - <p>Good morning. Thou hast had a good night's sleep, I hope.</p> - </div> -

<div class="nes-container is-rounded is-dark"> - <p>Good morning. Thou hast had a good night's sleep, I hope.</p> - </div> +

<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> + </div>

+

<div class="nes-container is-dark with-title"> + <p class="title">Container.is-dark</p> + <p>Good morning. Thou hast had a good night's sleep, I hope.</p> + </div>

+

<div class="nes-container is-rounded"> + <p>Good morning. Thou hast had a good night's sleep, I hope.</p> + </div> +

<div class="nes-container is-rounded is-dark"> + <p>Good morning. Thou hast had a good night's sleep, I hope.</p> + </div>

@@ -124,14 +124,14 @@
-

<label> - <input type="radio" class="nes-radio" name="answer" checked /> - <span>Yes</span> - </label>

-

<label> - <input type="radio" class="nes-radio" name="answer" /> - <span>No</span> - </label>

+

<label> + <input type="radio" class="nes-radio" name="answer" checked /> + <span>Yes</span> + </label>

+

<label> + <input type="radio" class="nes-radio" name="answer" /> + <span>No</span> + </label>

@@ -153,14 +153,14 @@
-

<label> - <input type="checkbox" class="nes-checkbox" checked /> - <span>Enable</span> - </label>

-

<label> - <input type="checkbox" class="nes-checkbox is-dark" checked /> - <span>Dark</span> - </label>

+

<label> + <input type="checkbox" class="nes-checkbox" checked /> + <span>Enable</span> + </label>

+

<label> + <input type="checkbox" class="nes-checkbox is-dark" checked /> + <span>Dark</span> + </label>

@@ -182,14 +182,14 @@
-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-rounded">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small is-rounded">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium is-rounded">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large is-rounded">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-rounded">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small is-rounded">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium is-rounded">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large is-rounded">

@@ -256,56 +256,56 @@
-

<div class="nes-field"> - <label for="name_field">Your name</label> - <input type="text" id="name_field" class="nes-input"> - </div>

-

<div class="nes-field is-inline"> - <label for="inline_field">.input.is-success</label> - <input type="text" id="inline_field" class="nes-input is-success" placeholder="NES.css"> - </div>

-

<div class="nes-field is-inline"> - <label for="warning_field">.input.is-warning</label> - <input type="text" id="warning_field" class="nes-input is-warning" placeholder="8bit.css"> - </div>

-

<div class="nes-field is-inline"> - <label for="error_field">.input.is-error</label> - <input type="text" id="error_field" class="nes-input is-error" placeholder="awesome.css"> - </div>

-

<div class="field"> - <label for="textarea_field">Textarea</label> - <textarea id="textarea_field" class="nes-textarea"></textarea> - </div>

+

<div class="nes-field"> + <label for="name_field">Your name</label> + <input type="text" id="name_field" class="nes-input"> + </div>

+

<div class="nes-field is-inline"> + <label for="inline_field">.input.is-success</label> + <input type="text" id="inline_field" class="nes-input is-success" placeholder="NES.css"> + </div>

+

<div class="nes-field is-inline"> + <label for="warning_field">.input.is-warning</label> + <input type="text" id="warning_field" class="nes-input is-warning" placeholder="8bit.css"> + </div>

+

<div class="nes-field is-inline"> + <label for="error_field">.input.is-error</label> + <input type="text" id="error_field" class="nes-input is-error" placeholder="awesome.css"> + </div>

+

<div class="field"> + <label for="textarea_field">Textarea</label> + <textarea id="textarea_field" class="nes-textarea"></textarea> + </div>

-

<div id="selects" class="selects"> - <div class="nes-select"> - <select required> - <option value="" disabled selected hidden>Select...</option> - <option value="0">To be</option> - <option value="1">Not to be</option> - </select> - </div>

-

<div class="nes-select is-success"> - <select required> - <option value="" disabled selected hidden>Select...</option> - <option value="0">To be</option> - <option value="1">Not to be</option> - </select> - </div>

-

<div class="nes-select is-warning"> - <select required> - <option value="" disabled selected hidden>Select...</option> - <option value="0">To be</option> - <option value="1">Not to be</option> - </select> - </div>

-

<div class="nes-select is-error"> - <select required> - <option value="" disabled selected hidden>Select...</option> - <option value="0">To be</option> - <option value="1">Not to be</option> - </select> - </div>

+

<div id="selects" class="selects"> + <div class="nes-select"> + <select required> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> + </select> + </div>

+

<div class="nes-select is-success"> + <select required> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> + </select> + </div>

+

<div class="nes-select is-warning"> + <select required> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> + </select> + </div>

+

<div class="nes-select is-error"> + <select required> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> + </select> + </div>

@@ -331,18 +331,18 @@
-

<div class="message -left"> - <i class="nes-bcrikko"></i> - <div class="nes-balloon from-left"> - <p>Hello NES.css</p> - </div> - </div>

-

<div class="message -right"> - <div class="nes-balloon from-right"> - <p>Good morning. Thou hast had a good night's sleep, I hope.</p> - </div> - <i class="nes-bcrikko"></i> - </div>

+

<div class="message -left"> + <i class="nes-bcrikko"></i> + <div class="nes-balloon from-left"> + <p>Hello NES.css</p> + </div> + </div>

+

<div class="message -right"> + <div class="nes-balloon from-right"> + <p>Good morning. Thou hast had a good night's sleep, I hope.</p> + </div> + <i class="nes-bcrikko"></i> + </div>

@@ -373,23 +373,23 @@
-

<div class="lists"> - <ul class="nes-list is-disc"> - <li>Good morning.</li> - <li>Thou hast had a good night's sleep, I hope.</li> - <li>Thou hast had a good afternoon</li> - <li>Good night.</li> - </ul> - </div>

+

<div class="lists"> + <ul class="nes-list is-disc"> + <li>Good morning.</li> + <li>Thou hast had a good night's sleep, I hope.</li> + <li>Thou hast had a good afternoon</li> + <li>Good night.</li> + </ul> + </div>

-

<div class="lists"> - <ul class="nes-list is-circle"> - <li>Good morning.</li> - <li>Thou hast had a good night's sleep, I hope.</li> - <li>Thou hast had a good afternoon</li> - <li>Good night.</li> - </ul> - </div>

+

<div class="lists"> + <ul class="nes-list is-circle"> + <li>Good morning.</li> + <li>Thou hast had a good night's sleep, I hope.</li> + <li>Thou hast had a good afternoon</li> + <li>Good night.</li> + </ul> + </div>

@@ -453,57 +453,57 @@
-

<div class="nes-table-responsive"> - <table class="nes-table is-bordered is-centered"> - <thead> - <tr> - <th>Table.is-bordered</th> - <th>Table.is-centered</th> - <th>Table.is-centered</th> - <th>Table.is-centered</th> - </tr> - </thead> - <tbody> - <tr> - <td>Thou hast had a good morning</td> - <td>Thou hast had a good afternoon</td> - <td>Thou hast had a good evening</td> - <td>Thou hast had a good night</td> - </tr> - <tr> - <td>Thou hast had a good morning</td> - <td>Thou hast had a good afternoon</td> - <td>Thou hast had a good evening</td> - <td>Thou hast had a good night</td> - </tr> - </tbody> - </table> - </div>

-

<div class="nes-table-responsive"> - <table class="nes-table is-bordered is-dark"> - <thead> - <tr> - <th>Table.is-dark</th> - <th>Table.is-bordered</th> - <th>Table.is-bordered</th> - <th>Table.is-bordered</th> - </tr> - </thead> - <tbody> - <tr> - <td>Thou hast had a good morning</td> - <td>Thou hast had a good afternon</td> - <td>Thou hast had a good evening</td> - <td>Thou hast had a good night</td> - </tr> - <tr> - <td>Thou hast had a good morning</td> - <td>Thou hast had a good afternoon</td> - <td>Thou hast had a good afternoon</td> - <td>Thou hast had a good afternoon</td> - </tr> - </tbody> - </table>

+

<div class="nes-table-responsive"> + <table class="nes-table is-bordered is-centered"> + <thead> + <tr> + <th>Table.is-bordered</th> + <th>Table.is-centered</th> + <th>Table.is-centered</th> + <th>Table.is-centered</th> + </tr> + </thead> + <tbody> + <tr> + <td>Thou hast had a good morning</td> + <td>Thou hast had a good afternoon</td> + <td>Thou hast had a good evening</td> + <td>Thou hast had a good night</td> + </tr> + <tr> + <td>Thou hast had a good morning</td> + <td>Thou hast had a good afternoon</td> + <td>Thou hast had a good evening</td> + <td>Thou hast had a good night</td> + </tr> + </tbody> + </table> + </div>

+

<div class="nes-table-responsive"> + <table class="nes-table is-bordered is-dark"> + <thead> + <tr> + <th>Table.is-dark</th> + <th>Table.is-bordered</th> + <th>Table.is-bordered</th> + <th>Table.is-bordered</th> + </tr> + </thead> + <tbody> + <tr> + <td>Thou hast had a good morning</td> + <td>Thou hast had a good afternon</td> + <td>Thou hast had a good evening</td> + <td>Thou hast had a good night</td> + </tr> + <tr> + <td>Thou hast had a good morning</td> + <td>Thou hast had a good afternoon</td> + <td>Thou hast had a good afternoon</td> + <td>Thou hast had a good afternoon</td> + </tr> + </tbody> + </table>

@@ -523,12 +523,12 @@
-

<progress class="nes-progress" value="90" max="100"></progress>

-

<progress class="nes-progress is-primary" value="80" max="100"></progress>

-

<progress class="nes-progress is-success" value="50" max="100"></progress>

-

<progress class="nes-progress is-warning" value="30" max="100"></progress>

-

<progress class="nes-progress is-error" value="10" max="100"></progress>

-

<progress class="nes-progress is-pattern" value="50" max="100"></progress>

+

<progress class="nes-progress" value="90" max="100"></progress>

+

<progress class="nes-progress is-primary" value="80" max="100"></progress>

+

<progress class="nes-progress is-success" value="50" max="100"></progress>

+

<progress class="nes-progress is-warning" value="30" max="100"></progress>

+

<progress class="nes-progress is-error" value="10" max="100"></progress>

+

<progress class="nes-progress is-pattern" value="50" max="100"></progress>

@@ -575,39 +575,39 @@
-

<a href="#" class="nes-badge"> - <span class="is-dark">NES.css</span> - </a>

-

<a href="#" class="nes-badge"> - <span class="is-primary">is</span> - </a>

-

<a href="#" class="nes-badge"> - <span class="is-success">a</span> - </a>

-

<a href="#" class="nes-badge"> - <span class="is-warning">great</span> - </a>

-

<a href="#" class="nes-badge"> - <span class="is-error">framework!</span> - </a>

-

<a href="#" class="nes-badge is-splited"> - <span class="is-dark">npm</span> - <span class="is-primary">1.1.0</span> - </a>

-

<a href="#" class="nes-badge is-splited"> - <span class="is-dark">test</span> - <span class="is-success">100%</span> - </a>

-

<a href="#" class="nes-badge is-icon"> - <span class="is-warning"> - <i class="nes-icon star is-small"></i> - </span> - <span class="is-primary">Icons</span> - </a>

-

<a href="#" class="nes-badge is-icon"> - <span class="is-dark">hi</span> - <span class="is-warning">Text</span> - </a>

+

<a href="#" class="nes-badge"> + <span class="is-dark">NES.css</span> + </a>

+

<a href="#" class="nes-badge"> + <span class="is-primary">is</span> + </a>

+

<a href="#" class="nes-badge"> + <span class="is-success">a</span> + </a>

+

<a href="#" class="nes-badge"> + <span class="is-warning">great</span> + </a>

+

<a href="#" class="nes-badge"> + <span class="is-error">framework!</span> + </a>

+

<a href="#" class="nes-badge is-splited"> + <span class="is-dark">npm</span> + <span class="is-primary">1.1.0</span> + </a>

+

<a href="#" class="nes-badge is-splited"> + <span class="is-dark">test</span> + <span class="is-success">100%</span> + </a>

+

<a href="#" class="nes-badge is-icon"> + <span class="is-warning"> + <i class="nes-icon star is-small"></i> + </span> + <span class="is-primary">Icons</span> + </a>

+

<a href="#" class="nes-badge is-icon"> + <span class="is-dark">hi</span> + <span class="is-warning">Text</span> + </a>

@@ -651,34 +651,34 @@
-

<i class="nes-icon heart is-small"></i>

-

<i class="nes-icon heart"></i>

-

<i class="nes-icon heart is-medium"></i>

-

<i class="nes-icon heart is-large"></i>

-

<i class="nes-icon heart is-empty"></i>

+

<i class="nes-icon heart is-small"></i>

+

<i class="nes-icon heart"></i>

+

<i class="nes-icon heart is-medium"></i>

+

<i class="nes-icon heart is-large"></i>

+

<i class="nes-icon heart is-empty"></i>

-

<i class="nes-icon star is-small"></i>

-

<i class="nes-icon star"></i>

-

<i class="nes-icon star is-medium"></i>

-

<i class="nes-icon star is-large"></i>

+

<i class="nes-icon star is-small"></i>

+

<i class="nes-icon star"></i>

+

<i class="nes-icon star is-medium"></i>

+

<i class="nes-icon star is-large"></i>

-

<i class="nes-icon star is-half is-small"></i>

-

<i class="nes-icon star is-half"></i>

-

<i class="nes-icon star is-half is-medium"></i>

-

<i class="nes-icon star is-half is-large"></i>

+

<i class="nes-icon star is-half is-small"></i>

+

<i class="nes-icon star is-half"></i>

+

<i class="nes-icon star is-half is-medium"></i>

+

<i class="nes-icon star is-half is-large"></i>

-

<i class="nes-icon star is-transparent is-small"></i>

-

<i class="nes-icon star is-transparent"></i>

-

<i class="nes-icon star is-transparent is-medium"></i>

-

<i class="nes-icon star is-transparent is-large"></i>

+

<i class="nes-icon star is-transparent is-small"></i>

+

<i class="nes-icon star is-transparent"></i>

+

<i class="nes-icon star is-transparent is-medium"></i>

+

<i class="nes-icon star is-transparent is-large"></i>

-

<i class="nes-icon star is-empty"></i>

+

<i class="nes-icon star is-empty"></i>

-

<i class="nes-icon like is-small"></i>

-

<i class="nes-icon like"></i>

-

<i class="nes-icon like is-medium"></i>

-

<i class="nes-icon like is-large"></i>

-

<i class="nes-icon like is-empty"></i>

+

<i class="nes-icon like is-small"></i>

+

<i class="nes-icon like"></i>

+

<i class="nes-icon like is-medium"></i>

+

<i class="nes-icon like is-large"></i>

+

<i class="nes-icon like is-empty"></i>

@@ -746,60 +746,60 @@
-

<i class="nes-icon twitter is-small"></i>

-

<i class="nes-icon twitter"></i>

-

<i class="nes-icon twitter is-medium"></i>

-

<i class="nes-icon twitter is-large"></i>

+

<i class="nes-icon twitter is-small"></i>

+

<i class="nes-icon twitter"></i>

+

<i class="nes-icon twitter is-medium"></i>

+

<i class="nes-icon twitter is-large"></i>

-

<i class="nes-icon facebook is-small"></i>

-

<i class="nes-icon facebook"></i>

-

<i class="nes-icon facebook is-medium"></i>

-

<i class="nes-icon facebook is-large"></i>

+

<i class="nes-icon facebook is-small"></i>

+

<i class="nes-icon facebook"></i>

+

<i class="nes-icon facebook is-medium"></i>

+

<i class="nes-icon facebook is-large"></i>

-

<i class="nes-icon github is-small"></i>

-

<i class="nes-icon github"></i>

-

<i class="nes-icon github is-medium"></i>

-

<i class="nes-icon github is-large"></i>

+

<i class="nes-icon github is-small"></i>

+

<i class="nes-icon github"></i>

+

<i class="nes-icon github is-medium"></i>

+

<i class="nes-icon github is-large"></i>

-

<i class="nes-icon youtube is-small"></i>

-

<i class="nes-icon youtube"></i>

-

<i class="nes-icon youtube is-medium"></i>

-

<i class="nes-icon youtube is-large"></i>

+

<i class="nes-icon youtube is-small"></i>

+

<i class="nes-icon youtube"></i>

+

<i class="nes-icon youtube is-medium"></i>

+

<i class="nes-icon youtube is-large"></i>

-

<i class="nes-icon google is-small"></i>

-

<i class="nes-icon google"></i>

-

<i class="nes-icon google is-medium"></i>

-

<i class="nes-icon google is-large"></i>

+

<i class="nes-icon google is-small"></i>

+

<i class="nes-icon google"></i>

+

<i class="nes-icon google is-medium"></i>

+

<i class="nes-icon google is-large"></i>

-

<i class="nes-icon medium is-small"></i>

-

<i class="nes-icon medium"></i>

-

<i class="nes-icon medium is-medium"></i>

-

<i class="nes-icon medium is-large"></i>

+

<i class="nes-icon medium is-small"></i>

+

<i class="nes-icon medium"></i>

+

<i class="nes-icon medium is-medium"></i>

+

<i class="nes-icon medium is-large"></i>

-

<i class="nes-icon twitch is-small"></i>

-

<i class="nes-icon twitch"></i>

-

<i class="nes-icon twitch is-medium"></i>

-

<i class="nes-icon twitch is-large"></i>

+

<i class="nes-icon twitch is-small"></i>

+

<i class="nes-icon twitch"></i>

+

<i class="nes-icon twitch is-medium"></i>

+

<i class="nes-icon twitch is-large"></i>

-

<i class="nes-icon reddit is-small"></i>

-

<i class="nes-icon reddit"></i>

-

<i class="nes-icon reddit is-medium"></i>

-

<i class="nes-icon reddit is-large"></i>

+

<i class="nes-icon reddit is-small"></i>

+

<i class="nes-icon reddit"></i>

+

<i class="nes-icon reddit is-medium"></i>

+

<i class="nes-icon reddit is-large"></i>

-

<i class="nes-icon whatsapp is-small"></i>

-

<i class="nes-icon whatsapp"></i>

-

<i class="nes-icon whatsapp is-medium"></i>

-

<i class="nes-icon whatsapp is-large"></i>

+

<i class="nes-icon whatsapp is-small"></i>

+

<i class="nes-icon whatsapp"></i>

+

<i class="nes-icon whatsapp is-medium"></i>

+

<i class="nes-icon whatsapp is-large"></i>

-

<i class="nes-icon gmail is-small"></i>

-

<i class="nes-icon gmail"></i>

-

<i class="nes-icon gmail is-medium"></i>

-

<i class="nes-icon gmail is-large"></i>

+

<i class="nes-icon gmail is-small"></i>

+

<i class="nes-icon gmail"></i>

+

<i class="nes-icon gmail is-medium"></i>

+

<i class="nes-icon gmail is-large"></i>

-

<i class="nes-icon linkedin is-small"></i>

-

<i class="nes-icon linkedin"></i>

-

<i class="nes-icon linkedin is-medium"></i>

-

<i class="nes-icon linkedin is-large"></i>

+

<i class="nes-icon linkedin is-small"></i>

+

<i class="nes-icon linkedin"></i>

+

<i class="nes-icon linkedin is-medium"></i>

+

<i class="nes-icon linkedin is-large"></i>

@@ -836,29 +836,29 @@
-

<i class="nes-icon close is-small"></i>

-

<i class="nes-icon close"></i>

-

<i class="nes-icon close is-medium"></i>

-

<i class="nes-icon close is-large"></i>

+

<i class="nes-icon close is-small"></i>

+

<i class="nes-icon close"></i>

+

<i class="nes-icon close is-medium"></i>

+

<i class="nes-icon close is-large"></i>

-

<i class="nes-octocat animate"></i>

+

<i class="nes-octocat animate"></i>

-

<i class="nes-icon trophy is-small"></i>

-

<i class="nes-icon trophy"></i>

-

<i class="nes-icon trophy is-medium"></i>

-

<i class="nes-icon trophy is-large"></i>

+

<i class="nes-icon trophy is-small"></i>

+

<i class="nes-icon trophy"></i>

+

<i class="nes-icon trophy is-medium"></i>

+

<i class="nes-icon trophy is-large"></i>

-

<i class="nes-mario"></i>

-

<i class="nes-ash"></i>

-

<i class="nes-pokeball"></i>

+

<i class="nes-mario"></i>

+

<i class="nes-ash"></i>

+

<i class="nes-pokeball"></i>

-

<i class="nes-bulbasaur"></i>

-

<i class="nes-charmander"></i>

-

<i class="nes-squirtle"></i>

+

<i class="nes-bulbasaur"></i>

+

<i class="nes-charmander"></i>

+

<i class="nes-squirtle"></i>

-

<i class="nes-smartphone"></i>

-

<i class="nes-phone"></i>

-

<i class="nes-kirby"></i>

+

<i class="nes-smartphone"></i>

+

<i class="nes-phone"></i>

+

<i class="nes-kirby"></i>

@@ -876,10 +876,10 @@
-

<i class="nes-logo"></i>

-

<i class="nes-jp-logo"></i>

-

<i class="snes-logo"></i>

-

<i class="snes-jp-logo"></i>

+

<i class="nes-logo"></i>

+

<i class="nes-jp-logo"></i>

+

<i class="snes-logo"></i>

+

<i class="snes-jp-logo"></i>

From 0720887c9e9ae630655e17b581eee15eeebd40b6 Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Thu, 7 Feb 2019 12:53:49 -0200 Subject: [PATCH 08/14] feat(index.html): changed button <> to <>. --- index.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index 326e7e2..04a18d4 100644 --- a/index.html +++ b/index.html @@ -52,7 +52,7 @@ - + Copied!
@@ -85,7 +85,7 @@

Good morning. Thou hast had a good night's sleep, I hope.

- + Copied!
@@ -119,7 +119,7 @@ No - + Copied!
@@ -148,7 +148,7 @@ Dark - + Copied!
@@ -177,7 +177,7 @@ - + Copied!
@@ -251,7 +251,7 @@ - + Copied!
@@ -326,7 +326,7 @@ - + Copied!
@@ -368,7 +368,7 @@ - + Copied!
@@ -448,7 +448,7 @@ - + Copied!
@@ -518,7 +518,7 @@ - + Copied!
@@ -570,7 +570,7 @@ Text - + Copied!
@@ -646,7 +646,7 @@ - + Copied!
@@ -741,7 +741,7 @@ - + Copied!
@@ -831,7 +831,7 @@ - + Copied!
@@ -871,7 +871,7 @@ - + Copied!
From 6447372c56267cc9c54e493f5c5bf9a78f4c1557 Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Thu, 7 Feb 2019 18:48:23 -0200 Subject: [PATCH 09/14] feat(index.html): changed " to ". --- index.html | 376 ++++++++++++++++++++++++++--------------------------- 1 file changed, 188 insertions(+), 188 deletions(-) diff --git a/index.html b/index.html index 04a18d4..de991c2 100644 --- a/index.html +++ b/index.html @@ -57,12 +57,12 @@
-

<button type="button" class="nes-btn">Normal</button>

-

<button type="button" class="nes-btn is-primary">Primary</button>

-

<button type="button" class="nes-btn is-success">Success</button>

-

<button type="button" class="nes-btn is-warning">Warning</button>

-

<button type="button" class="nes-btn is-error">Error</button>

-

<button type="button" class="nes-btn is-disabled">Disabled</button>

+

<button type="button" class="nes-btn">Normal</button>

+

<button type="button" class="nes-btn is-primary">Primary</button>

+

<button type="button" class="nes-btn is-success">Success</button>

+

<button type="button" class="nes-btn is-warning">Warning</button>

+

<button type="button" class="nes-btn is-error">Error</button>

+

<button type="button" class="nes-btn is-disabled">Disabled</button>

@@ -90,18 +90,18 @@
-

<div class="nes-container with-title is-centered"> - <p class="title">Container.is-centered</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> </div>

-

<div class="nes-container is-dark with-title"> - <p class="title">Container.is-dark</p> +

<div class="nes-container is-dark with-title"> + <p class="title">Container.is-dark</p> <p>Good morning. Thou hast had a good night's sleep, I hope.</p> </div>

-

<div class="nes-container is-rounded"> +

<div class="nes-container is-rounded"> <p>Good morning. Thou hast had a good night's sleep, I hope.</p> </div> -

<div class="nes-container is-rounded is-dark"> +

<div class="nes-container is-rounded is-dark"> <p>Good morning. Thou hast had a good night's sleep, I hope.</p> </div> @@ -125,11 +125,11 @@

<label> - <input type="radio" class="nes-radio" name="answer" checked /> + <input type="radio" class="nes-radio" name="answer" checked /> <span>Yes</span> </label>

<label> - <input type="radio" class="nes-radio" name="answer" /> + <input type="radio" class="nes-radio" name="answer" /> <span>No</span> </label>

@@ -154,11 +154,11 @@

<label> - <input type="checkbox" class="nes-checkbox" checked /> + <input type="checkbox" class="nes-checkbox" checked /> <span>Enable</span> </label>

<label> - <input type="checkbox" class="nes-checkbox is-dark" checked /> + <input type="checkbox" class="nes-checkbox is-dark" checked /> <span>Dark</span> </label>

@@ -182,14 +182,14 @@
-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-rounded">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small is-rounded">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium is-rounded">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large is-rounded">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-rounded">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small is-rounded">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium is-rounded">

+

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large is-rounded">

@@ -256,54 +256,54 @@
-

<div class="nes-field"> - <label for="name_field">Your name</label> - <input type="text" id="name_field" class="nes-input"> +

<div class="nes-field"> + <label for="name_field">Your name</label> + <input type="text" id="name_field" class="nes-input"> </div>

-

<div class="nes-field is-inline"> - <label for="inline_field">.input.is-success</label> - <input type="text" id="inline_field" class="nes-input is-success" placeholder="NES.css"> +

<div class="nes-field is-inline"> + <label for="inline_field">.input.is-success</label> + <input type="text" id="inline_field" class="nes-input is-success" placeholder="NES.css"> </div>

-

<div class="nes-field is-inline"> - <label for="warning_field">.input.is-warning</label> - <input type="text" id="warning_field" class="nes-input is-warning" placeholder="8bit.css"> +

<div class="nes-field is-inline"> + <label for="warning_field">.input.is-warning</label> + <input type="text" id="warning_field" class="nes-input is-warning" placeholder="8bit.css"> </div>

-

<div class="nes-field is-inline"> - <label for="error_field">.input.is-error</label> - <input type="text" id="error_field" class="nes-input is-error" placeholder="awesome.css"> +

<div class="nes-field is-inline"> + <label for="error_field">.input.is-error</label> + <input type="text" id="error_field" class="nes-input is-error" placeholder="awesome.css"> </div>

-

<div class="field"> - <label for="textarea_field">Textarea</label> - <textarea id="textarea_field" class="nes-textarea"></textarea> +

<div class="field"> + <label for="textarea_field">Textarea</label> + <textarea id="textarea_field" class="nes-textarea"></textarea> </div>

-

<div id="selects" class="selects"> - <div class="nes-select"> +

<div id="selects" class="selects"> + <div class="nes-select"> <select required> - <option value="" disabled selected hidden>Select...</option> - <option value="0">To be</option> - <option value="1">Not to be</option> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> </select> </div>

-

<div class="nes-select is-success"> +

<div class="nes-select is-success"> <select required> - <option value="" disabled selected hidden>Select...</option> - <option value="0">To be</option> - <option value="1">Not to be</option> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> </select> </div>

-

<div class="nes-select is-warning"> +

<div class="nes-select is-warning"> <select required> - <option value="" disabled selected hidden>Select...</option> - <option value="0">To be</option> - <option value="1">Not to be</option> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> </select> </div>

-

<div class="nes-select is-error"> +

<div class="nes-select is-error"> <select required> - <option value="" disabled selected hidden>Select...</option> - <option value="0">To be</option> - <option value="1">Not to be</option> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> </select> </div>

@@ -331,17 +331,17 @@
-

<div class="message -left"> - <i class="nes-bcrikko"></i> - <div class="nes-balloon from-left"> +

<div class="message -left"> + <i class="nes-bcrikko"></i> + <div class="nes-balloon from-left"> <p>Hello NES.css</p> </div> </div>

-

<div class="message -right"> - <div class="nes-balloon from-right"> +

<div class="message -right"> + <div class="nes-balloon from-right"> <p>Good morning. Thou hast had a good night's sleep, I hope.</p> </div> - <i class="nes-bcrikko"></i> + <i class="nes-bcrikko"></i> </div>

@@ -373,8 +373,8 @@
-

<div class="lists"> - <ul class="nes-list is-disc"> +

<div class="lists"> + <ul class="nes-list is-disc"> <li>Good morning.</li> <li>Thou hast had a good night's sleep, I hope.</li> <li>Thou hast had a good afternoon</li> @@ -382,8 +382,8 @@ </ul> </div>

-

<div class="lists"> - <ul class="nes-list is-circle"> +

<div class="lists"> + <ul class="nes-list is-circle"> <li>Good morning.</li> <li>Thou hast had a good night's sleep, I hope.</li> <li>Thou hast had a good afternoon</li> @@ -453,8 +453,8 @@

-

<div class="nes-table-responsive"> - <table class="nes-table is-bordered is-centered"> +

<div class="nes-table-responsive"> + <table class="nes-table is-bordered is-centered"> <thead> <tr> <th>Table.is-bordered</th> @@ -479,8 +479,8 @@ </tbody> </table> </div>

-

<div class="nes-table-responsive"> - <table class="nes-table is-bordered is-dark"> +

<div class="nes-table-responsive"> + <table class="nes-table is-bordered is-dark"> <thead> <tr> <th>Table.is-dark</th> @@ -523,12 +523,12 @@

-

<progress class="nes-progress" value="90" max="100"></progress>

-

<progress class="nes-progress is-primary" value="80" max="100"></progress>

-

<progress class="nes-progress is-success" value="50" max="100"></progress>

-

<progress class="nes-progress is-warning" value="30" max="100"></progress>

-

<progress class="nes-progress is-error" value="10" max="100"></progress>

-

<progress class="nes-progress is-pattern" value="50" max="100"></progress>

+

<progress class="nes-progress" value="90" max="100"></progress>

+

<progress class="nes-progress is-primary" value="80" max="100"></progress>

+

<progress class="nes-progress is-success" value="50" max="100"></progress>

+

<progress class="nes-progress is-warning" value="30" max="100"></progress>

+

<progress class="nes-progress is-error" value="10" max="100"></progress>

+

<progress class="nes-progress is-pattern" value="50" max="100"></progress>

@@ -575,38 +575,38 @@
-

<a href="#" class="nes-badge"> - <span class="is-dark">NES.css</span> +

<a href="#" class="nes-badge"> + <span class="is-dark">NES.css</span> </a>

-

<a href="#" class="nes-badge"> - <span class="is-primary">is</span> +

<a href="#" class="nes-badge"> + <span class="is-primary">is</span> </a>

-

<a href="#" class="nes-badge"> - <span class="is-success">a</span> +

<a href="#" class="nes-badge"> + <span class="is-success">a</span> </a>

-

<a href="#" class="nes-badge"> - <span class="is-warning">great</span> +

<a href="#" class="nes-badge"> + <span class="is-warning">great</span> </a>

-

<a href="#" class="nes-badge"> - <span class="is-error">framework!</span> +

<a href="#" class="nes-badge"> + <span class="is-error">framework!</span> </a>

-

<a href="#" class="nes-badge is-splited"> - <span class="is-dark">npm</span> - <span class="is-primary">1.1.0</span> +

<a href="#" class="nes-badge is-splited"> + <span class="is-dark">npm</span> + <span class="is-primary">1.1.0</span> </a>

-

<a href="#" class="nes-badge is-splited"> - <span class="is-dark">test</span> - <span class="is-success">100%</span> +

<a href="#" class="nes-badge is-splited"> + <span class="is-dark">test</span> + <span class="is-success">100%</span> </a>

-

<a href="#" class="nes-badge is-icon"> - <span class="is-warning"> - <i class="nes-icon star is-small"></i> +

<a href="#" class="nes-badge is-icon"> + <span class="is-warning"> + <i class="nes-icon star is-small"></i> </span> - <span class="is-primary">Icons</span> + <span class="is-primary">Icons</span> </a>

-

<a href="#" class="nes-badge is-icon"> - <span class="is-dark">hi</span> - <span class="is-warning">Text</span> +

<a href="#" class="nes-badge is-icon"> + <span class="is-dark">hi</span> + <span class="is-warning">Text</span> </a>

@@ -651,34 +651,34 @@
-

<i class="nes-icon heart is-small"></i>

-

<i class="nes-icon heart"></i>

-

<i class="nes-icon heart is-medium"></i>

-

<i class="nes-icon heart is-large"></i>

-

<i class="nes-icon heart is-empty"></i>

+

<i class="nes-icon heart is-small"></i>

+

<i class="nes-icon heart"></i>

+

<i class="nes-icon heart is-medium"></i>

+

<i class="nes-icon heart is-large"></i>

+

<i class="nes-icon heart is-empty"></i>

-

<i class="nes-icon star is-small"></i>

-

<i class="nes-icon star"></i>

-

<i class="nes-icon star is-medium"></i>

-

<i class="nes-icon star is-large"></i>

+

<i class="nes-icon star is-small"></i>

+

<i class="nes-icon star"></i>

+

<i class="nes-icon star is-medium"></i>

+

<i class="nes-icon star is-large"></i>

-

<i class="nes-icon star is-half is-small"></i>

-

<i class="nes-icon star is-half"></i>

-

<i class="nes-icon star is-half is-medium"></i>

-

<i class="nes-icon star is-half is-large"></i>

+

<i class="nes-icon star is-half is-small"></i>

+

<i class="nes-icon star is-half"></i>

+

<i class="nes-icon star is-half is-medium"></i>

+

<i class="nes-icon star is-half is-large"></i>

-

<i class="nes-icon star is-transparent is-small"></i>

-

<i class="nes-icon star is-transparent"></i>

-

<i class="nes-icon star is-transparent is-medium"></i>

-

<i class="nes-icon star is-transparent is-large"></i>

+

<i class="nes-icon star is-transparent is-small"></i>

+

<i class="nes-icon star is-transparent"></i>

+

<i class="nes-icon star is-transparent is-medium"></i>

+

<i class="nes-icon star is-transparent is-large"></i>

-

<i class="nes-icon star is-empty"></i>

+

<i class="nes-icon star is-empty"></i>

-

<i class="nes-icon like is-small"></i>

-

<i class="nes-icon like"></i>

-

<i class="nes-icon like is-medium"></i>

-

<i class="nes-icon like is-large"></i>

-

<i class="nes-icon like is-empty"></i>

+

<i class="nes-icon like is-small"></i>

+

<i class="nes-icon like"></i>

+

<i class="nes-icon like is-medium"></i>

+

<i class="nes-icon like is-large"></i>

+

<i class="nes-icon like is-empty"></i>

@@ -746,60 +746,60 @@
-

<i class="nes-icon twitter is-small"></i>

-

<i class="nes-icon twitter"></i>

-

<i class="nes-icon twitter is-medium"></i>

-

<i class="nes-icon twitter is-large"></i>

+

<i class="nes-icon twitter is-small"></i>

+

<i class="nes-icon twitter"></i>

+

<i class="nes-icon twitter is-medium"></i>

+

<i class="nes-icon twitter is-large"></i>

-

<i class="nes-icon facebook is-small"></i>

-

<i class="nes-icon facebook"></i>

-

<i class="nes-icon facebook is-medium"></i>

-

<i class="nes-icon facebook is-large"></i>

+

<i class="nes-icon facebook is-small"></i>

+

<i class="nes-icon facebook"></i>

+

<i class="nes-icon facebook is-medium"></i>

+

<i class="nes-icon facebook is-large"></i>

-

<i class="nes-icon github is-small"></i>

-

<i class="nes-icon github"></i>

-

<i class="nes-icon github is-medium"></i>

-

<i class="nes-icon github is-large"></i>

+

<i class="nes-icon github is-small"></i>

+

<i class="nes-icon github"></i>

+

<i class="nes-icon github is-medium"></i>

+

<i class="nes-icon github is-large"></i>

-

<i class="nes-icon youtube is-small"></i>

-

<i class="nes-icon youtube"></i>

-

<i class="nes-icon youtube is-medium"></i>

-

<i class="nes-icon youtube is-large"></i>

+

<i class="nes-icon youtube is-small"></i>

+

<i class="nes-icon youtube"></i>

+

<i class="nes-icon youtube is-medium"></i>

+

<i class="nes-icon youtube is-large"></i>

-

<i class="nes-icon google is-small"></i>

-

<i class="nes-icon google"></i>

-

<i class="nes-icon google is-medium"></i>

-

<i class="nes-icon google is-large"></i>

+

<i class="nes-icon google is-small"></i>

+

<i class="nes-icon google"></i>

+

<i class="nes-icon google is-medium"></i>

+

<i class="nes-icon google is-large"></i>

-

<i class="nes-icon medium is-small"></i>

-

<i class="nes-icon medium"></i>

-

<i class="nes-icon medium is-medium"></i>

-

<i class="nes-icon medium is-large"></i>

+

<i class="nes-icon medium is-small"></i>

+

<i class="nes-icon medium"></i>

+

<i class="nes-icon medium is-medium"></i>

+

<i class="nes-icon medium is-large"></i>

-

<i class="nes-icon twitch is-small"></i>

-

<i class="nes-icon twitch"></i>

-

<i class="nes-icon twitch is-medium"></i>

-

<i class="nes-icon twitch is-large"></i>

+

<i class="nes-icon twitch is-small"></i>

+

<i class="nes-icon twitch"></i>

+

<i class="nes-icon twitch is-medium"></i>

+

<i class="nes-icon twitch is-large"></i>

-

<i class="nes-icon reddit is-small"></i>

-

<i class="nes-icon reddit"></i>

-

<i class="nes-icon reddit is-medium"></i>

-

<i class="nes-icon reddit is-large"></i>

+

<i class="nes-icon reddit is-small"></i>

+

<i class="nes-icon reddit"></i>

+

<i class="nes-icon reddit is-medium"></i>

+

<i class="nes-icon reddit is-large"></i>

-

<i class="nes-icon whatsapp is-small"></i>

-

<i class="nes-icon whatsapp"></i>

-

<i class="nes-icon whatsapp is-medium"></i>

-

<i class="nes-icon whatsapp is-large"></i>

+

<i class="nes-icon whatsapp is-small"></i>

+

<i class="nes-icon whatsapp"></i>

+

<i class="nes-icon whatsapp is-medium"></i>

+

<i class="nes-icon whatsapp is-large"></i>

-

<i class="nes-icon gmail is-small"></i>

-

<i class="nes-icon gmail"></i>

-

<i class="nes-icon gmail is-medium"></i>

-

<i class="nes-icon gmail is-large"></i>

+

<i class="nes-icon gmail is-small"></i>

+

<i class="nes-icon gmail"></i>

+

<i class="nes-icon gmail is-medium"></i>

+

<i class="nes-icon gmail is-large"></i>

-

<i class="nes-icon linkedin is-small"></i>

-

<i class="nes-icon linkedin"></i>

-

<i class="nes-icon linkedin is-medium"></i>

-

<i class="nes-icon linkedin is-large"></i>

+

<i class="nes-icon linkedin is-small"></i>

+

<i class="nes-icon linkedin"></i>

+

<i class="nes-icon linkedin is-medium"></i>

+

<i class="nes-icon linkedin is-large"></i>

@@ -836,29 +836,29 @@
-

<i class="nes-icon close is-small"></i>

-

<i class="nes-icon close"></i>

-

<i class="nes-icon close is-medium"></i>

-

<i class="nes-icon close is-large"></i>

+

<i class="nes-icon close is-small"></i>

+

<i class="nes-icon close"></i>

+

<i class="nes-icon close is-medium"></i>

+

<i class="nes-icon close is-large"></i>

-

<i class="nes-octocat animate"></i>

+

<i class="nes-octocat animate"></i>

-

<i class="nes-icon trophy is-small"></i>

-

<i class="nes-icon trophy"></i>

-

<i class="nes-icon trophy is-medium"></i>

-

<i class="nes-icon trophy is-large"></i>

+

<i class="nes-icon trophy is-small"></i>

+

<i class="nes-icon trophy"></i>

+

<i class="nes-icon trophy is-medium"></i>

+

<i class="nes-icon trophy is-large"></i>

-

<i class="nes-mario"></i>

-

<i class="nes-ash"></i>

-

<i class="nes-pokeball"></i>

+

<i class="nes-mario"></i>

+

<i class="nes-ash"></i>

+

<i class="nes-pokeball"></i>

-

<i class="nes-bulbasaur"></i>

-

<i class="nes-charmander"></i>

-

<i class="nes-squirtle"></i>

+

<i class="nes-bulbasaur"></i>

+

<i class="nes-charmander"></i>

+

<i class="nes-squirtle"></i>

-

<i class="nes-smartphone"></i>

-

<i class="nes-phone"></i>

-

<i class="nes-kirby"></i>

+

<i class="nes-smartphone"></i>

+

<i class="nes-phone"></i>

+

<i class="nes-kirby"></i>

@@ -876,10 +876,10 @@
-

<i class="nes-logo"></i>

-

<i class="nes-jp-logo"></i>

-

<i class="snes-logo"></i>

-

<i class="snes-jp-logo"></i>

+

<i class="nes-logo"></i>

+

<i class="nes-jp-logo"></i>

+

<i class="snes-logo"></i>

+

<i class="snes-jp-logo"></i>

From 12116af2df47555c7f23dd54db13fb9bb6c7861e Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Thu, 7 Feb 2019 18:55:09 -0200 Subject: [PATCH 10/14] feat(index.html): add
 tag.

---
 index.html | 60 +++++++++++++++++++++++++++---------------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

diff --git a/index.html b/index.html
index de991c2..5c8853f 100644
--- a/index.html
+++ b/index.html
@@ -56,7 +56,7 @@
       Copied!
     
     
- +

         

<button type="button" class="nes-btn">Normal</button>

<button type="button" class="nes-btn is-primary">Primary</button>

<button type="button" class="nes-btn is-success">Success</button>

@@ -64,7 +64,7 @@

<button type="button" class="nes-btn is-error">Error</button>

<button type="button" class="nes-btn is-disabled">Disabled</button>

-
+
@@ -89,7 +89,7 @@ Copied!
- +

         

<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> - +

Radios

@@ -123,7 +123,7 @@ Copied!
- +

         

<label> <input type="radio" class="nes-radio" name="answer" checked /> <span>Yes</span> @@ -133,7 +133,7 @@ <span>No</span> </label>

-
+
@@ -152,7 +152,7 @@ Copied!
- +

         

<label> <input type="checkbox" class="nes-checkbox" checked /> <span>Enable</span> @@ -162,7 +162,7 @@ <span>Dark</span> </label>

-
+
@@ -181,7 +181,7 @@ Copied!
- +

         

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small">

<img src="https://www.gravatar.com/avatar" class="nes-avatar">

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium">

@@ -191,7 +191,7 @@

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium is-rounded">

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large is-rounded">

-
+
@@ -255,7 +255,7 @@ Copied!
- +

         

<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>

-
+
@@ -330,7 +330,7 @@ Copied!
- +

         

<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>

-
+
@@ -372,7 +372,7 @@ Copied!
- +

         

<div class="lists"> <ul class="nes-list is-disc"> <li>Good morning.</li> @@ -391,7 +391,7 @@ </ul> </div>

-
+
@@ -452,7 +452,7 @@ Copied!
- +

         

<div class="nes-table-responsive"> <table class="nes-table is-bordered is-centered"> <thead> @@ -505,7 +505,7 @@ </tbody> </table>

-
+
@@ -522,7 +522,7 @@ Copied!
- +

         

<progress class="nes-progress" value="90" max="100"></progress>

<progress class="nes-progress is-primary" value="80" max="100"></progress>

<progress class="nes-progress is-success" value="50" max="100"></progress>

@@ -530,7 +530,7 @@

<progress class="nes-progress is-error" value="10" max="100"></progress>

<progress class="nes-progress is-pattern" value="50" max="100"></progress>

-
+
@@ -574,7 +574,7 @@ Copied!
- +

         

<a href="#" class="nes-badge"> <span class="is-dark">NES.css</span> </a>

@@ -609,7 +609,7 @@ <span class="is-warning">Text</span> </a>

-
+
@@ -650,7 +650,7 @@ Copied!
- +

           

<i class="nes-icon heart is-small"></i>

<i class="nes-icon heart"></i>

<i class="nes-icon heart is-medium"></i>

@@ -680,7 +680,7 @@

<i class="nes-icon like is-large"></i>

<i class="nes-icon like is-empty"></i>

-
+
@@ -745,7 +745,7 @@ Copied!
- +

           

<i class="nes-icon twitter is-small"></i>

<i class="nes-icon twitter"></i>

<i class="nes-icon twitter is-medium"></i>

@@ -801,7 +801,7 @@

<i class="nes-icon linkedin is-medium"></i>

<i class="nes-icon linkedin is-large"></i>

-
+
@@ -835,7 +835,7 @@ Copied!
- +

           

<i class="nes-icon close is-small"></i>

<i class="nes-icon close"></i>

<i class="nes-icon close is-medium"></i>

@@ -860,7 +860,7 @@

<i class="nes-phone"></i>

<i class="nes-kirby"></i>

-
+
@@ -875,13 +875,13 @@ Copied!
- +

           

<i class="nes-logo"></i>

<i class="nes-jp-logo"></i>

<i class="snes-logo"></i>

<i class="snes-jp-logo"></i>

-
+
From 53dfbb2a58c2163797e11175e4af27d5be08207a Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Thu, 7 Feb 2019 18:55:57 -0200 Subject: [PATCH 11/14] feat(index.html): add pre whitespace normal. --- style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/style.css b/style.css index 17ca9c3..ce47018 100644 --- a/style.css +++ b/style.css @@ -106,6 +106,10 @@ div.containers > .nes-container { top: -4px; } +pre { + white-space: normal; +} + .code { display: none; font-size: .85em; From d9681f1388e4f96f682ddfb555f3f425da6493c4 Mon Sep 17 00:00:00 2001 From: BcRikko Date: Fri, 8 Feb 2019 21:42:27 +0900 Subject: [PATCH 12/14] feat: fix index.html remove p element from code and add highlight.js --- .prettierignore | 1 + demo/lib/highlight-theme.css | 115 ++++++ demo/lib/highlight.js | 2 + style.css => demo/style.css | 55 +-- index.html | 668 +++++++++++++++++------------------ package.json | 8 +- 6 files changed, 475 insertions(+), 374 deletions(-) create mode 100644 demo/lib/highlight-theme.css create mode 100644 demo/lib/highlight.js rename style.css => demo/style.css (89%) diff --git a/.prettierignore b/.prettierignore index 5098fa1..10cc54b 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,3 @@ **/*.html **/*.md +demo/lib/* diff --git a/demo/lib/highlight-theme.css b/demo/lib/highlight-theme.css new file mode 100644 index 0000000..d1d9be3 --- /dev/null +++ b/demo/lib/highlight-theme.css @@ -0,0 +1,115 @@ +/* + * Visual Studio 2015 dark style + * Author: Nicolas LLOBERA + */ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #1E1E1E; + color: #DCDCDC; +} + +.hljs-keyword, +.hljs-literal, +.hljs-symbol, +.hljs-name { + color: #569CD6; +} +.hljs-link { + color: #569CD6; + text-decoration: underline; +} + +.hljs-built_in, +.hljs-type { + color: #4EC9B0; +} + +.hljs-number, +.hljs-class { + color: #B8D7A3; +} + +.hljs-string, +.hljs-meta-string { + color: #D69D85; +} + +.hljs-regexp, +.hljs-template-tag { + color: #9A5334; +} + +.hljs-subst, +.hljs-function, +.hljs-title, +.hljs-params, +.hljs-formula { + color: #DCDCDC; +} + +.hljs-comment, +.hljs-quote { + color: #57A64A; + font-style: italic; +} + +.hljs-doctag { + color: #608B4E; +} + +.hljs-meta, +.hljs-meta-keyword, +.hljs-tag { + color: #9B9B9B; +} + +.hljs-variable, +.hljs-template-variable { + color: #BD63C5; +} + +.hljs-attr, +.hljs-attribute, +.hljs-builtin-name { + color: #9CDCFE; +} + +.hljs-section { + color: gold; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +/*.hljs-code { + font-family:'Monospace'; +}*/ + +.hljs-bullet, +.hljs-selector-tag, +.hljs-selector-id, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #D7BA7D; +} + +.hljs-addition { + background-color: #144212; + display: inline-block; + width: 100%; +} + +.hljs-deletion { + background-color: #600; + display: inline-block; + width: 100%; +} diff --git a/demo/lib/highlight.js b/demo/lib/highlight.js new file mode 100644 index 0000000..dd62ef0 --- /dev/null +++ b/demo/lib/highlight.js @@ -0,0 +1,2 @@ +/*! highlight.js v9.14.2 | BSD3 License | git.io/hljslicense */ +!function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"!=typeof exports?e(exports):n&&(n.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return n.hljs}))}(function(e){function n(e){return e.replace(/&/g,"&").replace(//g,">")}function t(e){return e.nodeName.toLowerCase()}function r(e,n){var t=e&&e.exec(n);return t&&0===t.index}function a(e){return k.test(e)}function i(e){var n,t,r,i,o=e.className+" ";if(o+=e.parentNode?e.parentNode.className:"",t=M.exec(o))return w(t[1])?t[1]:"no-highlight";for(o=o.split(/\s+/),n=0,r=o.length;r>n;n++)if(i=o[n],a(i)||w(i))return i}function o(e){var n,t={},r=Array.prototype.slice.call(arguments,1);for(n in e)t[n]=e[n];return r.forEach(function(e){for(n in e)t[n]=e[n]}),t}function c(e){var n=[];return function r(e,a){for(var i=e.firstChild;i;i=i.nextSibling)3===i.nodeType?a+=i.nodeValue.length:1===i.nodeType&&(n.push({event:"start",offset:a,node:i}),a=r(i,a),t(i).match(/br|hr|img|input/)||n.push({event:"stop",offset:a,node:i}));return a}(e,0),n}function u(e,r,a){function i(){return e.length&&r.length?e[0].offset!==r[0].offset?e[0].offset"}function c(e){l+=""}function u(e){("start"===e.event?o:c)(e.node)}for(var s=0,l="",f=[];e.length||r.length;){var g=i();if(l+=n(a.substring(s,g[0].offset)),s=g[0].offset,g===e){f.reverse().forEach(c);do u(g.splice(0,1)[0]),g=i();while(g===e&&g.length&&g[0].offset===s);f.reverse().forEach(o)}else"start"===g[0].event?f.push(g[0].node):f.pop(),u(g.splice(0,1)[0])}return l+n(a.substr(s))}function s(e){return e.v&&!e.cached_variants&&(e.cached_variants=e.v.map(function(n){return o(e,{v:null},n)})),e.cached_variants||e.eW&&[o(e)]||[e]}function l(e){function n(e){return e&&e.source||e}function t(t,r){return new RegExp(n(t),"m"+(e.cI?"i":"")+(r?"g":""))}function r(a,i){if(!a.compiled){if(a.compiled=!0,a.k=a.k||a.bK,a.k){var o={},c=function(n,t){e.cI&&(t=t.toLowerCase()),t.split(" ").forEach(function(e){var t=e.split("|");o[t[0]]=[n,t[1]?Number(t[1]):1]})};"string"==typeof a.k?c("keyword",a.k):B(a.k).forEach(function(e){c(e,a.k[e])}),a.k=o}a.lR=t(a.l||/\w+/,!0),i&&(a.bK&&(a.b="\\b("+a.bK.split(" ").join("|")+")\\b"),a.b||(a.b=/\B|\b/),a.bR=t(a.b),a.endSameAsBegin&&(a.e=a.b),a.e||a.eW||(a.e=/\B|\b/),a.e&&(a.eR=t(a.e)),a.tE=n(a.e)||"",a.eW&&i.tE&&(a.tE+=(a.e?"|":"")+i.tE)),a.i&&(a.iR=t(a.i)),null==a.r&&(a.r=1),a.c||(a.c=[]),a.c=Array.prototype.concat.apply([],a.c.map(function(e){return s("self"===e?a:e)})),a.c.forEach(function(e){r(e,a)}),a.starts&&r(a.starts,i);var u=a.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([a.tE,a.i]).map(n).filter(Boolean);a.t=u.length?t(u.join("|"),!0):{exec:function(){return null}}}}r(e)}function f(e,t,a,i){function o(e){return new RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function c(e,n){var t,a;for(t=0,a=n.c.length;a>t;t++)if(r(n.c[t].bR,e))return n.c[t].endSameAsBegin&&(n.c[t].eR=o(n.c[t].bR.exec(e)[0])),n.c[t]}function u(e,n){if(r(e.eR,n)){for(;e.endsParent&&e.parent;)e=e.parent;return e}return e.eW?u(e.parent,n):void 0}function s(e,n){return!a&&r(n.iR,e)}function p(e,n){var t=R.cI?n[0].toLowerCase():n[0];return e.k.hasOwnProperty(t)&&e.k[t]}function d(e,n,t,r){var a=r?"":j.classPrefix,i='',i+n+o}function h(){var e,t,r,a;if(!E.k)return n(k);for(a="",t=0,E.lR.lastIndex=0,r=E.lR.exec(k);r;)a+=n(k.substring(t,r.index)),e=p(E,r),e?(M+=e[1],a+=d(e[0],n(r[0]))):a+=n(r[0]),t=E.lR.lastIndex,r=E.lR.exec(k);return a+n(k.substr(t))}function b(){var e="string"==typeof E.sL;if(e&&!L[E.sL])return n(k);var t=e?f(E.sL,k,!0,B[E.sL]):g(k,E.sL.length?E.sL:void 0);return E.r>0&&(M+=t.r),e&&(B[E.sL]=t.top),d(t.language,t.value,!1,!0)}function v(){y+=null!=E.sL?b():h(),k=""}function m(e){y+=e.cN?d(e.cN,"",!0):"",E=Object.create(e,{parent:{value:E}})}function N(e,n){if(k+=e,null==n)return v(),0;var t=c(n,E);if(t)return t.skip?k+=n:(t.eB&&(k+=n),v(),t.rB||t.eB||(k=n)),m(t,n),t.rB?0:n.length;var r=u(E,n);if(r){var a=E;a.skip?k+=n:(a.rE||a.eE||(k+=n),v(),a.eE&&(k=n));do E.cN&&(y+=I),E.skip||E.sL||(M+=E.r),E=E.parent;while(E!==r.parent);return r.starts&&(r.endSameAsBegin&&(r.starts.eR=r.eR),m(r.starts,"")),a.rE?0:n.length}if(s(n,E))throw new Error('Illegal lexeme "'+n+'" for mode "'+(E.cN||"")+'"');return k+=n,n.length||1}var R=w(e);if(!R)throw new Error('Unknown language: "'+e+'"');l(R);var x,E=i||R,B={},y="";for(x=E;x!==R;x=x.parent)x.cN&&(y=d(x.cN,"",!0)+y);var k="",M=0;try{for(var C,A,S=0;;){if(E.t.lastIndex=S,C=E.t.exec(t),!C)break;A=N(t.substring(S,C.index),C[0]),S=C.index+A}for(N(t.substr(S)),x=E;x.parent;x=x.parent)x.cN&&(y+=I);return{r:M,value:y,language:e,top:E}}catch(O){if(O.message&&-1!==O.message.indexOf("Illegal"))return{r:0,value:n(t)};throw O}}function g(e,t){t=t||j.languages||B(L);var r={r:0,value:n(e)},a=r;return t.filter(w).filter(x).forEach(function(n){var t=f(n,e,!1);t.language=n,t.r>a.r&&(a=t),t.r>r.r&&(a=r,r=t)}),a.language&&(r.second_best=a),r}function p(e){return j.tabReplace||j.useBR?e.replace(C,function(e,n){return j.useBR&&"\n"===e?"
":j.tabReplace?n.replace(/\t/g,j.tabReplace):""}):e}function d(e,n,t){var r=n?y[n]:t,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(r)&&a.push(r),a.join(" ").trim()}function h(e){var n,t,r,o,s,l=i(e);a(l)||(j.useBR?(n=document.createElementNS("http://www.w3.org/1999/xhtml","div"),n.innerHTML=e.innerHTML.replace(/\n/g,"").replace(//g,"\n")):n=e,s=n.textContent,r=l?f(l,s,!0):g(s),t=c(n),t.length&&(o=document.createElementNS("http://www.w3.org/1999/xhtml","div"),o.innerHTML=r.value,r.value=u(t,c(o),s)),r.value=p(r.value),e.innerHTML=r.value,e.className=d(e.className,l,r.language),e.result={language:r.language,re:r.r},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.r}))}function b(e){j=o(j,e)}function v(){if(!v.called){v.called=!0;var e=document.querySelectorAll("pre code");E.forEach.call(e,h)}}function m(){addEventListener("DOMContentLoaded",v,!1),addEventListener("load",v,!1)}function N(n,t){var r=L[n]=t(e);r.aliases&&r.aliases.forEach(function(e){y[e]=n})}function R(){return B(L)}function w(e){return e=(e||"").toLowerCase(),L[e]||L[y[e]]}function x(e){var n=w(e);return n&&!n.disableAutodetect}var E=[],B=Object.keys,L={},y={},k=/^(no-?highlight|plain|text)$/i,M=/\blang(?:uage)?-([\w-]+)\b/i,C=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,I="
",j={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};return e.highlight=f,e.highlightAuto=g,e.fixMarkup=p,e.highlightBlock=h,e.configure=b,e.initHighlighting=v,e.initHighlightingOnLoad=m,e.registerLanguage=N,e.listLanguages=R,e.getLanguage=w,e.autoDetection=x,e.inherit=o,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},e.C=function(n,t,r){var a=e.inherit({cN:"comment",b:n,e:t,c:[]},r||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e});hljs.registerLanguage("xml",function(s){var e="[A-Za-z0-9\\._:-]+",t={eW:!0,i:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"",r:10,c:[{b:"\\[",e:"\\]"}]},s.C("",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"meta",b:/<\?xml/,e:/\?>/,r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0},{b:'b"',e:'"',skip:!0},{b:"b'",e:"'",skip:!0},s.inherit(s.ASM,{i:null,cN:null,c:null,skip:!0}),s.inherit(s.QSM,{i:null,cN:null,c:null,skip:!0})]},{cN:"tag",b:"|$)",e:">",k:{name:"style"},c:[t],starts:{e:"",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"|$)",e:">",k:{name:"script"},c:[t],starts:{e:"",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"tag",b:"",c:[{cN:"name",b:/[^\/><\s]+/,r:0},t]}]}}); \ No newline at end of file diff --git a/style.css b/demo/style.css similarity index 89% rename from style.css rename to demo/style.css index ce47018..50c5f6f 100644 --- a/style.css +++ b/demo/style.css @@ -96,64 +96,65 @@ div.containers > .nes-container { } .show-code { - font-size: .7em; - height: 34px; + position: absolute; + top: -4px; + right: -4px; display: flex; justify-content: center; width: 40px; - position: absolute; - right: -4px; - top: -4px; + height: 34px; + font-size: 0.7em; } -pre { - white-space: normal; +.sample-code { + margin: 0; +} +.sample-code > code { + padding: 1em 2em; + line-height: 2em; } .code { - display: none; - font-size: .85em; - color: #e76e55; - background-color: rgba(45, 45, 45, .9); - padding: 15px 0px 0px 15px; - margin-top: -20px; box-sizing: border-box; + display: none; + padding: 15px 0 0 15px; + margin-top: -20px; overflow: auto; + font-size: 0.85em; + color: #e76e55; + background-color: rgba(45, 45, 45, 0.9); } .copy { - height: 34px; width: 58px; + height: 34px; } -#form .nes-field, #form .field { +#form .nes-field, +#form .field { margin-top: 20px; } .copied { position: absolute; - bottom: 25px; - padding: 10px; - font-size: .7em; - z-index: 2; right: 35px; - color: #000; + bottom: 25px; + z-index: 2; display: none; + padding: 10px; + font-size: 0.7em; + color: #000; } .balloon .copied { - bottom: -4px; right: 10px; -} - -.code p { - width: 96%; + bottom: -4px; } @media screen and (max-width: 1280px) { .code p:first-child { - padding-top: 2.7em; width: 99%; + padding-top: 2.7em; } } @@ -171,8 +172,8 @@ pre { } .code p { - font-size: .8em; width: 100%; + font-size: 0.8em; } #code-avatars p { diff --git a/index.html b/index.html index 5c8853f..4fe9802 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,10 @@ - + + + + @@ -56,15 +59,14 @@ Copied!
-

-        

<button type="button" class="nes-btn">Normal</button>

-

<button type="button" class="nes-btn is-primary">Primary</button>

-

<button type="button" class="nes-btn is-success">Success</button>

-

<button type="button" class="nes-btn is-warning">Warning</button>

-

<button type="button" class="nes-btn is-error">Error</button>

-

<button type="button" class="nes-btn is-disabled">Disabled</button>

- -
+
<button type="button" class="nes-btn">Normal</button>
+<button type="button" class="nes-btn is-primary">Primary</button>
+<button type="button" class="nes-btn is-success">Success</button>
+<button type="button" class="nes-btn is-warning">Warning</button>
+<button type="button" class="nes-btn is-error">Error</button>
+<button type="button" class="nes-btn is-disabled">Disabled</button>
+
+
@@ -89,23 +91,21 @@ Copied!
-

-        

<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> - </div>

-

<div class="nes-container is-dark with-title"> - <p class="title">Container.is-dark</p> - <p>Good morning. Thou hast had a good night's sleep, I hope.</p> - </div>

-

<div class="nes-container is-rounded"> - <p>Good morning. Thou hast had a good night's sleep, I hope.</p> - </div> -

<div class="nes-container is-rounded is-dark"> - <p>Good morning. Thou hast had a good night's sleep, I hope.</p> - </div> - -

+
<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>
+</div>
+<div class="nes-container is-dark with-title">
+  <p class="title">Container.is-dark</p>
+  <p>Good morning. Thou hast had a good night's sleep, I hope.</p>
+</div>
+<div class="nes-container is-rounded">
+  <p>Good morning. Thou hast had a good night's sleep, I hope.</p>
+</div>
+<div class="nes-container is-rounded is-dark">
+  <p>Good morning. Thou hast had a good night's sleep, I hope.</p>
+</div>
+

Radios

@@ -123,17 +123,15 @@ Copied!
-

-        

<label> - <input type="radio" class="nes-radio" name="answer" checked /> - <span>Yes</span> - </label>

-

<label> - <input type="radio" class="nes-radio" name="answer" /> - <span>No</span> - </label>

- -
+
<label>
+  <input type="radio" class="nes-radio" name="answer" checked />
+  <span>Yes</span>
+</label>
+<label>
+  <input type="radio" class="nes-radio" name="answer" />
+  <span>No</span>
+</label>
+
@@ -152,17 +150,15 @@ Copied!
-

-        

<label> - <input type="checkbox" class="nes-checkbox" checked /> - <span>Enable</span> - </label>

-

<label> - <input type="checkbox" class="nes-checkbox is-dark" checked /> - <span>Dark</span> - </label>

- -
+
<label>
+  <input type="checkbox" class="nes-checkbox" checked />
+  <span>Enable</span>
+</label>
+<label>
+  <input type="checkbox" class="nes-checkbox is-dark" checked />
+  <span>Dark</span>
+</label>
+
@@ -181,17 +177,15 @@ Copied!
-

-        

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-rounded">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small is-rounded">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium is-rounded">

-

<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large is-rounded">

- -
+
<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small">
+<img src="https://www.gravatar.com/avatar" class="nes-avatar">
+<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium">
+<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large">
+<img src="https://www.gravatar.com/avatar" class="nes-avatar is-rounded">
+<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small is-rounded">
+<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium is-rounded">
+<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large is-rounded">
+
@@ -255,59 +249,58 @@ Copied!
-

-        

<div class="nes-field"> - <label for="name_field">Your name</label> - <input type="text" id="name_field" class="nes-input"> - </div>

-

<div class="nes-field is-inline"> - <label for="inline_field">.input.is-success</label> - <input type="text" id="inline_field" class="nes-input is-success" placeholder="NES.css"> - </div>

-

<div class="nes-field is-inline"> - <label for="warning_field">.input.is-warning</label> - <input type="text" id="warning_field" class="nes-input is-warning" placeholder="8bit.css"> - </div>

-

<div class="nes-field is-inline"> - <label for="error_field">.input.is-error</label> - <input type="text" id="error_field" class="nes-input is-error" placeholder="awesome.css"> - </div>

-

<div class="field"> - <label for="textarea_field">Textarea</label> - <textarea id="textarea_field" class="nes-textarea"></textarea> - </div>

+
<div class="nes-field">
+  <label for="name_field">Your name</label>
+  <input type="text" id="name_field" class="nes-input">
+</div>
+<div class="nes-field is-inline">
+  <label for="inline_field">.input.is-success</label>
+  <input type="text" id="inline_field" class="nes-input is-success" placeholder="NES.css">
+</div>
+<div class="nes-field is-inline">
+  <label for="warning_field">.input.is-warning</label>
+  <input type="text" id="warning_field" class="nes-input is-warning" placeholder="8bit.css">
+</div>
+<div class="nes-field is-inline">
+  <label for="error_field">.input.is-error</label>
+  <input type="text" id="error_field" class="nes-input is-error" placeholder="awesome.css">
+</div>
+<div class="field">
+  <label for="textarea_field">Textarea</label>
+  <textarea id="textarea_field" class="nes-textarea"></textarea>
+</div>
 
-        

<div id="selects" class="selects"> - <div class="nes-select"> - <select required> - <option value="" disabled selected hidden>Select...</option> - <option value="0">To be</option> - <option value="1">Not to be</option> - </select> - </div>

-

<div class="nes-select is-success"> - <select required> - <option value="" disabled selected hidden>Select...</option> - <option value="0">To be</option> - <option value="1">Not to be</option> - </select> - </div>

-

<div class="nes-select is-warning"> - <select required> - <option value="" disabled selected hidden>Select...</option> - <option value="0">To be</option> - <option value="1">Not to be</option> - </select> - </div>

-

<div class="nes-select is-error"> - <select required> - <option value="" disabled selected hidden>Select...</option> - <option value="0">To be</option> - <option value="1">Not to be</option> - </select> - </div>

- -
+<div id="selects" class="selects"> + <div class="nes-select"> + <select required> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> + </select> + </div> + <div class="nes-select is-success"> + <select required> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> + </select> + </div> + <div class="nes-select is-warning"> + <select required> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> + </select> + </div> + <div class="nes-select is-error"> + <select required> + <option value="" disabled selected hidden>Select...</option> + <option value="0">To be</option> + <option value="1">Not to be</option> + </select> + </div> + </div>
+
@@ -330,21 +323,19 @@ Copied!
-

-        

<div class="message -left"> - <i class="nes-bcrikko"></i> - <div class="nes-balloon from-left"> - <p>Hello NES.css</p> - </div> - </div>

-

<div class="message -right"> - <div class="nes-balloon from-right"> - <p>Good morning. Thou hast had a good night's sleep, I hope.</p> - </div> - <i class="nes-bcrikko"></i> - </div>

- -
+
<div class="message -left">
+  <i class="nes-bcrikko"></i>
+  <div class="nes-balloon from-left">
+    <p>Hello NES.css</p>
+  </div>
+</div>
+<div class="message -right">
+  <div class="nes-balloon from-right">
+    <p>Good morning. Thou hast had a good night's sleep, I hope.</p>
+  </div>
+  <i class="nes-bcrikko"></i>
+</div>
+
@@ -372,26 +363,24 @@ Copied!
-

-        

<div class="lists"> - <ul class="nes-list is-disc"> - <li>Good morning.</li> - <li>Thou hast had a good night's sleep, I hope.</li> - <li>Thou hast had a good afternoon</li> - <li>Good night.</li> - </ul> - </div>

+
<div class="lists">
+  <ul class="nes-list is-disc">
+    <li>Good morning.</li>
+    <li>Thou hast had a good night's sleep, I hope.</li>
+    <li>Thou hast had a good afternoon</li>
+    <li>Good night.</li>
+  </ul>
+</div>
 
-        

<div class="lists"> - <ul class="nes-list is-circle"> - <li>Good morning.</li> - <li>Thou hast had a good night's sleep, I hope.</li> - <li>Thou hast had a good afternoon</li> - <li>Good night.</li> - </ul> - </div>

- -
+<div class="lists"> + <ul class="nes-list is-circle"> + <li>Good morning.</li> + <li>Thou hast had a good night's sleep, I hope.</li> + <li>Thou hast had a good afternoon</li> + <li>Good night.</li> + </ul> +</div>
+
@@ -452,60 +441,59 @@ Copied!
-

-        

<div class="nes-table-responsive"> - <table class="nes-table is-bordered is-centered"> - <thead> - <tr> - <th>Table.is-bordered</th> - <th>Table.is-centered</th> - <th>Table.is-centered</th> - <th>Table.is-centered</th> - </tr> - </thead> - <tbody> - <tr> - <td>Thou hast had a good morning</td> - <td>Thou hast had a good afternoon</td> - <td>Thou hast had a good evening</td> - <td>Thou hast had a good night</td> - </tr> - <tr> - <td>Thou hast had a good morning</td> - <td>Thou hast had a good afternoon</td> - <td>Thou hast had a good evening</td> - <td>Thou hast had a good night</td> - </tr> - </tbody> - </table> - </div>

-

<div class="nes-table-responsive"> - <table class="nes-table is-bordered is-dark"> - <thead> - <tr> - <th>Table.is-dark</th> - <th>Table.is-bordered</th> - <th>Table.is-bordered</th> - <th>Table.is-bordered</th> - </tr> - </thead> - <tbody> - <tr> - <td>Thou hast had a good morning</td> - <td>Thou hast had a good afternon</td> - <td>Thou hast had a good evening</td> - <td>Thou hast had a good night</td> - </tr> - <tr> - <td>Thou hast had a good morning</td> - <td>Thou hast had a good afternoon</td> - <td>Thou hast had a good afternoon</td> - <td>Thou hast had a good afternoon</td> - </tr> - </tbody> - </table>

- -
+
<div class="nes-table-responsive">
+<table class="nes-table is-bordered is-centered">
+  <thead>
+    <tr>
+      <th>Table.is-bordered</th>
+      <th>Table.is-centered</th>
+      <th>Table.is-centered</th>
+      <th>Table.is-centered</th>
+    </tr>
+  </thead>
+  <tbody>
+    <tr>
+      <td>Thou hast had a good morning</td>
+      <td>Thou hast had a good afternoon</td>
+      <td>Thou hast had a good evening</td>
+      <td>Thou hast had a good night</td>
+    </tr>
+    <tr>
+      <td>Thou hast had a good morning</td>
+      <td>Thou hast had a good afternoon</td>
+      <td>Thou hast had a good evening</td>
+      <td>Thou hast had a good night</td>
+    </tr>
+  </tbody>
+</table>
+</div>
+<div class="nes-table-responsive">
+  <table class="nes-table is-bordered is-dark">
+    <thead>
+      <tr>
+        <th>Table.is-dark</th>
+        <th>Table.is-bordered</th>
+        <th>Table.is-bordered</th>
+        <th>Table.is-bordered</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td>Thou hast had a good morning</td>
+        <td>Thou hast had a good afternon</td>
+        <td>Thou hast had a good evening</td>
+        <td>Thou hast had a good night</td>
+      </tr>
+      <tr>
+        <td>Thou hast had a good morning</td>
+        <td>Thou hast had a good afternoon</td>
+        <td>Thou hast had a good afternoon</td>
+        <td>Thou hast had a good afternoon</td>
+      </tr>
+    </tbody>
+  </table>
+</div>
+
@@ -522,15 +510,13 @@ Copied!
-

-        

<progress class="nes-progress" value="90" max="100"></progress>

-

<progress class="nes-progress is-primary" value="80" max="100"></progress>

-

<progress class="nes-progress is-success" value="50" max="100"></progress>

-

<progress class="nes-progress is-warning" value="30" max="100"></progress>

-

<progress class="nes-progress is-error" value="10" max="100"></progress>

-

<progress class="nes-progress is-pattern" value="50" max="100"></progress>

- -
+
<progress class="nes-progress" value="90" max="100"></progress>
+<progress class="nes-progress is-primary" value="80" max="100"></progress>
+<progress class="nes-progress is-success" value="50" max="100"></progress>
+<progress class="nes-progress is-warning" value="30" max="100"></progress>
+<progress class="nes-progress is-error" value="10" max="100"></progress>
+<progress class="nes-progress is-pattern" value="50" max="100"></progress>
+
@@ -574,42 +560,40 @@ Copied!
-

-        

<a href="#" class="nes-badge"> - <span class="is-dark">NES.css</span> - </a>

-

<a href="#" class="nes-badge"> - <span class="is-primary">is</span> - </a>

-

<a href="#" class="nes-badge"> - <span class="is-success">a</span> - </a>

-

<a href="#" class="nes-badge"> - <span class="is-warning">great</span> - </a>

-

<a href="#" class="nes-badge"> - <span class="is-error">framework!</span> - </a>

-

<a href="#" class="nes-badge is-splited"> - <span class="is-dark">npm</span> - <span class="is-primary">1.1.0</span> - </a>

-

<a href="#" class="nes-badge is-splited"> - <span class="is-dark">test</span> - <span class="is-success">100%</span> - </a>

-

<a href="#" class="nes-badge is-icon"> - <span class="is-warning"> - <i class="nes-icon star is-small"></i> - </span> - <span class="is-primary">Icons</span> - </a>

-

<a href="#" class="nes-badge is-icon"> - <span class="is-dark">hi</span> - <span class="is-warning">Text</span> - </a>

- -
+
<a href="#" class="nes-badge">
+  <span class="is-dark">NES.css</span>
+</a>
+<a href="#" class="nes-badge">
+  <span class="is-primary">is</span>
+</a>
+<a href="#" class="nes-badge">
+  <span class="is-success">a</span>
+</a>
+<a href="#" class="nes-badge">
+  <span class="is-warning">great</span>
+</a>
+<a href="#" class="nes-badge">
+  <span class="is-error">framework!</span>
+</a>
+<a href="#" class="nes-badge is-splited">
+  <span class="is-dark">npm</span>
+  <span class="is-primary">1.1.0</span>
+</a>
+<a href="#" class="nes-badge is-splited">
+  <span class="is-dark">test</span>
+  <span class="is-success">100%</span>
+</a>
+<a href="#" class="nes-badge is-icon">
+  <span class="is-warning">
+      <i class="nes-icon star is-small"></i>
+  </span>
+  <span class="is-primary">Icons</span>
+</a>
+<a href="#" class="nes-badge is-icon">
+  <span class="is-dark">hi</span>
+  <span class="is-warning">Text</span>
+</a>
+
@@ -650,37 +634,35 @@ Copied!
-

-          

<i class="nes-icon heart is-small"></i>

-

<i class="nes-icon heart"></i>

-

<i class="nes-icon heart is-medium"></i>

-

<i class="nes-icon heart is-large"></i>

-

<i class="nes-icon heart is-empty"></i>

+
<i class="nes-icon heart is-small"></i>
+<i class="nes-icon heart"></i>
+<i class="nes-icon heart is-medium"></i>
+<i class="nes-icon heart is-large"></i>
+<i class="nes-icon heart is-empty"></i>
 
-          

<i class="nes-icon star is-small"></i>

-

<i class="nes-icon star"></i>

-

<i class="nes-icon star is-medium"></i>

-

<i class="nes-icon star is-large"></i>

+<i class="nes-icon star is-small"></i> +<i class="nes-icon star"></i> +<i class="nes-icon star is-medium"></i> +<i class="nes-icon star is-large"></i> -

<i class="nes-icon star is-half is-small"></i>

-

<i class="nes-icon star is-half"></i>

-

<i class="nes-icon star is-half is-medium"></i>

-

<i class="nes-icon star is-half is-large"></i>

+<i class="nes-icon star is-half is-small"></i> +<i class="nes-icon star is-half"></i> +<i class="nes-icon star is-half is-medium"></i> +<i class="nes-icon star is-half is-large"></i> -

<i class="nes-icon star is-transparent is-small"></i>

-

<i class="nes-icon star is-transparent"></i>

-

<i class="nes-icon star is-transparent is-medium"></i>

-

<i class="nes-icon star is-transparent is-large"></i>

+<i class="nes-icon star is-transparent is-small"></i> +<i class="nes-icon star is-transparent"></i> +<i class="nes-icon star is-transparent is-medium"></i> +<i class="nes-icon star is-transparent is-large"></i> -

<i class="nes-icon star is-empty"></i>

+<i class="nes-icon star is-empty"></i> -

<i class="nes-icon like is-small"></i>

-

<i class="nes-icon like"></i>

-

<i class="nes-icon like is-medium"></i>

-

<i class="nes-icon like is-large"></i>

-

<i class="nes-icon like is-empty"></i>

- -
+<i class="nes-icon like is-small"></i> +<i class="nes-icon like"></i> +<i class="nes-icon like is-medium"></i> +<i class="nes-icon like is-large"></i> +<i class="nes-icon like is-empty"></i>
+
@@ -745,63 +727,61 @@ Copied!
-

-          

<i class="nes-icon twitter is-small"></i>

-

<i class="nes-icon twitter"></i>

-

<i class="nes-icon twitter is-medium"></i>

-

<i class="nes-icon twitter is-large"></i>

+
<i class="nes-icon twitter is-small"></i>
+<i class="nes-icon twitter"></i>
+<i class="nes-icon twitter is-medium"></i>
+<i class="nes-icon twitter is-large"></i>
 
-          

<i class="nes-icon facebook is-small"></i>

-

<i class="nes-icon facebook"></i>

-

<i class="nes-icon facebook is-medium"></i>

-

<i class="nes-icon facebook is-large"></i>

+<i class="nes-icon facebook is-small"></i> +<i class="nes-icon facebook"></i> +<i class="nes-icon facebook is-medium"></i> +<i class="nes-icon facebook is-large"></i> -

<i class="nes-icon github is-small"></i>

-

<i class="nes-icon github"></i>

-

<i class="nes-icon github is-medium"></i>

-

<i class="nes-icon github is-large"></i>

+<i class="nes-icon github is-small"></i> +<i class="nes-icon github"></i> +<i class="nes-icon github is-medium"></i> +<i class="nes-icon github is-large"></i> -

<i class="nes-icon youtube is-small"></i>

-

<i class="nes-icon youtube"></i>

-

<i class="nes-icon youtube is-medium"></i>

-

<i class="nes-icon youtube is-large"></i>

+<i class="nes-icon youtube is-small"></i> +<i class="nes-icon youtube"></i> +<i class="nes-icon youtube is-medium"></i> +<i class="nes-icon youtube is-large"></i> -

<i class="nes-icon google is-small"></i>

-

<i class="nes-icon google"></i>

-

<i class="nes-icon google is-medium"></i>

-

<i class="nes-icon google is-large"></i>

+<i class="nes-icon google is-small"></i> +<i class="nes-icon google"></i> +<i class="nes-icon google is-medium"></i> +<i class="nes-icon google is-large"></i> -

<i class="nes-icon medium is-small"></i>

-

<i class="nes-icon medium"></i>

-

<i class="nes-icon medium is-medium"></i>

-

<i class="nes-icon medium is-large"></i>

+<i class="nes-icon medium is-small"></i> +<i class="nes-icon medium"></i> +<i class="nes-icon medium is-medium"></i> +<i class="nes-icon medium is-large"></i> -

<i class="nes-icon twitch is-small"></i>

-

<i class="nes-icon twitch"></i>

-

<i class="nes-icon twitch is-medium"></i>

-

<i class="nes-icon twitch is-large"></i>

+<i class="nes-icon twitch is-small"></i> +<i class="nes-icon twitch"></i> +<i class="nes-icon twitch is-medium"></i> +<i class="nes-icon twitch is-large"></i> -

<i class="nes-icon reddit is-small"></i>

-

<i class="nes-icon reddit"></i>

-

<i class="nes-icon reddit is-medium"></i>

-

<i class="nes-icon reddit is-large"></i>

+<i class="nes-icon reddit is-small"></i> +<i class="nes-icon reddit"></i> +<i class="nes-icon reddit is-medium"></i> +<i class="nes-icon reddit is-large"></i> -

<i class="nes-icon whatsapp is-small"></i>

-

<i class="nes-icon whatsapp"></i>

-

<i class="nes-icon whatsapp is-medium"></i>

-

<i class="nes-icon whatsapp is-large"></i>

+<i class="nes-icon whatsapp is-small"></i> +<i class="nes-icon whatsapp"></i> +<i class="nes-icon whatsapp is-medium"></i> +<i class="nes-icon whatsapp is-large"></i> -

<i class="nes-icon gmail is-small"></i>

-

<i class="nes-icon gmail"></i>

-

<i class="nes-icon gmail is-medium"></i>

-

<i class="nes-icon gmail is-large"></i>

+<i class="nes-icon gmail is-small"></i> +<i class="nes-icon gmail"></i> +<i class="nes-icon gmail is-medium"></i> +<i class="nes-icon gmail is-large"></i> -

<i class="nes-icon linkedin is-small"></i>

-

<i class="nes-icon linkedin"></i>

-

<i class="nes-icon linkedin is-medium"></i>

-

<i class="nes-icon linkedin is-large"></i>

- -
+<i class="nes-icon linkedin is-small"></i> +<i class="nes-icon linkedin"></i> +<i class="nes-icon linkedin is-medium"></i> +<i class="nes-icon linkedin is-large"></i>
+
@@ -835,32 +815,30 @@ Copied!
-

-          

<i class="nes-icon close is-small"></i>

-

<i class="nes-icon close"></i>

-

<i class="nes-icon close is-medium"></i>

-

<i class="nes-icon close is-large"></i>

+
<i class="nes-icon close is-small"></i>
+<i class="nes-icon close"></i>
+<i class="nes-icon close is-medium"></i>
+<i class="nes-icon close is-large"></i>
 
-          

<i class="nes-octocat animate"></i>

+<i class="nes-octocat animate"></i> -

<i class="nes-icon trophy is-small"></i>

-

<i class="nes-icon trophy"></i>

-

<i class="nes-icon trophy is-medium"></i>

-

<i class="nes-icon trophy is-large"></i>

+<i class="nes-icon trophy is-small"></i> +<i class="nes-icon trophy"></i> +<i class="nes-icon trophy is-medium"></i> +<i class="nes-icon trophy is-large"></i> -

<i class="nes-mario"></i>

-

<i class="nes-ash"></i>

-

<i class="nes-pokeball"></i>

+<i class="nes-mario"></i> +<i class="nes-ash"></i> +<i class="nes-pokeball"></i> -

<i class="nes-bulbasaur"></i>

-

<i class="nes-charmander"></i>

-

<i class="nes-squirtle"></i>

+<i class="nes-bulbasaur"></i> +<i class="nes-charmander"></i> +<i class="nes-squirtle"></i> -

<i class="nes-smartphone"></i>

-

<i class="nes-phone"></i>

-

<i class="nes-kirby"></i>

- -
+<i class="nes-smartphone"></i> +<i class="nes-phone"></i> +<i class="nes-kirby"></i>
+
@@ -875,13 +853,11 @@ Copied!
-

-          

<i class="nes-logo"></i>

-

<i class="nes-jp-logo"></i>

-

<i class="snes-logo"></i>

-

<i class="snes-jp-logo"></i>

- -
+
<i class="nes-logo"></i>
+<i class="nes-jp-logo"></i>
+<i class="snes-logo"></i>
+<i class="snes-jp-logo"></i>
+
diff --git a/package.json b/package.json index f73b180..f90d045 100644 --- a/package.json +++ b/package.json @@ -146,11 +146,17 @@ "string-quotes": "double", "at-rule-no-unknown": null, "scss/at-rule-no-unknown": true - } + }, + "ignoreFiles": [ + "demo/lib/*" + ] }, "eslintConfig": { "extends": "airbnb-base" }, + "eslintIgnore": [ + "demo/lib/*" + ], "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" From 7894b8455bb471434c7c00e4e96d5e4e20d021d8 Mon Sep 17 00:00:00 2001 From: BcRikko Date: Fri, 8 Feb 2019 21:58:26 +0900 Subject: [PATCH 13/14] feat(style.css): fix broken layout --- demo/style.css | 6 +----- index.html | 35 +++++++++++++++++------------------ 2 files changed, 18 insertions(+), 23 deletions(-) diff --git a/demo/style.css b/demo/style.css index 50c5f6f..2e09a03 100644 --- a/demo/style.css +++ b/demo/style.css @@ -115,14 +115,10 @@ div.containers > .nes-container { } .code { - box-sizing: border-box; display: none; - padding: 15px 0 0 15px; + padding: 0; margin-top: -20px; - overflow: auto; font-size: 0.85em; - color: #e76e55; - background-color: rgba(45, 45, 45, 0.9); } .copy { diff --git a/index.html b/index.html index 4fe9802..a2df59c 100644 --- a/index.html +++ b/index.html @@ -64,9 +64,8 @@ <button type="button" class="nes-btn is-success">Success</button> <button type="button" class="nes-btn is-warning">Warning</button> <button type="button" class="nes-btn is-error">Error</button> -<button type="button" class="nes-btn is-disabled">Disabled</button> - -
+<button type="button" class="nes-btn is-disabled">Disabled</button>
+
@@ -523,37 +522,37 @@

Badges

From 341b44b5460e5ad30a1bf8cd235245cac19623e7 Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Fri, 8 Feb 2019 12:19:06 -0200 Subject: [PATCH 14/14] fix(html): fix alignment of the html in form and table component --- index.html | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/index.html b/index.html index a2df59c..c96b062 100644 --- a/index.html +++ b/index.html @@ -298,7 +298,7 @@ <option value="1">Not to be</option> </select> </div> - </div> +</div>
@@ -441,30 +441,30 @@
<div class="nes-table-responsive">
-<table class="nes-table is-bordered is-centered">
-  <thead>
-    <tr>
-      <th>Table.is-bordered</th>
-      <th>Table.is-centered</th>
-      <th>Table.is-centered</th>
-      <th>Table.is-centered</th>
-    </tr>
-  </thead>
-  <tbody>
-    <tr>
-      <td>Thou hast had a good morning</td>
-      <td>Thou hast had a good afternoon</td>
-      <td>Thou hast had a good evening</td>
-      <td>Thou hast had a good night</td>
-    </tr>
-    <tr>
-      <td>Thou hast had a good morning</td>
-      <td>Thou hast had a good afternoon</td>
-      <td>Thou hast had a good evening</td>
-      <td>Thou hast had a good night</td>
-    </tr>
-  </tbody>
-</table>
+  <table class="nes-table is-bordered is-centered">
+    <thead>
+      <tr>
+        <th>Table.is-bordered</th>
+        <th>Table.is-centered</th>
+        <th>Table.is-centered</th>
+        <th>Table.is-centered</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td>Thou hast had a good morning</td>
+        <td>Thou hast had a good afternoon</td>
+        <td>Thou hast had a good evening</td>
+        <td>Thou hast had a good night</td>
+      </tr>
+      <tr>
+        <td>Thou hast had a good morning</td>
+        <td>Thou hast had a good afternoon</td>
+        <td>Thou hast had a good evening</td>
+        <td>Thou hast had a good night</td>
+      </tr>
+    </tbody>
+  </table>
 </div>
 <div class="nes-table-responsive">
   <table class="nes-table is-bordered is-dark">