1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-19 12:31:21 +02:00

Merge branch 'develop' into fix-cursor-hand

This commit is contained in:
Daniel Vivar
2019-02-18 13:46:11 +00:00
7 changed files with 22 additions and 22 deletions

View File

@@ -32,9 +32,9 @@ Importa el CSS utiliando un elemento `<link />`:
```html ```html
<!-- minificado --> <!-- minificado -->
<link href="https://unpkg.com/nes.css@1.0.0/css/nes.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css@2.0.0/css/nes.min.css" rel="stylesheet" />
<!-- último --> <!-- último -->
<link href="https://unpkg.com/nes.css/css/nes.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css@latest/css/nes.min.css" rel="stylesheet" />
<!-- solo estilo del núcleo --> <!-- solo estilo del núcleo -->
<link href="https://unpkg.com/nes.css/css/nes-core.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css/css/nes-core.min.css" rel="stylesheet" />
``` ```

View File

@@ -32,9 +32,9 @@ yarn add nes.css
```html ```html
<!-- 圧縮版 --> <!-- 圧縮版 -->
<link href="https://unpkg.com/nes.css@1.0.0/css/nes.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css@2.0.0/css/nes.min.css" rel="stylesheet" />
<!-- 最新版 --> <!-- 最新版 -->
<link href="https://unpkg.com/nes.css/css/nes.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css@latest/css/nes.min.css" rel="stylesheet" />
<!-- コアスタイルのみ --> <!-- コアスタイルのみ -->
<link href="https://unpkg.com/nes.css/css/nes-core.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css/css/nes-core.min.css" rel="stylesheet" />
``` ```

View File

@@ -32,9 +32,9 @@ Importe o CSS através de um elemento `<link />`:
```html ```html
<!-- minify --> <!-- minify -->
<link href="https://unpkg.com/nes.css@1.0.0/css/nes.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css@2.0.0/css/nes.min.css" rel="stylesheet" />
<!-- latest --> <!-- latest -->
<link href="https://unpkg.com/nes.css/css/nes.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css@latest/css/nes.min.css" rel="stylesheet" />
<!-- core style only --> <!-- core style only -->
<link href="https://unpkg.com/nes.css/css/nes-core.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css/css/nes-core.min.css" rel="stylesheet" />
``` ```

View File

@@ -22,9 +22,9 @@ yarn add nes.css
```html ```html
<!-- non-minified --> <!-- non-minified -->
<link href="https://unpkg.com/nes.css@1.0.0/css/nes.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css@2.0.0/css/nes.min.css" rel="stylesheet" />
<!-- latest --> <!-- latest -->
<link href="https://unpkg.com/nes.css/css/nes.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css@latest/css/nes.min.css" rel="stylesheet" />
<!-- core style only --> <!-- core style only -->
<link href="https://unpkg.com/nes.css/css/nes-core.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css/css/nes-core.min.css" rel="stylesheet" />
``` ```

View File

@@ -32,9 +32,9 @@ Import the CSS via a `<link />` element:
```html ```html
<!-- minify --> <!-- minify -->
<link href="https://unpkg.com/nes.css@1.0.0/css/nes.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css@2.0.0/css/nes.min.css" rel="stylesheet" />
<!-- latest --> <!-- latest -->
<link href="https://unpkg.com/nes.css/css/nes.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css@latest/css/nes.min.css" rel="stylesheet" />
<!-- core style only --> <!-- core style only -->
<link href="https://unpkg.com/nes.css/css/nes-core.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css/css/nes-core.min.css" rel="stylesheet" />
``` ```

View File

@@ -14,7 +14,7 @@
<title>NES.css - NES-style CSS Framework</title> <title>NES.css - NES-style CSS Framework</title>
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<link href="https://unpkg.com/nes.css/css/nes.min.css" rel="stylesheet" /> <link href="https://unpkg.com/nes.css@latest/css/nes.min.css" rel="stylesheet" />
<link href="./demo/style.css" rel="stylesheet" /> <link href="./demo/style.css" rel="stylesheet" />
<script async src="./demo/lib/dialog-polyfill.js"></script> <script async src="./demo/lib/dialog-polyfill.js"></script>
<link async rel="stylesheet" type="text/css" href="dialog-polyfill.css" /> <link async rel="stylesheet" type="text/css" href="dialog-polyfill.css" />

View File

@@ -2,40 +2,40 @@
$font-family: "Press Start 2P" !default; $font-family: "Press Start 2P" !default;
$font-size: 16px !default; $font-size: 16px !default;
$base-color: $color-black; $base-color: $color-black !default;
$background-color: $color-white; $background-color: $color-white !default;
$cursor-url: url(../assets/cursor.png); $cursor-url: url(../assets/cursor.png) !default;
$cursor-click-url: url(../assets/cursor-click.png) 14 0; $cursor-click-url: url(../assets/cursor-click.png) 14 0 !default;
$border-size: 4px; $border-size: 4px !default;
$default-colors: ( $default-colors: (
normal: $background-color, normal: $background-color,
hover: #e7e7e7, hover: #e7e7e7,
shadow: #adafbc shadow: #adafbc
); ) !default;
$disabled-colors: ( $disabled-colors: (
normal: #d3d3d3, normal: #d3d3d3,
shadow: #adafbc shadow: #adafbc
); ) !default;
$primary-colors: ( $primary-colors: (
normal: #209cee, normal: #209cee,
hover: #108de0, hover: #108de0,
shadow: #006bb3 shadow: #006bb3
); ) !default;
$success-colors: ( $success-colors: (
normal: #92cc41, normal: #92cc41,
hover: #76c442, hover: #76c442,
shadow: #4aa52e shadow: #4aa52e
); ) !default;
$warning-colors: ( $warning-colors: (
normal: #f7d51d, normal: #f7d51d,
hover: #f2c409, hover: #f2c409,
shadow: #e59400 shadow: #e59400
); ) !default;
$error-colors: ( $error-colors: (
normal: #e76e55, normal: #e76e55,
hover: #ce372b, hover: #ce372b,
shadow: #8c2022 shadow: #8c2022
); ) !default;