Links for academic social media

- Added links for ResearchGate, Mendeley, and Google Scholar in the author bio sidebar
- Added support for academicons, to visualize the icons.
This commit is contained in:
Dario Prandi 2016-12-09 08:41:45 +01:00
parent edab5e8123
commit a1eaf58106
9 changed files with 323 additions and 0 deletions

View File

@ -19,6 +19,7 @@ owner:
verify:
ad-client:
ad-slot:
scholar: #id
bing-verify:
github: #username
stackoverflow: #123456/username from a "http://stackoverflow.com/users/123456/username" link
@ -36,6 +37,8 @@ owner:
weibo: #username
flickr: #username
codepen: #username
researchgate: #username
mendeley: #username
#DO NOT EDIT BEYOND THIS POINT
# Jekyll configuration

View File

@ -16,6 +16,7 @@
{% if author.twitter %}<a href="http://twitter.com/{{ author.twitter }}" class="author-social" target="_blank"><i class="fa fa-fw fa-twitter-square"></i> Twitter</a>{% endif %}
{% if author.facebook %}<a href="http://facebook.com/{{ author.facebook }}" class="author-social" target="_blank"><i class="fa fa-fw fa-facebook-square"></i> Facebook</a>{% endif %}
{% if author.google.plus %}<a href="http://plus.google.com/+{{ author.google.plus }}" class="author-social" target="_blank"><i class="fa fa-fw fa-google-plus-square"></i> Google+</a>{% endif %}
{% if author.google.scholar %}<a href="http://scholar.google.fr/citations?user={{ author.google.scholar}}" class="author-social" target="_blank"><i class="ai ai-fw ai-google-scholar"></i> Google Scholar</a>{% endif %}
{% if author.linkedin %}<a href="http://linkedin.com/in/{{ author.linkedin }}" class="author-social" target="_blank"><i class="fa fa-fw fa-linkedin-square"></i> LinkedIn</a>{% endif %}
{% if author.xing %}<a href="http://www.xing.com/profile/{{ author.xing }}" class="author-social" target="_blank"><i class="fa fa-fw fa-xing-square"></i> XING</a>{% endif %}
{% if author.instagram %}<a href="http://instagram.com/{{ author.instagram }}" class="author-social" target="_blank"><i class="fa fa-fw fa-instagram"></i> Instagram</a>{% endif %}
@ -32,4 +33,6 @@
{% if author.weibo %}<a href="http://www.weibo.com/{{ author.weibo }}" class="author-social" target="_blank"><i class="fa fa-fw fa-weibo"></i> Weibo</a>{% endif %}
{% if author.flickr %}<a href="http://www.flickr.com/{{ author.flickr }}" class="author-social" target="_blank"><i class="fa fa-fw fa-flickr"></i> Flickr</a>{% endif %}
{% if author.codepen %}<a href="http://codepen.io/{{ author.codepen }}" class="author-social" target="_blank"><i class="fa fa-fw fa-codepen"></i> CodePen</a>{% endif %}
{% if author.researchgate %}<a href="http://www.researchgate.net/profile/{{ author.researchgate }}" class="author-social" target="_blank"><i class="ai ai-fw ai-researchgate"></i> ResearchGate</a>{% endif %}
{% if author.mendeley %}<a href="http://www.mendeley.com/profiles/{{ author.mendeley }}" class="author-social" target="_blank"><i class="ai ai-fw ai-mendeley"></i> Mendeley</a>{% endif %}
</div>

View File

@ -35,6 +35,7 @@
<link href='//fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700%7CPT+Serif:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ site.url }}/assets/css/academicons/css/academicons.css"/>
<!-- Icons -->
<!-- 16x16 -->
<link rel="shortcut icon" href="{{ site.url }}/favicon.ico">

View File

