NES.css

NES-style CSS Framework | ファミコン風CSSフレームワーク

Github星跟踪图

日本語 / 简体中文 / Español / Português / Русский

NES.css is a NES-style(8bit-like) CSS Framework.

Gitter Commitizen friendly

Installation

Styles

NES.css is available via either npm (preferred), Yarn, or a CDN.

via package manager

npm install nes.css
# or
yarn add nes.css

Our package.json contains some additional metadata under the following keys:

  • sass - path to our main Sass source file
  • style - path to our non-minified CSS

via CDN

Import the CSS via a <link /> element:

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

Fonts

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, English, Kongtext, Japanese, 美咲フォント, Japanese, Nu もち, Korean, 둥근모꼴, ## Usage

NES.css only provides components. You will need to define your own layout.

The recommended font for NES.css is Press Start 2P. However, Press Start 2P only supports English characters. When you're using this framework with any language other than English, please use another font. Follow the Google Fonts instructions about how to include them, or simply include it as below:

<head>
    <link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
    <link href="https://unpkg.com/nes.css/css/nes.css" rel="stylesheet" />

    <style>
      html, body, pre, code, kbd, samp {
          font-family: "font-family you want to use";
      }
    </style>
</head>

CSS Only

NES.css only requires CSS and doesn't depend on any JavaScript.

Browser Support

NES.css is compatible with the newest version of the following browsers:

  • Chrome
  • Firefox
  • Safari

Untested

  • IE/Edge

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

Development

If you'd like to help us out with the project, we welcome contributions of all types! Check out our CONTRIBUTING.md for more details on how you can help make NES.css amazing!

主要指标

概览
名称与所有者nostalgic-css/NES.css
主编程语言SCSS
编程语言HTML (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2018-09-24 01:49:11
推送于2024-01-17 20:53:09
最后一次提交2019-12-17 21:17:49
发布数7
最新版本名称v2.3.0 (发布于 )
第一版名称v1.0.0 (发布于 )
用户参与
星数21.2k
关注者数192
派生数1.7k
提交数827
已启用问题?
问题数183
打开的问题数41
拉请求数222
打开的拉请求数38
关闭的拉请求数65
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?