add pdf file icon to sidebar contact section

This commit is contained in:
Sharath Kumar 2021-07-14 08:45:23 +05:30
parent fec942c6e6
commit 506ed9f936
4 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
_site/
.sass-cache/
.jekyll-metadata
.jekyll-cache

View File

@ -25,6 +25,7 @@ sidebar:
stack-overflow: # Number/Username, e.g. 123456/alandoe
codewars:
goodreads: # Number-Username, e.g. 123456-alandoe
pdf: http://www.africau.edu/images/default/sample.pdf
languages:
- idiom: English

View File

@ -79,5 +79,11 @@
</li>
{% endif %}
{% if sidebar.pdf %}
<li class="pdf"><i class="fas fa-file-pdf"></i>
<a href="{{ sidebar.pdf }}" target="_blank">Resume PDF</a>
</li>
{% endif %}
</ul>
</div><!--//contact-container-->

View File

@ -80,7 +80,7 @@ p {
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.contact-list {
.fas, .fab {
.fas, .fab, .far {
margin-right: 5px;
font-size: 18px;
vertical-align: middle;