Update experience page styling
This commit is contained in:
parent
7097b81be9
commit
51703c0e48
|
@ -111,7 +111,7 @@ experiences:
|
||||||
{% for experience in page.experiences|reverse %}
|
{% for experience in page.experiences|reverse %}
|
||||||
{% set company = site.companies[experience.company] %}
|
{% set company = site.companies[experience.company] %}
|
||||||
|
|
||||||
<div class="listing-item">
|
<div class="mb-6">
|
||||||
{% if company.logo %}
|
{% if company.logo %}
|
||||||
<div class="float-right mt-1 mb-4 ml-4 w-16 sm:w-24 lg:w-32">
|
<div class="float-right mt-1 mb-4 ml-4 w-16 sm:w-24 lg:w-32">
|
||||||
<img src="{{ site.images_url }}/build/static/images/experience/{{ company.logo }}" alt="{{ company.name }} logo">
|
<img src="{{ site.images_url }}/build/static/images/experience/{{ company.logo }}" alt="{{ company.name }} logo">
|
||||||
|
@ -119,22 +119,17 @@ experiences:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h2 class="mv0">{{ company.name }}</h2>
|
<h2 class="mb-0">{{ company.name }}</h2>
|
||||||
|
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
{% if company.url -%}
|
{% if company.url -%}
|
||||||
<a class="inline-block text-blue mb-1"
|
<a class="inline-block text-blue mb-1" href="{{ company.url }}?utm_source={{ site.short_url }}&utm_medium=experience">
|
||||||
href="{{ company.url }}?utm_source={{ site.short_url }}&utm_medium=experience">
|
|
||||||
{{- company.url -}}
|
{{- company.url -}}
|
||||||
</a>
|
</a>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
<div class="text-grey-dark">
|
<div class="text-grey-dark">
|
||||||
{{- experience.role }}
|
{{- experience.role }} from {{ experience.start }} to {{ experience.end|default('Present') -}}
|
||||||
from
|
|
||||||
{{ experience.start }}
|
|
||||||
to
|
|
||||||
{{ experience.end|default('Present') -}}
|
|
||||||
{%- if experience.location %} ({{ experience.location }}){% endif %}.
|
{%- if experience.location %} ({{ experience.location }}){% endif %}.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -144,8 +139,7 @@ experiences:
|
||||||
{{ experience.description|markdown }}
|
{{ experience.description|markdown }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
</div>{# /.inner #}
|
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue