diff options
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/scss/print/_work.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/assets/scss/print/_work.scss b/assets/scss/print/_work.scss index 2189869..a2779cb 100644 --- a/assets/scss/print/_work.scss +++ b/assets/scss/print/_work.scss @@ -8,6 +8,14 @@ .work__experience { 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 { + display: none; + } + } } // Style the Company name links in the PDF with thicker underline |