@ -0,0 +1,249 @@
/*
* Academicons 1.6.0 by James Walsh - https://github.com/jpswalsh
* Fonts generated using the IcoMoon app - http://icomoon.io/app
* Square icons designed to be used alongside Font Awesome square icons - https://fortawesome.github.io/Font-Awesome/
* Licenses - Font: SIL OFL 1.1, CSS: MIT License
*/
@font-face {
font-family: 'Academicons';
src:url('../fonts/academicons.eot?v=1.7.0');
src:url('../fonts/academicons.eot?v=1.7.0') format('embedded-opentype'),
url('../fonts/academicons.ttf?v=1.7.0') format('truetype'),
url('../fonts/academicons.woff?v=1.7.0') format('woff'),
url('../fonts/academicons.svg?v=1.7.0#academicons') format('svg');
font-weight: normal;
font-style: normal;
}
.ai {
display:inline-block;
font:normal normal normal 14px/1 Academicons;
font-size:inherit;
text-rendering:auto;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
}
.ai-google-scholar:before {
content: "\e900";
}
.ai-google-scholar-square:before {
content: "\e901";
}
.ai-researchgate:before {
content: "\e902";
}
.ai-researchgate-square:before {
content: "\e903";
}
.ai-mendeley:before {
content: "\e904";
}
.ai-mendeley-square:before {
content: "\e905";
}
.ai-orcid:before {
content: "\e906";
}
.ai-orcid-square:before {
content: "\e907";
}
.ai-impactstory:before {
content: "\e908";
}
.ai-impactstory-square:before {
content: "\e909";
}
.ai-academia:before {
content: "\e910";
}
.ai-academia-square:before {
content: "\e911";
}
.ai-zotero:before {
content: "\e912";
}
.ai-zotero-square:before {
content: "\e913";
}
.ai-figshare:before {
content: "\e914";
}
.ai-figshare-square:before {
content: "\e915";
}
.ai-dryad:before {
content: "\e916";
}
.ai-dryad-square:before {
content: "\e917";
}
.ai-arxiv:before {
content: "\e918";
}
.ai-arxiv-square:before {
content: "\e919";
}
.ai-scirate:before {
content: "\e920";
}
.ai-scirate-square:before {
content: "\e921";
}
.ai-open-access:before {
content: "\e922";
}
.ai-open-access-square:before {
content: "\e923";
}
.ai-courser:before {
content: "\e924";
}
.ai-courser-square:before {
content: "\e925";
}
.ai-osf:before {
content: "\e926";
}
.ai-osf-square:before {
content: "\e927";
}
.ai-doi:before {
content: "\e928";
}
.ai-doi-square:before {
content: "\e929";
}
.ai-inspire:before {
content: "\e930";
}
.ai-inspire-square:before {
content: "\e931";
}
.ai-pubmed:before {
content: "\e932";
}
.ai-pubmed-square:before {
content: "\e933";
}
.ai-acclaim:before {
content: "\e934";
}
.ai-acclaim-square:before {
content: "\e935";
}
/* Duplication of the FontAwesome style classes using 'ai' in place of 'fa'. */
.ai-lg {
font-size: 1.33333333em;
line-height: 0.75em;
vertical-align: -15%;
}
.ai-2x {
font-size: 2em;
}
.ai-3x {
font-size: 3em;
}
.ai-4x {
font-size: 4em;
}
.ai-5x {
font-size: 5em;
}
.ai-fw {
width: 1.28571429em;
text-align: center;
}
.ai-ul {
padding-left: 0;
margin-left: 2.14285714em;
list-style-type: none;
}
.ai-ul > li {
position: relative;
}
.ai-li {
position: absolute;
left: -2.14285714em;
width: 2.14285714em;
top: 0.14285714em;
text-align: center;
}
.ai-li.fa-lg {
left: -1.85714286em;
}
.ai-border {
padding: .2em .25em .15em;
border: solid 0.08em #eeeeee;
border-radius: .1em;
}
.ai-pull-left {
float: left;
}
.ai-pull-right {
float: right;
}
.ai.fa-pull-left {
margin-right: .3em;
}
.ai.fa-pull-right {
margin-left: .3em;
}
/*
* Repeat of the FontAwesome style classes to prevent override if academicons.css
* is called after font-awesome.css.
*/
.fa-lg {
font-size: 1.33333333em;
line-height: 0.75em;
vertical-align: -15%;
}
.fa-2x {
font-size: 2em;
}
.fa-3x {
font-size: 3em;
}
.fa-4x {
font-size: 4em;
}
.fa-5x {
font-size: 5em;
}
.fa-fw {
width: 1.28571429em;
text-align: center;
}
.fa-ul {
padding-left: 0;
margin-left: 2.14285714em;
list-style-type: none;
}
.fa-ul > li {
position: relative;
}
.fa-li {
position: absolute;
left: -2.14285714em;
width: 2.14285714em;
top: 0.14285714em;
text-align: center;
}
.fa-li.fa-lg {
left: -1.85714286em;
}
.fa-border {
padding: .2em .25em .15em;
border: solid 0.08em #eeeeee;
border-radius: .1em;
}
.fa-pull-left {
float: left;
}
.fa-pull-right {
float: right;
}
.fa.fa-pull-left {
margin-right: .3em;
}
.fa.fa-pull-right {
margin-left: .3em;
}

