mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 09:41:47 +02:00
feat(icons): add kirby icon
This commit is contained in:
@@ -284,6 +284,7 @@
|
||||
|
||||
<i class="smartphone"></i>
|
||||
<i class="phone"></i>
|
||||
<i class="kirby"></i>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
@@ -14,3 +14,4 @@
|
||||
@import "squirtle.scss";
|
||||
@import "phone.scss";
|
||||
@import "smartphone.scss";
|
||||
@import "kirby.scss";
|
||||
|
38
scss/pixel-arts/kirby.scss
Normal file
38
scss/pixel-arts/kirby.scss
Normal file
@@ -0,0 +1,38 @@
|
||||
.kirby {
|
||||
$px: 6px;
|
||||
$kirby-colors: (#000, #ffaccc, #ff5478);
|
||||
// prettier-ignore
|
||||
$kirby: (
|
||||
(0,0,1,1,0,1,1,1,1,1,0,0,0,0),
|
||||
(0,1,2,2,1,2,2,2,2,2,1,1,0,0),
|
||||
(1,2,2,1,2,2,2,2,2,2,2,2,1,0),
|
||||
(1,2,2,2,2,2,1,2,1,2,2,2,2,1),
|
||||
(1,2,2,2,2,2,1,2,1,2,2,2,2,1,),
|
||||
(1,2,2,2,2,2,1,2,1,2,2,2,2,2,1),
|
||||
(1,2,2,2,3,3,2,2,2,3,3,2,2,2,2,1),
|
||||
(1,2,2,2,2,2,2,1,2,2,2,2,2,2,2,1),
|
||||
(0,1,2,2,2,2,2,1,2,2,2,2,2,2,2,1),
|
||||
(0,1,2,2,2,2,2,2,2,2,2,2,1,1,1,0),
|
||||
(0,1,2,2,2,2,2,2,2,2,2,1,3,3,3,1),
|
||||
(0,0,1,2,2,2,2,2,2,2,1,3,3,3,3,1),
|
||||
(0,0,1,1,2,2,2,2,2,2,1,3,3,3,3,1),
|
||||
(0,1,3,3,1,1,2,2,2,1,3,3,3,3,1),
|
||||
(1,3,3,3,3,3,1,1,1,1,1,3,3,1),
|
||||
(0,1,1,1,1,1,1,0,0,0,1,1,1,0)
|
||||
);
|
||||
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: $px * 16;
|
||||
height: $px * 16;
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
top: $px * -1;
|
||||
left: $px * -1;
|
||||
content: "";
|
||||
background: transparent;
|
||||
|
||||
@include pixelize($kirby, $kirby-colors, $px);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user