mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 09:41:47 +02:00
feat(icons): add psone controller icon
This commit is contained in:
@@ -14,4 +14,5 @@
|
||||
@import "smartphone.scss";
|
||||
@import "mario.scss";
|
||||
@import "kirby.scss";
|
||||
@import "psone.scss";
|
||||
@import "octocat.scss";
|
||||
|
33
scss/pixel-arts/psone.scss
Normal file
33
scss/pixel-arts/psone.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
.nes-psone {
|
||||
$psone-colors: (#cbcbcb, #b1b1b2, #2a2a2a);
|
||||
|
||||
// prettier-ignore
|
||||
$psone: (
|
||||
(0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0),
|
||||
(0,0,1,1,1,0,0,3,0,0,0,1,1,1,0,0),
|
||||
(0,1,1,1,1,1,0,0,3,0,1,1,1,1,1,0),
|
||||
(1,1,1,3,1,1,1,1,1,1,1,1,3,1,1,1),
|
||||
(1,1,3,1,3,1,1,1,1,1,1,3,1,3,1,1),
|
||||
(1,1,1,3,1,1,1,1,1,1,1,1,3,1,1,1),
|
||||
(2,1,1,1,1,1,3,1,1,3,1,1,1,1,1,2),
|
||||
(2,2,1,1,1,0,0,0,0,0,0,1,1,1,2,2),
|
||||
(2,2,2,2,0,0,0,0,0,0,0,0,2,2,2,2),
|
||||
(0,2,2,0,0,0,0,0,0,0,0,0,0,2,2,0)
|
||||
);
|
||||
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: calc(1em * 16);
|
||||
height: calc(1em * 11);
|
||||
font-size: 3px;
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
top: -1em;
|
||||
left: -1em;
|
||||
content: "";
|
||||
background: transparent;
|
||||
|
||||
@include pixelize($psone, $psone-colors);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user