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/ _site/
.sass-cache/ .sass-cache/
.jekyll-metadata .jekyll-metadata
.jekyll-cache

View File

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

View File

@ -79,5 +79,11 @@
</li> </li>
{% endif %} {% 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> </ul>
</div><!--//contact-container--> </div><!--//contact-container-->

View File

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