summaryrefslogtreecommitdiffstats
path: root/assets/scss/print/_work.scss
blob: 397314642614416da36ef20dfeb61562f082a531 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.work {
  margin-top: 24pt;
}

.work__header {
  margin-bottom: 1.7rem;
}

.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)) {
    > .work__company__tasks,
      .work__company__note,
      .work__company__footnote {
      display: none;
    }
  }
  &:after {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
  }
}

// Style the Company name links in the PDF with thicker underline
.work__company__name {
  margin-top: 0.6rem;
  font-size: 11pt;
  a:link, a:visited, a:hover, a:active {
    text-decoration-thickness: 1px;
  }
}

.work__company__location,
.work__company__position__title,
.work__company__position__duration{
}

.work__company__note {
  max-width: 100%;
}

.work__company__tasks {
  max-width: 90%;
}

.work__company__footnote {
  font-size: 7pt;
}