Skip to content

Instantly share code, notes, and snippets.

@coolbrg
Last active July 21, 2020 04:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save coolbrg/b697d2fb5e5e1601ee26fbdeade16bb9 to your computer and use it in GitHub Desktop.
Save coolbrg/b697d2fb5e5e1601ee26fbdeade16bb9 to your computer and use it in GitHub Desktop.
Social Icon Color Code
.fa-twitter-square {
color: #38A1F3;
}
.fa-facebook-square {
color: #4267b2;
}
.fa-github-square {
color: #333;
}
.fa-linkedin {
color: #0077B5;
}
.fa-whatsapp-square {
color: #25d366;
}
.fa-telegram {
color: #0088cc;
}
.fa-messenger {
}
$size: 2.5vmin;
$blur: .15*$size;
$inner: .7*$size;
$bw: .05*$size;
$diam: .3125*$size;
$off: .65*$diam;
.fa-instagram {
position: relative;
margin-top: 5px;
width: $size; height: $size;
border-radius: 18.5%;
box-shadow: 0 0 $blur rgba(#000, .5);
background: radial-gradient(circle at 33% 100%, #FED373 4%, #F15245 30%, #D92E7F 62%, #9B36B7 85%, #515ECF);
&:before, &:after {
position: absolute;
top: 50%; left: 50%;
width: $inner; height: $inner;
border: solid $bw #fff;
transform: translate(-50%, -50%);
content: '';
}
&:before { border-radius: 18.5%; }
&:after {
width: $diam; height: $diam;
border-radius: 50%;
box-shadow: $off (-$off) 0 (-.8*$off) #fff;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment