-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdd_cv.css
303 lines (245 loc) · 5.43 KB
/
dd_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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro|Playfair+Display&display=swap");
/* Main text is monserrat or Source Sans Pro: @import url("https://fonts.googleapis.com/css?family=Montserrat|Playfair+Display&display=swap");*/
body {
font-family: "Source Sans Pro", sans-serif;
font-weight: 400;
line-height: 1.3;
color: #2E2E2E;
}
/* Set up custom page settings to fit academic standards */
@page{
size: letter portrait;
margin: 0.5in 0.5in 0.7in 0.25in;
}
h1 {
font-size: 16pt;
}
#title h1 {
font-size: 16pt;
}
p {
font-size: 10pt;
}
#title p {
font-size: 12pt;
}
h1, p {
margin-left: +1.8px;
}
h3 {
font-family: "Source Sans Pro", sans-serif;
font-weight: 400;
line-height: 1.3;
color: #000;
}
/* Give headers playfair font */
h1,
h2,
#main h2,
/*h3,*/
h4 {
font-family: "Playfair Display", serif;
color: #000;
font-weight: 400;
}
h1, h2, h4{
text-transform: uppercase;
}
h4{
font-weight: 400;
font-size: 14pt;
line-height: 1;
padding-top: 0rem;
margin-top: -2.5rem
}
.place {
float: left;
font-size: 12pt;
line-height: 1.2;
hyphens: auto;
hyphenate-limit-chars: auto 5;
hyphenate-limit-lines: 2;
text-align: justify;
color: #2E2E2E;
}
li {
font-size: 10pt;
color: #2E2E2E;
}
a {
color: inherit;
}
/* Get page numbering */
.pagedjs_margin-bottom-right-corner {
visibility: unset !important;
}
.pagedjs_bottom-right-left-corner>.pagedjs_margin-content::after {
content: counter(page);
position: absolute;
bottom: 8px;
left: 10px;
color: #2E2E2E;
font-size: 10pt;
}
/* Undo bold font in the lists from the pagedown::html_resume */
#main{
font-size: 10pt;
padding: 0 0.05in 0 0.05in;
}
#main h2{
font-weight: 400;
font-size: 14pt;
}
#main h3{
font-weight: 400;
font-size: 12pt;
}
/* Add page numbering */
@page :left {
@bottom {
content: counter(page);
}
}
@page :right {
@bottom {
content: counter(page);
}
}
#disclaimer code{
color: #2E2E2E;
font-family: "Source Code Pro";
font-weight: 300;
font-size: 8pt;
font-style: normal;
text-align: justify;
}
/* When in PDF export mode make sure superscripts are nice and small and italic */
sup {
font-size: 0.45rem;
font-style: italic;
}
/* Avoid the breaking within a section */
.blocks {
break-inside: avoid-column;
}
.details, .date {
break-inside: avoid;
font-size: 10pt;
}
/* Overwrite date positions */
.date {
padding-top: calc(var(--row-blocks-padding-top) + 0.12rem) !important;
}
.main-block:not(.concise) .details div{
margin: 0.001in 0 0.01in 0;
}
* {
/* Override default right margin for sidebar*/
--pagedjs-margin-right: 0.35in;
--pagedjs-margin-left: 0.35in;
--pagedjs-pagebox-width: 8.6in
}
/* Customize some of the sizing variables */
:root {
--margin-left: 0.4in;
--sidebar-width: 11rem; /* Shrink sidebar width: from 12rem */
--sidebar-background-color: #f8f8f8; /* Make sidebar grey */
--sidebar-horizontal-padding: 0.01in; /* Reduce sidebar padding */
--decorator-outer-dim: 10px; /* Make position deliniating circles larger */
--decorator-border: 2px solid grey; /* Make timeline a grey as well*/
--decorator-outer-offset-top: 12px
}
.details .place {
margin-top: 0.25rem;
font-size: 12pt;
}
.main-block:not(.concise) .details div {
padding-top: 0.005rem;
}
/* Some Icons aren't centered by default */
.fa-laptop {
margin-left: -3px;
}
.fa-microphone {
margin-left: +2.3px;
margin-top: +1.5px;
}
.fa-address-card {
margin-top: +1.5px;
}
.fa-file-text-o {
margin-left: +2px;
margin-top: +1.5px;
}
.fa-file-text {
margin-left: +1.5px;
margin-top: +1.5px;
}
.fa-file-book {
margin-left: +0.5px;
margin-top: +1.5px;
}
.fa-newspaper-o {
margin-left: +0.5px;
margin-top: +1.5px;
}
/* When we have links at bottom in a list make sure they actually are numbered */
#links li {
list-style-type: decimal;
}
/* Dont put the little fake list point in front of links
.aside li::before {
display: none;
}
*/
/* Move closer to start and up towards header */
.aside ul {
padding-left: 1rem;
}
.aside li::before {
position: relative;
margin-left: -4.25pt;
content: "• ";
}
/* Make sure elements in asside are centered and have a nice small text. */
.aside {
width: calc(var(--sidebar-width) + 9px);
line-height: 1.2;
font-size: 10pt;
padding: 0.12in var(--sidebar-horizontal-padding);
}
/* Make little circle outline be a light green */
.decorator::after {
background-color: black;
}
/* Remove the fake bullets from lists */
.aside li::before {
content: auto;
}
.skill-bar {
color: white;
padding: 0.1rem 0.25rem;
margin-top: 3px;
position: relative;
width: 100%;
}
/* When the class no-timeline is added we remove the after psuedo element from the header... */
/* Removes the psuedo element on h2 tags for this section */
.section.no-timeline h2::after {
content: none;
}
/* Without adding padding the content is all up on the title */
.section.no-timeline h2 {
padding-bottom: 1rem;
left: 60px;
font-weight: 400;
font-size: 16pt;
}
/* Add styles for little cards */
.info-card{
width: 220px;
float: left;
padding: 0.5rem;
margin: 0.5rem;
box-shadow: 1px 1px 4px black;
}