1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-09-02 18:42:47 +02:00

👍 likeアイコンを追加

This commit is contained in:
BcRikko
2018-09-29 11:40:49 +09:00
parent 74e41f7035
commit 281ffd000d
6 changed files with 43 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
@import "youtube.scss";
@import "heart.scss";
@import "star.scss";
@import "like.scss";
@mixin setup($pixel) {
$size: $pixel * 16;
@@ -42,6 +43,10 @@
&.-star::before {
@include pixelize($star, $pixel, #f7de4e);
}
&.-like::before {
@include pixelize($like, $pixel, #1e77be);
}
}
.icon {

19
scss/icons/like.scss Normal file
View File

@@ -0,0 +1,19 @@
// prettier-ignore
$like: (
( 0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0 ),
( 0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0 ),
( 0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0 ),
( 0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0 ),
( 0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0 ),
( 0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0 ),
( 0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0 ),
( 1,1,1,0,1,0,0,0,0,1,1,1,1,1,1,0 ),
( 1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,1 ),
( 1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,1 ),
( 1,1,1,0,1,0,0,0,0,0,0,0,0,0,1,0 ),
( 1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,1 ),
( 1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,1 ),
( 1,1,1,0,1,0,0,0,0,0,0,0,0,0,1,0 ),
( 1,1,1,0,1,0,0,0,0,0,0,0,0,0,1,0 ),
( 1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0 )
);