From adfba765d845c0cc2e4a0f3fb2ff29cc438b8da3 Mon Sep 17 00:00:00 2001 From: max/sooulix Date: Thu, 15 Aug 2024 03:57:48 +0200 Subject: [PATCH] [css] work on the work part of the resume template --- static/css/resume.css | 20 +++++++++------- templates/partials/work.html | 45 +++++++++++++++++++++--------------- 2 files changed, 38 insertions(+), 27 deletions(-) diff --git a/static/css/resume.css b/static/css/resume.css index 9735364..bd524cf 100644 --- a/static/css/resume.css +++ b/static/css/resume.css @@ -106,7 +106,6 @@ section .location { } .position, -.company, .organization, .institution, .date, @@ -126,13 +125,6 @@ section .location { font-weight: 600; } -.company::before, -.institution::before, -.organization::before, -.awarder::before { - content: "at "; -} - .company, .institution, .organization, @@ -272,3 +264,15 @@ section .location { margin-bottom: 0.5rem; } +.company i { + margin-right: 0.5rem; +} + +.company .website { + font-style: italic; + margin-left: 0.5rem; +} + +.highlights li { + display: inline-block; +} diff --git a/templates/partials/work.html b/templates/partials/work.html index 1b9d0a4..00b4337 100644 --- a/templates/partials/work.html +++ b/templates/partials/work.html @@ -20,20 +20,30 @@ {% endif %}
- {% if work_item.position %} -
{{ work_item.position }}
- {% endif %} -
{{ work_item.name }}
-
- {% if work_item.startDate %} - {{ utils.format_date_short(work_item.startDate) }} - {% endif %} - {{ locale }} - {% if not utils.isinfinite(work_item.endDate) %} - - {{ utils.format_date_short(work_item.endDate) }} - {% else %} - - {{ language.phrases.present }} +
+ {% if work_item.position %} +
{{ work_item.position }}
{% endif %} +
+ {% if work_item.startDate %} + {{ utils.format_date_short(work_item.startDate) }} + {% endif %} + {% if not utils.isinfinite(work_item.endDate) %} + - {{ utils.format_date_short(work_item.endDate) }} + {% else %} + - {{ language.phrases.present }} + {% endif %} +
+
+ +
+ + {{ work_item.name }} + {% if work_item.url %} + + (website) + + {% endif %}
{% endif %} @@ -45,10 +55,7 @@ {% endif %} - {% if work_item.url %} - - {{ work_item.url }} - {% endif %} {% if work_item.keywords %} + {% if work_item.keywords %}