mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-11 17:04:03 +02:00
shrinking pixels only @ FF
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
@mixin pixelize($matrix, $colors, $size) {
|
@mixin pixelize($matrix, $colors, $size) {
|
||||||
$ret: "";
|
$ret: "";
|
||||||
|
$moz: $moz + ",";
|
||||||
|
|
||||||
@for $i from 1 through length($matrix) {
|
@for $i from 1 through length($matrix) {
|
||||||
$row: nth($matrix, $i);
|
$row: nth($matrix, $i);
|
||||||
@@ -14,6 +15,8 @@
|
|||||||
|
|
||||||
$color: nth($colors, $dot);
|
$color: nth($colors, $dot);
|
||||||
$ret: $ret + ($j * $size) + " " + ($i * $size) + " " + $color;
|
$ret: $ret + ($j * $size) + " " + ($i * $size) + " " + $color;
|
||||||
|
$moz: $moz + ($j * $size)+" "+ ($i * $size)+" 0 0.020em " + $color;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -21,4 +24,8 @@
|
|||||||
width: $size;
|
width: $size;
|
||||||
height: $size;
|
height: $size;
|
||||||
box-shadow: unquote($ret);
|
box-shadow: unquote($ret);
|
||||||
|
@-moz-document url-prefix() {
|
||||||
|
-webkit-box-shadow: unquote($moz);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user