Skip to content

Commit 7e902aa

Browse files
Copilotgeorge-gca
andcommitted
Fix CV spacing and icons visibility in Bootstrap 5
Co-authored-by: george-gca <[email protected]>
1 parent 87fa635 commit 7e902aa

File tree

6 files changed

+34
-32
lines changed

6 files changed

+34
-32
lines changed

_includes/cv/awards.liquid

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{% endcapture %}
1212

1313
{% if start_date != '' %}
14-
<div class="col-xs-2 col-sm-2 col-md-2 text-center">
14+
<div class="col-2 col-sm-2 col-md-2 text-center">
1515
<table class="table-cv">
1616
<tbody>
1717
<tr>
@@ -24,39 +24,39 @@
2424
</tbody>
2525
</table>
2626
</div>
27-
<div class="col-xs-10 col-sm-10 col-md-10 mt-2 mt-md-0">
27+
<div class="col-10 col-sm-10 col-md-10 mt-2 mt-md-0">
2828
{% if entry.url %}
29-
<h6 class="title fw-bold ms-3 ms-md-4">
29+
<h6 class="title fw-bold ms-4">
3030
<a href="{{ entry.url }}">{{ entry.title }}</a>
3131
</h6>
3232
{% elsif entry.title %}
33-
<h6 class="title fw-bold ms-3 ms-md-4">{{ entry.title }}</h6>
33+
<h6 class="title fw-bold ms-4">{{ entry.title }}</h6>
3434
{% endif %}
3535

3636
{% if entry.awarder %}
37-
<h6 class="ms-3 ms-md-4" style="font-size: 0.95rem">{{ entry.awarder }}</h6>
37+
<h6 class="ms-4" style="font-size: 0.95rem">{{ entry.awarder }}</h6>
3838
{% endif %}
3939

4040
{% if entry.summary %}
41-
<p class="ms-3 ms-md-4">{{ entry.summary | markdownify | remove: '<p>' | remove: '</p>' }}</p>
41+
<p class="ms-4">{{ entry.summary | markdownify | remove: '<p>' | remove: '</p>' }}</p>
4242
{% endif %}
4343
</div>
4444
{% else %}
4545
<div class="col-xs-12 col-sm-12 col-md-12">
4646
{% if entry.url %}
47-
<h6 class="title fw-bold ms-3 ms-md-4">
47+
<h6 class="title fw-bold ms-4">
4848
<a href="{{ entry.url }}">{{ entry.title }}</a>
4949
</h6>
5050
{% elsif entry.title %}
51-
<h6 class="title fw-bold ms-3 ms-md-4">{{ entry.title }}</h6>
51+
<h6 class="title fw-bold ms-4">{{ entry.title }}</h6>
5252
{% endif %}
5353

5454
{% if entry.awarder %}
55-
<h6 class="ms-3 ms-md-4" style="font-size: 0.95rem">{{ entry.awarder }}</h6>
55+
<h6 class="ms-4" style="font-size: 0.95rem">{{ entry.awarder }}</h6>
5656
{% endif %}
5757

5858
{% if entry.summary %}
59-
<p class="ms-3 ms-md-4">{{ entry.summary | markdownify | remove: '<p>' | remove: '</p>' }}</p>
59+
<p class="ms-4">{{ entry.summary | markdownify | remove: '<p>' | remove: '</p>' }}</p>
6060
{% endif %}
6161
</div>
6262
{% endif %}

_includes/cv/certificates.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
{% else %}
1111
<i class="fa-solid fa-award"></i>
1212
{% endif %}
13+
&nbsp;
1314
{% if entry.url %}
1415
<strong
1516
><a href="{{ entry.url }}" target="_blank">{{ entry.name }}</a></strong

