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
<!-- 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 -->
<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 -->
<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
<!-- 圧縮版 -->
<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" />
```

View File

@@ -32,9 +32,9 @@ Importe o CSS através de um elemento `<link />`:
```html
<!-- 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 -->
<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 -->
<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
<!-- 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 -->
<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 -->
<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
<!-- 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 -->
<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 -->
<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>
<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" />
<script async src="./demo/lib/dialog-polyfill.js"></script>
<link async rel="stylesheet" type="text/css" href="dialog-polyfill.css" />

View File

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