1
0
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:
Ernesto Mancebo
2018-11-30 15:14:35 -04:00
committed by GitHub
parent 9461eaa909
commit eba0730728

View File

@@ -1,5 +1,6 @@
@mixin pixelize($matrix, $colors, $size) {
$ret: "";
$moz: $moz + ",";
@for $i from 1 through length($matrix) {
$row: nth($matrix, $i);
@@ -14,6 +15,8 @@
$color: nth($colors, $dot);
$ret: $ret + ($j * $size) + " " + ($i * $size) + " " + $color;
$moz: $moz + ($j * $size)+" "+ ($i * $size)+" 0 0.020em " + $color;
}
}
}
@@ -21,4 +24,8 @@
width: $size;
height: $size;
box-shadow: unquote($ret);
@-moz-document url-prefix() {
-webkit-box-shadow: unquote($moz);
}
}