_includes/cv/education.liquid

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% for entry in entries %}
1010
<li class="list-group-item">
1111
<div class="row">
12-
<div class="col-xs-2 col-sm-2 col-md-2 text-center date-column">
12+
<div class="col-2 col-sm-2 col-md-2 text-center date-column">
1313
{% capture start_date %}
1414
{% if entry.start_date %}{{ entry.start_date }}{% elsif entry.startDate %}{{ entry.startDate }}{% endif %}
1515
{% endcapture %}
@@ -51,25 +51,25 @@
5151
</tbody>
5252
</table>
5353
</div>
54-
<div class="col-xs-10 col-sm-10 col-md-10 mt-2 mt-md-0">
54+
<div class="col-10 col-sm-10 col-md-10 mt-2 mt-md-0">
5555
{% capture study_type %}
5656
{% if entry.studyType %}{{ entry.studyType }}{% elsif entry.degree %}{{ entry.degree }}{% endif %}
5757
{% endcapture %}
5858

5959
{% if entry.url %}
60-
<h6 class="title fw-bold ms-3 ms-md-4">
60+
<h6 class="title fw-bold ms-4">
6161
<a href="{{ entry.url }}">{{ study_type }}</a>
6262
</h6>
6363
{% elsif study_type != '' %}
64-
<h6 class="title fw-bold ms-3 ms-md-4">{{ study_type }}</h6>
64+
<h6 class="title fw-bold ms-4">{{ study_type }}</h6>
6565
{% endif %}
6666

6767
{% if entry.institution %}
68-
<h6 class="ms-3 ms-md-4" style="font-size: 0.95rem">{{ entry.institution }}</h6>
68+
<h6 class="ms-4" style="font-size: 0.95rem">{{ entry.institution }}</h6>
6969
{% endif %}
7070

7171
{% if entry.area %}
72-
<h6 class="ms-3 ms-md-4" style="font-size: 0.95rem; font-style: italic">{{ entry.area }}</h6>
72+
<h6 class="ms-4" style="font-size: 0.95rem; font-style: italic">{{ entry.area }}</h6>
7373
{% endif %}
7474

7575
{% if entry.courses or entry.highlights %}

_includes/cv/experience.liquid

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% for entry in entries %}
1010
<li class="list-group-item">
1111
<div class="row">
12-
<div class="col-xs-2 col-sm-2 col-md-2 text-center date-column">
12+
<div class="col-2 col-sm-2 col-md-2 text-center date-column">
1313
{% capture start_date %}
1414
{% if entry.start_date %}{{ entry.start_date }}{% elsif entry.startDate %}{{ entry.startDate }}{% endif %}
1515
{% endcapture %}
@@ -49,28 +49,28 @@
4949
</tbody>
5050
</table>
5151
</div>
52-
<div class="col-xs-10 col-sm-10 col-md-10 mt-2 mt-md-0">
52+
<div class="col-10 col-sm-10 col-md-10 mt-2 mt-md-0">
5353
{% capture position_title %}
5454
{% if entry.position %}{{ entry.position }}{% endif %}
5555
{% endcapture %}
5656

5757
{% if entry.url %}
58-
<h6 class="title fw-bold ms-3 ms-md-4">
58+
<h6 class="title fw-bold ms-4">
5959
<a href="{{ entry.url }}">{{ position_title }}</a>
6060
</h6>
6161
{% elsif position_title != '' %}
62-
<h6 class="title fw-bold ms-3 ms-md-4">{{ position_title }}</h6>
62+
<h6 class="title fw-bold ms-4">{{ position_title }}</h6>
6363
{% endif %}
6464

6565
{% capture company_name %}
6666
{% if entry.name %}{{ entry.name }}{% elsif entry.company %}{{ entry.company }}{% elsif entry.organization %}{{ entry.organization }}{% endif %}
6767
{% endcapture %}
6868
{% if company_name != '' %}
69-
<h6 class="ms-3 ms-md-4" style="font-size: 0.95rem">{{ company_name }}</h6>
69+
<h6 class="ms-4" style="font-size: 0.95rem">{{ company_name }}</h6>
7070
{% endif %}
7171

