From b484bd3a11ecac9b8938214f61f3974d5517a79f Mon Sep 17 00:00:00 2001 From: BcRikko Date: Thu, 21 Feb 2019 19:01:15 +0900 Subject: [PATCH] docs: add avatar samples --- docs/index.html | 1 + docs/script.js | 17 +++++++++++++++++ docs/style.css | 4 ---- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/docs/index.html b/docs/index.html index 474c24d..f877207 100644 --- a/docs/index.html +++ b/docs/index.html @@ -76,6 +76,7 @@ class="item" v-html="sample.code"> +

{{ sample.description }}

{{ sample.note }}

diff --git a/docs/script.js b/docs/script.js index 98544f7..2424785 100644 --- a/docs/script.js +++ b/docs/script.js @@ -196,6 +196,23 @@ const sampleCollection = [ `, }, + { + title: 'avatar', + description: 'It is recommended to "image-rendering: pixelated".', + showCode: false, + code: `Gravatar image example + +Gravatar image example +Gravatar image example +Gravatar image example + + +Gravatar image example + +Gravatar image example +Gravatar image example +Gravatar image example`, + }, ]; const coreteam = [ diff --git a/docs/style.css b/docs/style.css index 135127b..2d2265b 100644 --- a/docs/style.css +++ b/docs/style.css @@ -77,10 +77,6 @@ section.showcase > section.samplecode { right: 0px; } -section.showcase > section.nes-container > p.note { - margin-top: 2.5rem; -} - section.showcase > section.samplecode > pre code { font-size: 13px; line-height: 1.5;