View File

@ -0,0 +1 @@
@font-face{font-family:'Academicons';src:url('../fonts/academicons.eot?v=1.7.0');src:url('../fonts/academicons.eot?v=1.7.0') format('embedded-opentype'), url('../fonts/academicons.ttf?v=1.7.0') format('truetype'), url('../fonts/academicons.woff?v=1.7.0') format('woff'), url('../fonts/academicons.svg?v=1.7.0#academicons') format('svg');font-weight:normal;font-style:normal}.ai{display:inline-block;font:normal normal normal 14px/1 Academicons;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai-google-scholar:before{content:"\e900"}.ai-google-scholar-square:before{content:"\e901"}.ai-researchgate:before{content:"\e902"}.ai-researchgate-square:before{content:"\e903"}.ai-mendeley:before{content:"\e904"}.ai-mendeley-square:before{content:"\e905"}.ai-orcid:before{content:"\e906"}.ai-orcid-square:before{content:"\e907"}.ai-impactstory:before{content:"\e908"}.ai-impactstory-square:before{content:"\e909"}.ai-academia:before{content:"\e910"}.ai-academia-square:before{content:"\e911"}.ai-zotero:before{content:"\e912"}.ai-zotero-square:before{content:"\e913"}.ai-figshare:before{content:"\e914"}.ai-figshare-square:before{content:"\e915"}.ai-dryad:before{content:"\e916"}.ai-dryad-square:before{content:"\e917"}.ai-arxiv:before{content:"\e918"}.ai-arxiv-square:before{content:"\e919"}.ai-scirate:before{content:"\e920"}.ai-scirate-square:before{content:"\e921"}.ai-open-access:before{content:"\e922"}.ai-open-access-square:before{content:"\e923"}.ai-courser:before{content:"\e924"}.ai-courser-square:before{content:"\e925"}.ai-osf:before{content:"\e926"}.ai-osf-square:before{content:"\e927"}.ai-doi:before{content:"\e928"}.ai-doi-square:before{content:"\e929"}.ai-inspire:before{content:"\e930"}.ai-inspire-square:before{content:"\e931"}.ai-pubmed:before{content:"\e932"}.ai-pubmed-square:before{content:"\e933"}.ai-acclaim:before{content:"\e934"}.ai-acclaim-square:before{content:"\e935"}.ai-lg{font-size:1.33333333em;line-height:0.75em;vertical-align:-15%}.ai-2x{font-size:2em}.ai-3x{font-size:3em}.ai-4x{font-size:4em}.ai-5x{font-size:5em}.ai-fw{width:1.28571429em;text-align:center}.ai-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.ai-ul > li{position:relative}.ai-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:0.14285714em;text-align:center}.ai-li.fa-lg{left:-1.85714286em}.ai-border{padding:.2em .25em .15em;border:solid 0.08em #eeeeee;border-radius:.1em}.ai-pull-left{float:left}.ai-pull-right{float:right}.ai.fa-pull-left{margin-right:.3em}.ai.fa-pull-right{margin-left:.3em}.fa-lg{font-size:1.33333333em;line-height:0.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul > li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:0.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid 0.08em #eeeeee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Binary file not shown.