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

👍 facebookアイコンを追加

This commit is contained in:
BcRikko
2018-09-29 10:53:33 +09:00
parent ae8542b621
commit a1d65f54c3
7 changed files with 49 additions and 11 deletions

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

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

View File

@@ -1,5 +1,6 @@
@import "pixelize.scss";
@import "twitter.scss";
@import "facebook.scss";
@mixin setup($pixel) {
$size: $pixel * 16;
@@ -17,6 +18,10 @@
&.-twitter::before {
@include pixelize($twitter, $pixel, #1c9ceb);
}
&.-facebook::before {
@include pixelize($facebook, $pixel, #4566ae);
}
}
.icon {

View File

@@ -1,6 +1,6 @@
// prettier-ignore
$twitter: (
( 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ),
( 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0 ),
( 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ),
( 1,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1 ),
( 1,0,0,0,1,1,1,1,0,0,0,0,0,1,1,1 ),
@@ -15,5 +15,5 @@ $twitter: (
( 1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1 ),
( 1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1 ),
( 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ),
( 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 )
( 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0 )
);