mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-04-21 22:52:42 +02:00
shrinking pixels only @ FF
This commit is contained in:
parent
9461eaa909
commit
eba0730728
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user