mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-09-01 10:02:57 +02:00
Merge branch 'develop' into new-demo-site
This commit is contained in:
2
.github/README-zh-CN.md
vendored
2
.github/README-zh-CN.md
vendored
@@ -44,7 +44,7 @@ yarn add nes.css
|
||||
|
||||
NES.css 只提供组件. 你需要定义你自己的布局.
|
||||
|
||||
默认字体[Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P?selection.family=Press+Start+2P) 只支持英文字符. 当你把这个框架与其他非英语的语言一起使用的时候, 请使用另外的字体. 请根据这个关于Google Fonts的 [说明](https://developers.google.com/fonts/docs/getting_started) 了解如何把它引入项目, 或者按照如下方式简单引人:
|
||||
默认字体[Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P?selection.family=Press+Start+2P) 只支持英文字符. 当你把这个框架与其他非英语的语言一起使用的时候, 请使用另外的字体. 请根据这个关于Google Fonts的 [说明](https://developers.google.com/fonts/docs/getting_started) 了解如何把它引入项目, 或者按照如下方式简单引入:
|
||||
|
||||
```html
|
||||
<head>
|
||||
|
@@ -38,10 +38,10 @@
|
||||
$color: nth($colors, $dot);
|
||||
@if $color == $default-color {
|
||||
$ret: $ret + ($j * $size) + " " + ($i * $size);
|
||||
$moz: $moz + ($j * $size) + " " + ($i * $size) + "0 0.020px";
|
||||
$moz: $moz + ($j * $size) + " " + ($i * $size) + " 0 0.020em";
|
||||
} @else {
|
||||
$ret: $ret + ($j * $size) + " " + ($i * $size) + "" + $color;
|
||||
$moz: $moz + ($j * $size) + " " + ($i * $size) + "0 0.020px " + $color;
|
||||
$ret: $ret + ($j * $size) + " " + ($i * $size) + " " + $color;
|
||||
$moz: $moz + ($j * $size) + " " + ($i * $size) + " 0 0.020em " + $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -51,7 +51,9 @@
|
||||
height: $size;
|
||||
color: $default-color;
|
||||
box-shadow: unquote($ret);
|
||||
@-moz-document url-prefix() {
|
||||
-webkit-box-shadow: unquote($moz);
|
||||
|
||||
// firefox only style
|
||||
@supports (-moz-appearance: meterbar) {
|
||||
box-shadow: unquote($moz);
|
||||
}
|
||||
}
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
border-image-slice: 3;
|
||||
border-image-width: 3;
|
||||
border-image-repeat: space;
|
||||
border-image-repeat: stretch;
|
||||
|
||||
@if $isDark {
|
||||
@include border-image($color-white);
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
border-image-slice: 2;
|
||||
border-image-width: 2;
|
||||
border-image-repeat: space;
|
||||
border-image-repeat: stretch;
|
||||
|
||||
@if $isDark {
|
||||
@include compact-border-image($color-white);
|
||||
|
Reference in New Issue
Block a user