NES.css: NES-style  CSS framework English / 日本語
NES.cssは **ファミコン風(8bit ライク)** なCSSフレームワークです。 [![Gitter][gitter-badge]][gitter] [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) ## Install ### CDN ```html ``` OR ```html ``` ### npm TODO: npm での使用方法を書く ## Usage NES.cssはコンポーネントのスタイルのみを提供しています。レイアウトはみなさんが好きなように定義してください。 デフォルトのフォントは[Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P?selection.family=Press+Start+2P)を使っています。英語以外(日本語など)で利用される場合は、別途フォントを読み込んで使ってください。 フォントを読み込む方法は、Google Fontsの[Get Started](https://developers.google.com/fonts/docs/getting_started)を参照するか、または以下のように読み込んでください。 ```html ``` ### Recommended Fonts |言語|フォント| |----|----| |(デフォルト)|[Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P)| |英語|[Kongtext](https://www.dafont.com/kongtext.font)| |日本語|[美咲フォント](http://www.geocities.jp/littlimi/misaki.htm)| |日本語|[Nu もち](http://kokagem.sakura.ne.jp/font/mochi/)| ## CSS Only NES.cssはCSSのみで構成されています。JavaScriptは不要です。 ## Browser Support 次のブラウザの最新バージョンをサポートしています。 * Chrome * Firefox * Safari 未確認 * IE/Edge ## Development ### Commands ```sh git clone git@github.com:BcRikko/NES.css.git cd NES.css npm i npm run watch npm run build ``` pre-commit hookにより、コミット時に自動でLint→format→buildが走り、`css`ディレクトリにファイルが出力されます。 TODO: ビルドはCIでするように変更したい ### Directories ```sh . ├── index.html: Demo page ├── style.css: Demo page style ├── css: Distribution files └── scss: Source ├── base │ ├── reboot.scss: Don't change! (Bootstrap Reboot) │ ├── generic.scss: Generic style and reboot.css │ └── variables.scss: Common variables ├── elements ├── form ├── icons: 16x16 icons ├── pixel-arts: For icons other than 16x16. └── utilities ``` ## Copyright and license Code and documentation copyright 2018 [B.C.Rikko](https://github.com/BcRikko). Code released under the MIT License. Docs released under Creative Commons. [gitter]: https://gitter.im/nostalgic-css/Lobby [gitter-badge]: https://img.shields.io/gitter/room/nostalgic-css/Lobby.svg