diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-06-04 12:05:07 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-06-04 12:05:07 +0200 |
| commit | 0d0ab1b2ed083708a0f033dd63c758b32a32ab73 (patch) | |
| tree | b51a3e97e950d8e51dfde9262720d71f590449ab /assets/scss/print | |
| parent | de88d29fda8503a898dc3db8d3430960094e67c3 (diff) | |
Update the work structure/templates and styling
This template edits allows having multiple positions in the same company
Diffstat (limited to 'assets/scss/print')
| -rw-r--r-- | assets/scss/print/_base.scss | 4 | ||||
| -rw-r--r-- | assets/scss/print/_work.scss | 23 |
2 files changed, 14 insertions, 13 deletions
diff --git a/assets/scss/print/_base.scss b/assets/scss/print/_base.scss index fba5300..b511b25 100644 --- a/assets/scss/print/_base.scss +++ b/assets/scss/print/_base.scss @@ -1,6 +1,6 @@ @page { - margin-left: 1cm; - margin-right: 1cm; + margin-left: 1.5cm; + margin-right: 1.5cm; } body { diff --git a/assets/scss/print/_work.scss b/assets/scss/print/_work.scss index a2779cb..954cdd8 100644 --- a/assets/scss/print/_work.scss +++ b/assets/scss/print/_work.scss @@ -3,23 +3,24 @@ } .work__header { - margin-bottom: 0.2rem; + margin-bottom: 1.7rem; } -.work__experience { +.work__company { page-break-inside: avoid; - // only show the first 4 jobs completely and hide the details of the // rest of the older jobs (but keep the names in the CV) &:not(&:nth-child(-n+5)) { - > .tasks, .footnote { + > .work__company__tasks, + .work__company__note, + .work__company__footnote { display: none; } } } // Style the Company name links in the PDF with thicker underline -.job-position__company { +.work__company__name { margin-top: 0.6rem; font-size: 11pt; a:link, a:visited, a:hover, a:active { @@ -27,19 +28,19 @@ } } -.job-position__title, -.job-position__duration, -.job-position__location { +.work__company__location, +.work__company__position__title, +.work__company__position__duration{ } -.note { +.work__company__note { max-width: 100%; } -.tasks { +.work__company__tasks { max-width: 90%; } -.footnote { +.work__company__footnote { font-size: 7pt; } |
