1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-11 00:43:59 +02:00

docs: add text samples

This commit is contained in:
BcRikko
2019-02-21 19:05:40 +09:00
parent b484bd3a11
commit 640ba5ec98
2 changed files with 10 additions and 1 deletions

View File

@@ -1,4 +1,13 @@
const sampleCollection = [ const sampleCollection = [
{
title: 'texts',
showCode: false,
code: `<span class="nes-text is-primary">Primary</span>
<span class="nes-text is-success">Success</span>
<span class="nes-text is-warning">Warning</span>
<span class="nes-text is-error">Error</span>
<span class="nes-text is-disabled">Disabled</span>`,
},
{ {
title: 'buttons', title: 'buttons',
showCode: false, showCode: false,

View File

@@ -55,7 +55,7 @@ h2 > a {
/* Showcase */ /* Showcase */
section.showcase { section.showcase {
margin-bottom: 2.5rem; margin-top: 2.5rem;
} }
section.showcase > section.nes-container { section.showcase > section.nes-container {
padding-bottom: 2.5rem; padding-bottom: 2.5rem;