7272
{% if entry.summary %}
73-
<h6 class="ms-3 ms-md-4" style="font-size: 0.95rem; font-style: italic">
73+
<h6 class="ms-4" style="font-size: 0.95rem; font-style: italic">
7474
{{ entry.summary | markdownify | remove: '<p>' | remove: '</p>' }}
7575
</h6>
7676
{% endif %}

_includes/cv/publications.liquid

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{% endcapture %}
1212

1313
{% if pub_date != '' %}
14-
<div class="col-xs-2 col-sm-2 col-md-2 text-center">
14+
<div class="col-2 col-sm-2 col-md-2 text-center">
1515
<table class="table-cv">
1616
<tbody>
1717
<tr>
@@ -24,43 +24,43 @@
2424
</tbody>
2525
</table>
2626
</div>
27-
<div class="col-xs-10 col-sm-10 col-md-10 mt-2 mt-md-0">
27+
<div class="col-10 col-sm-10 col-md-10 mt-2 mt-md-0">
2828
{% if entry.url %}
29-
<h6 class="title fw-bold ms-3 ms-md-4">
29+
<h6 class="title fw-bold ms-4">
3030
<a href="{{ entry.url }}">{{ entry.title | default: entry.name }}</a>
3131
</h6>
3232
{% elsif entry.title %}
33-
<h6 class="title fw-bold ms-3 ms-md-4">{{ entry.title }}</h6>
33+
<h6 class="title fw-bold ms-4">{{ entry.title }}</h6>
3434
{% endif %}
3535

3636
{% if entry.publisher %}
37-
<h6 class="ms-3 ms-md-4" style="font-size: 0.95rem">
37+
<h6 class="ms-4" style="font-size: 0.95rem">
3838
<em>{{ entry.publisher }}</em>
3939
</h6>
4040
{% endif %}
4141

4242
{% if entry.summary %}
43-
<p class="ms-3 ms-md-4">{{ entry.summary | markdownify | remove: '<p>' | remove: '</p>' }}</p>
43+
<p class="ms-4">{{ entry.summary | markdownify | remove: '<p>' | remove: '</p>' }}</p>
4444
{% endif %}
4545
</div>
4646
{% else %}
4747
<div class="col-xs-12 col-sm-12 col-md-12">
4848
{% if entry.url %}
49-
<h6 class="title fw-bold ms-3 ms-md-4">
49+
<h6 class="title fw-bold ms-4">
5050
<a href="{{ entry.url }}">{{ entry.title | default: entry.name }}</a>
5151
</h6>
5252
{% elsif entry.title %}
53-
<h6 class="title fw-bold ms-3 ms-md-4">{{ entry.title }}</h6>
53+
<h6 class="title fw-bold ms-4">{{ entry.title }}</h6>
5454
{% endif %}
5555

5656
{% if entry.publisher %}
57-
<h6 class="ms-3 ms-md-4" style="font-size: 0.95rem">
57+
<h6 class="ms-4" style="font-size: 0.95rem">
5858
<em>{{ entry.publisher }}</em>
5959
</h6>
6060
{% endif %}
6161

6262
{% if entry.summary %}
63-
<p class="ms-3 ms-md-4">{{ entry.summary | markdownify | remove: '<p>' | remove: '</p>' }}</p>
63+
<p class="ms-4">{{ entry.summary | markdownify | remove: '<p>' | remove: '</p>' }}</p>
6464
{% endif %}
6565
</div>
6666
{% endif %}

_includes/cv/references.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
{% else %}
1111
<i class="fa-solid fa-user"></i>
1212
{% endif %}
13+
&nbsp;
1314
<strong>{{ entry.name }}</strong>
1415
<p>{{ entry.reference | markdownify | remove: '<p>' | remove: '</p>' }}</p>
1516
</li>

0 commit comments

Comments
 (0)