-
Notifications
You must be signed in to change notification settings - Fork 0
/
cv.css
106 lines (88 loc) · 1.61 KB
/
cv.css
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
body {
font-family: 'Roboto Slab', sans-serif;
font-weight: 300;
max-width: 1024px;
margin: 1.6cm;
}
a {
color: #0366d6;
text-decoration: none;
}
b {
font-weight: 400;
}
h1, h2, h3 {
font-family: 'Didact Gothic', serif;
font-weight: 300;
margin-bottom: 0;
}
hr {
border: 0;
border-top: 1px solid #aaa;
}
li {
margin-left: -10px;
margin-top: 3px;
}
ul {
margin: 0;
}
#contact-info {
display: flex;
}
#contact-info .contact-left {
align-self: flex-start;
}
#contact-info .contact-right {
margin-left: auto;
text-align: right;
}
#name {
font-size: 1.6em;
text-align: center;
}
#name h1 {
margin-top: 0;
}
#name .first-name {
font-weight: 200;
}
#name .last-name {
font-weight: 700;
}
.section-title {
/* These background properties draw a horizontal line to the left of each section title */
background-image: linear-gradient(#aaa, #aaa);
background-size: 7em 3px;
background-repeat: no-repeat;
background-position: left center;
margin: 0.8em 0;
padding-left: calc(7em + 0.8em);
page-break-after: avoid;
}
.subsection {
display: grid;
grid-gap: 0.8em;
grid-template-columns: 7em auto;
margin-top: 0.8em;
page-break-inside: avoid;
}
.subsection-left {
color: #666;
grid-column-start: 1;
text-align: right;
}
.subsection-right {
grid-column-start: 2;
}
@media print {
body {
font-size: 0.8em;
/* Use page margin (below) instead when printing as it works per page */
margin: 0;
}
@page {
size: letter;
margin: 1.6cm;
}
}