From f05620add6430733d2e96fbb69fcce678aa4cfab Mon Sep 17 00:00:00 2001 From: BcRikko Date: Fri, 7 Jun 2019 11:34:08 +0900 Subject: [PATCH] docs: release update --- .github/README-es.md | 14 ++++---- .github/README-jp.md | 14 ++++---- .github/README-pt-BR.md | 12 +++---- .github/README-zh-CN.md | 16 ++++----- README.md | 10 +++--- docs/index.html | 14 ++++---- docs/script.js | 73 +++++++++++++++++++---------------------- 7 files changed, 73 insertions(+), 80 deletions(-) diff --git a/.github/README-es.md b/.github/README-es.md index 9c58a46..f1f547c 100644 --- a/.github/README-es.md +++ b/.github/README-es.md @@ -32,7 +32,7 @@ Importa el CSS utiliando un elemento ``: ```html - + @@ -43,13 +43,13 @@ Importa el CSS utiliando un elemento ``: NES.css no contiene ninguna tipografía, pero recomendamos la siguiente lista de tipografías para utilizar junto a la biblioteca. -| Idioma | Tipografía | -|-----------|--------------------------------------------------------------------| +| Idioma | Tipografía | +| --------- | ------------------------------------------------------------------ | | (Default) | [Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P) | -| Inglés | [Kongtext](https://www.dafont.com/kongtext.font) | -| Japonés | [美咲フォント](http://littlelimit.net/misaki.htm) | -| Japonés | [Nu もち](http://kokagem.sakura.ne.jp/font/mochi/) | -| Coreano | [둥근모꼴](http://cactus.tistory.com/193) | +| Inglés | [Kongtext](https://www.dafont.com/kongtext.font) | +| Japonés | [美咲フォント](http://littlelimit.net/misaki.htm) | +| Japonés | [Nu もち](http://kokagem.sakura.ne.jp/font/mochi/) | +| Coreano | [둥근모꼴](http://cactus.tistory.com/193) | ## Uso diff --git a/.github/README-jp.md b/.github/README-jp.md index 8a9662c..0e1cb8d 100644 --- a/.github/README-jp.md +++ b/.github/README-jp.md @@ -32,7 +32,7 @@ yarn add nes.css ```html - + @@ -43,13 +43,13 @@ yarn add nes.css NES.cssはいかなるフォントも提供していませんが、ライブラリと一緒に使用をお勧めするフォントリストを整備しています。 -| 言語 | フォント | -|-----------|--------------------------------------------------------------------| +| 言語 | フォント | +| ------------ | ------------------------------------------------------------------ | | (デフォルト) | [Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P) | -| 英語 | [Kongtext](https://www.dafont.com/kongtext.font) | -| 日本語 | [美咲フォント](http://littlelimit.net/misaki.htm) | -| 日本語 | [Nu もち](http://kokagem.sakura.ne.jp/font/mochi/) | -| 韓国語 | [둥근모꼴](http://cactus.tistory.com/193) | +| 英語 | [Kongtext](https://www.dafont.com/kongtext.font) | +| 日本語 | [美咲フォント](http://littlelimit.net/misaki.htm) | +| 日本語 | [Nu もち](http://kokagem.sakura.ne.jp/font/mochi/) | +| 韓国語 | [둥근모꼴](http://cactus.tistory.com/193) | ## 使い方 diff --git a/.github/README-pt-BR.md b/.github/README-pt-BR.md index 5ffdae5..66b7031 100644 --- a/.github/README-pt-BR.md +++ b/.github/README-pt-BR.md @@ -32,7 +32,7 @@ Importe o CSS através de um elemento ``: ```html - + @@ -43,13 +43,13 @@ Importe o CSS através de um elemento ``: NES.css não fornece nenhuma fonte, mas nós mantemos uma lista de fontes recomendadas por nós para a utilização em conjunto com a biblioteca. -| Idioma | Fonte | -|-----------|--------------------------------------------------------------------| +| Idioma | Fonte | +| -------- | ------------------------------------------------------------------ | | (Padrão) | [Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P) | | Inglês | [Kongtext](https://www.dafont.com/kongtext.font) | -| Japonês | [美咲フォント](http://littlelimit.net/misaki.htm) | -| Japonês | [Nu もち](http://kokagem.sakura.ne.jp/font/mochi/) | -| Coreano | [둥근모꼴](http://cactus.tistory.com/193) | +| Japonês | [美咲フォント](http://littlelimit.net/misaki.htm) | +| Japonês | [Nu もち](http://kokagem.sakura.ne.jp/font/mochi/) | +| Coreano | [둥근모꼴](http://cactus.tistory.com/193) | ## Utilização diff --git a/.github/README-zh-CN.md b/.github/README-zh-CN.md index 0d32123..fc83d45 100644 --- a/.github/README-zh-CN.md +++ b/.github/README-zh-CN.md @@ -22,7 +22,7 @@ yarn add nes.css ```html - + @@ -31,13 +31,13 @@ yarn add nes.css ### 推荐字体 -|Language|Font| -|----|----| -|(Default)|[Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P)| -|English|[Kongtext](https://www.dafont.com/kongtext.font)| -|Japanese|[美咲フォント](http://littlelimit.net/misaki.htm)| -|Japanese|[Nu もち](http://kokagem.sakura.ne.jp/font/mochi/)| -| Korean|[둥근모꼴](http://cactus.tistory.com/193)| +| Language | Font | +| --------- | ------------------------------------------------------------------ | +| (Default) | [Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P) | +| English | [Kongtext](https://www.dafont.com/kongtext.font) | +| Japanese | [美咲フォント](http://littlelimit.net/misaki.htm) | +| Japanese | [Nu もち](http://kokagem.sakura.ne.jp/font/mochi/) | +| Korean | [둥근모꼴](http://cactus.tistory.com/193) | ## 使用 diff --git a/README.md b/README.md index 63c096a..5dc399c 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Import the CSS via a `` element: ```html - + @@ -44,12 +44,12 @@ Import the CSS via a `` element: NES.css doesn't provide any fonts, but we do maintain the following list of fonts that we recommend for usage alongside the library. | Language | Font | -|-----------|--------------------------------------------------------------------| +| --------- | ------------------------------------------------------------------ | | (Default) | [Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P) | | English | [Kongtext](https://www.dafont.com/kongtext.font) | -| Japanese | [美咲フォント](http://littlelimit.net/misaki.htm) | -| Japanese | [Nu もち](http://kokagem.sakura.ne.jp/font/mochi/) | -| Korean | [둥근모꼴](http://cactus.tistory.com/193) | +| Japanese | [美咲フォント](http://littlelimit.net/misaki.htm) | +| Japanese | [Nu もち](http://kokagem.sakura.ne.jp/font/mochi/) | +| Korean | [둥근모꼴](http://cactus.tistory.com/193) | ## Usage diff --git a/docs/index.html b/docs/index.html index 4a05d3a..3dcf9a9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -14,7 +14,7 @@ NES.css - NES-style CSS Framework - + @@ -55,10 +55,10 @@

Share on SNS

@@ -127,7 +127,7 @@

{{ member.feat }}

- +
@@ -149,7 +149,7 @@

{{ member.feat }}

- +
diff --git a/docs/script.js b/docs/script.js index 3cabebf..5d27019 100644 --- a/docs/script.js +++ b/docs/script.js @@ -356,6 +356,13 @@ const sampleCollection = [ `, + }, + { + title: 'cursor', + showCode: false, + code: `

+ This is not a clickable element, but it's an area of the pointer. +

` }, { title: 'badges', @@ -542,48 +549,50 @@ const emeriti = [ name: 'Abdullah Samman', feat: 'Setup test suite', github: 'evexoio', - twitter: 'evexoio', }, ]; -// https://api.github.com/repos/nostalgic-css/NES.css/contributors?per_page=100 | jq . '.[].login' +// curl -s 'https://api.github.com/repos/nostalgic-css/NES.css/contributors?per_page=100' | jq '.[].login' const contributors = [ '4k1k0', 'sombreroEnPuntas', 'Divoolej', 'soph-iest', - 'KeevanDance', 'montezume', 'sazzadsazib', - 'jjspace', - 'ohlookitsderpy', + 'KeevanDance', 'jdvivar', - 'Ilyeo', - 'youngkaneda', - 'kenshinji', - 'Kartones', + 'ohlookitsderpy', 'IngwiePhoenix', - 'Takumi0901', + 'jjspace', 'Baldomo', - 'ernestomancebo', - 'stewartrule', 'DanSnow', + 'ernestomancebo', + 'Ilyeo', + 'Kartones', 'rrj-dev', 'vicainelli', + 'stewartrule', + 'kenshinji', + 'youngkaneda', + 'Takumi0901', + 'loo41', + 'alexd99', + 'alexgleason', + 'agarzola', + 'fleeting', + 'JamesIves', + 'jsoref', + 'KOREAN139', + 'LukBukkit', + 'otaviopace', + 'Pedro-Souza', + 'scottaohara', + 'd0p1s4m4', + 'lucasjs', + 'musavvirahmed', 'sinofp', 'tnantoka', - 'LukBukkit', - 'd0p1s4m4', - 'musavvirahmed', - 'KOREAN139', - 'loo41', - 'otaviopace', - 'alexgleason', - 'fleeting', - 'scottaohara', - 'JamesIves', - 'agarzola', - 'jsoref', ]; new Vue({ @@ -621,22 +630,6 @@ new Vue({ this.replaceImages(); }, methods: { - share(media) { - const url = (() => { - switch (media) { - case 'twitter': - return 'https://twitter.com/share?text=NES.css%EF%BD%9CNES-style%20CSS%20Framework%20%40bc_rikko&url=https://nostalgic-css.github.io/NES.css/'; - case 'facebook': - return 'https://www.facebook.com/sharer.php?u=https://nostalgic-css.github.io/NES.css/&t=NES.css%EF%BD%9CNES-style%20CSS%20Framework'; - case 'linkedin': - return 'https://www.linkedin.com/shareArticle?url=https%3A//nostalgic-css.github.io/NES.css/&title=NES.css%EF%BD%9CNES-style%20CSS%20Framework'; - case 'github': - return 'https://github.com/nostalgic-css/NES.css'; - } - })(); - - window.open(url, ''); - }, copy(event, id) { this.showCopiedBalloon(event.pageY, event.pageX);