summaryrefslogtreecommitdiffstats
path: root/app/print.styl
blob: 0d5915d5d32062f3b1576292c45492ab3185c777 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
@page {
  margin: 1cm 1.5cm
}

body {
  margin-left: 0
  margin-right: 0
  font-size: 9pt
}

// Header section styling
header {

  // Name
  h1 {
    font-size: 27pt
    margin-bottom: 0
  }

  // Address/Contacts
  address {
    .tel { display: inline }
    .web { display: inline }
  }
}

article {
  h1 {
    font-size: 18pt
    margin-bottom: -0.5em
  }
}

.summary {
  p {
    margin-top: 2em
  }
}

.skills {
  dt {
    min-width: 12%
  }

  dd {
    width: 80%
    margin-left: 20px
    margin-bottom: 0
  }
}

.work {
  // avoid page breaks inside a work experience section
  article {
    page-break-inside: avoid
  }

  article > .info {
    // company
    h2 {
      margin-top: 0.8em
    }
  }
}

.writing, .projects {
  article {
    // title
    h2 {
      margin-top: 1.2em
    }

    // description
    p {
      margin-bottom: -0.4em
    }
  }
}