summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2024-01-21 20:59:08 +0100
committerAhmed Abdelhalim <[email protected]>2024-01-21 20:59:08 +0100
commit6e8011d0ea093b8b8d304c881ebf128415fd75de (patch)
tree0bbdfa2587ed7a529e9768c76440f060cc02f084 /assets
parentf8689feb1bdccbc2010b62bd624301bb5d622f2c (diff)
Update print to show only the first 4 position tasks
Diffstat (limited to 'assets')
-rw-r--r--assets/scss/print/_work.scss8
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