mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 17:51:46 +02:00
👍 ファミコンコントローラを追加
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
@charset "utf-8";
|
||||
|
||||
@import "snes-icon.scss";
|
||||
@import "snes-jp-icon.scss";
|
||||
@import "nes-icon.scss";
|
||||
@import "bcrikko.scss";
|
||||
@import "octocat.scss";
|
||||
|
33
scss/pixel-arts/snes-jp-icon.scss
Normal file
33
scss/pixel-arts/snes-jp-icon.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
.snes-jp-logo {
|
||||
$px: 3px;
|
||||
$logo-colors: (#333, #871f37, #dfd3b9);
|
||||
|
||||
// prettier-ignore
|
||||
$logo: (
|
||||
(0,0,0,0,0,0,1,0,0,0,0,0,0,0,0),
|
||||
(0,0,0,0,0,0,1,0,0,0,0,0,0,0,0),
|
||||
(0,0,0,0,0,0,0,1,0,0,0,0,0,0,0),
|
||||
(2,2,2,2,2,2,2,2,2,2,2,2,2,2,2),
|
||||
(2,3,3,3,3,3,2,2,2,2,2,2,2,2,2),
|
||||
(2,3,3,1,3,3,2,2,2,2,2,2,2,2,2),
|
||||
(2,3,1,1,1,3,3,3,3,3,3,3,3,3,2),
|
||||
(2,3,3,1,3,3,1,2,1,3,1,3,1,3,2),
|
||||
(2,3,3,3,3,3,3,3,3,3,3,3,3,3,2),
|
||||
(2,2,2,2,2,2,2,2,2,2,2,2,2,2,2)
|
||||
);
|
||||
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: $px * 16;
|
||||
height: $px * 11;
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
top: $px * -1;
|
||||
left: $px * -1;
|
||||
content: "";
|
||||
background: transparent;
|
||||
|
||||
@include pixelize($logo, $logo-colors, $px);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user