1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-02-22 08:12:37 +01:00
2018-12-07 21:24:56 +02:00
2018-11-29 21:10:17 +09:00
2018-12-07 21:24:56 +02:00
2018-09-24 13:35:33 +09:00
2018-09-24 13:35:33 +09:00
2018-11-27 15:04:11 +09:00
2018-09-27 16:42:32 +09:00
2018-11-30 21:14:41 +09:00
2018-11-27 14:03:57 +09:00
2018-11-29 16:50:16 +09:00
2018-11-27 13:12:04 +09:00

NES.css is a NES-style(8bit-like) CSS Framework.
NES.cssは ファミコン風(8bit ライク) なCSSフレームワークです。

Install

CDN

<!-- minify -->
<link href="https://unpkg.com/nes.css@0.0.2/css/nes.min.css" rel="stylesheet" />
<!-- latest -->
<link href="https://unpkg.com/nes.css/css/nes.min.css" rel="stylesheet" />

OR

<!-- non-minified -->
<link href="https://unpkg.com/nes.css@0.0.2/css/nes.css" rel="stylesheet" />
<!-- latest -->
<link href="https://unpkg.com/nes.css/css/nes.css" rel="stylesheet" />

npm

TODO: npm での使用方法を書く

Usage

NES.cssはコンポーネントのスタイルのみを提供しています。レイアウトはみなさんが好きなように定義してください。

デフォルトではPress Start 2Pフォントを使っています。英語以外(日本語など)で利用される場合は、別途フォントを読み込んで使ってください。

TODO: 詳細を書く

CSS Only

NES.cssはCSSのみで構成されています。JavaScriptは不要です。

Browser Support

次のブラウザの最新バージョンをサポートしています。

  • Chrome
  • Firefox
  • Safari

未確認

  • IE/Edge

Development

Commands

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

.
|- 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 overwrite reboot.css
    |   |- variables.scss: Common variables
    |- elements
    |- form
    |- icons: For 16x16 icon
    |- pixel-arts: For icon other than 16x16 icon.
    |- utilities

Code and documentation copyright 2018 B.C.Rikko. Code released under the MIT License. Docs released under Creative Commons.

Description
No description provided
Readme MIT 12 MiB
Languages
SCSS 79.1%
JavaScript 20.6%
HTML 0.3%