1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-01-17 13:48:13 +01: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 = [
{
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',
showCode: false,

View File

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