Skip to content

Commit

Permalink
icons
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleblanc committed Nov 26, 2023
1 parent ae97469 commit 4d21698
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
7 changes: 4 additions & 3 deletions _data/cv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,17 @@
contents:
- title: Wu-Ki Tung Award for Early-Career Research in QCD
year: 2022
department: CTEQ Collaboration
collaboration: CTEQ Collaboration
description: "test"
- title: Postgraduate Scholarship - Doctoral
year: 2014-2017
department: NSERC
canada: NSERC
- title: President’s Research Scholarship
year: 2012-2017
institution: University of Victoria
- title: Alexander Graham Bell Canada Graduate Scholarship
year: 2012-2013
department: NSERC
canada: NSERC
- title: University of Victoria Fellowship
year: 2011-2012
institution: Univeristy of Victoria
Expand Down
10 changes: 8 additions & 2 deletions _includes/cv/time_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
{% if content.title %}
<h6 class="title font-weight-bold ml-1 ml-md-4">{{content.title}}</h6>
{% endif %}
{% if content.location or content.department or content.institution or content.collaboration%}
{% if content.location or content.department or content.institution or content.collaboration or content.canada%}
<table class="table-cv ml-1 ml-md-4 institution">
<tbody>
{% if content.institution %}
Expand All @@ -40,10 +40,16 @@ <h6 class="title font-weight-bold ml-1 ml-md-4">{{content.title}}</h6>
{% endif %}
{% if content.collaboration %}
<tr>
<td style="vertical-align: top; text-align: center;" class="institution"> <i class="fas fa-people-group iconcollaboration"></i> </td>
<td style="vertical-align: top; text-align: center;" class="institution"> <i class="fas fa-people-group iconcollaboration"></i></td>
<td class="institution">{{content.collaboration}}</td>
</tr>
{% endif %}
{% if content.collaboration %}
<tr>
<td style="vertical-align: top; text-align: center;" class="institution"> <i class="fab fa-canadian-maple-leaf iconcanada"></i></td>
<td class="institution">{{content.canada}}</td>
</tr>
{% endif %}
{% if content.location %}
<tr>
<td style="vertical-align: top; text-align: center;" class="institution"><i class="fas fa-map-marker-alt iconlocation"></i></td>
Expand Down
17 changes: 15 additions & 2 deletions _sass/_cv.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ p.location {

i.iconlocation {
color: var(--global-theme-color);
font-size: 0.8rem;
font-size: 0.95rem;
margin-right: 0.3rem;
}

i.iconinstitution {
Expand All @@ -55,7 +56,19 @@ i.iconinstitution {

i.icondepartment {
color: var(--global-theme-color);
font-size: 0.8rem;
font-size: 0.95rem;
margin-right: 0.3rem;
}

i.iconcollaboration {
color: var(--global-theme-color);
font-size: 0.95rem;
margin-right: 0.3rem;
}

i.iconcanada {
color: var(--global-theme-color);
font-size: 0.95rem;
margin-right: 0.3rem;
}

Expand Down

0 comments on commit 4d21698

Please sign in to comment.