-
-
Save ahmedshahriar/8834e420fc93f6f461932a40d383e0b0 to your computer and use it in GitHub Desktop.
Fontawesome icon for Google Scholar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// google-scholar.svg | |
<svg height="2500" width="2500" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> | |
<g fill="none" fill-rule="evenodd"><path d="M256 411.12L0 202.667 256 0z" fill="#4285f4"/> | |
<path d="M256 411.12l256-208.453L256 0z" fill="#356ac3"/> | |
<circle cx="256" cy="362.667" fill="#a0c3ff" r="149.333"/> | |
<path d="M121.037 298.667c23.968-50.453 75.392-85.334 134.963-85.334s110.995 34.881 134.963 85.334H121.037z" fill="#76a7fa"/> | |
</g> | |
</svg> | |
// style.css | |
.icon-scholar { | |
content: url('assets/images/google-scholar.svg'); | |
height: 1em; | |
width: auto; | |
} | |
.icon-scholar:hover { | |
font-size: 1.62em; | |
-webkit-transition: -webkit-transform .3s ease-out; | |
transition: transform .3s ease-out; | |
} | |
// usage | |
<span class="fab icon-scholar fa-xs"></span> | |
<span class="fab icon-scholar fa-sm"></span> | |
<span class="fab icon-scholar fa-lg"></span> | |
<span class="fab icon-scholar fa-2x"></span> | |
<span class="fab icon-scholar fa-3x"></span> | |
<span class="fab icon-scholar fa-5x"></span> | |
<span class="fab icon-scholar fa-7x"></span> | |
<span class="fab icon-scholar fa-10x"></span> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment