Repository navigation
Expand file tree
/
Copy pathapp.sass
More file actions
413 lines (327 loc) · 7.76 KB
/
Copy pathapp.sass
File metadata and controls
413 lines (327 loc) · 7.76 KB
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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
@use "sass:meta"
@use "@fortawesome/fontawesome-free/scss/fontawesome.scss" as * with ($fa-font-path: "./fonts")
@use "@fortawesome/fontawesome-free/scss/solid.scss" as * with ($fa-font-path: "./fonts")
@use "@fortawesome/fontawesome-free/scss/brands.scss" as * with ($fa-font-path: "./fonts")
@use "bootstrap/scss/bootstrap.scss" as *
@use "./pandoc-solarized.css" as *
$body-bg: #fffff8
@use "typeface-et-book/et-book/et-book.css" as *
@import url('https://fonts.googleapis.com/css?family=Open+Sans|B612|B612+Mono&display=swap')
body
font-family: 'B612 Mono', monospace
margin: 2.5rem
body#body-cv
background-color: transparent
#copyright
font-size: 0.8rem
font-weight: 300
.badge, #copyright
font-family: 'B612 Mono', monospace
font-size: 0.8rem
font-weight: 300
.badge:before
content: "["
.badge:after
content: "]"
a.badge.bg-light
background-color: transparent !important
article
font-family: et-book, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif
font-size: 1.2rem
.sourceCode, .pre
font-size: 0.9rem
.sourceCode.diff span.st
color: #DC322F
.sourceCode.diff span.va
color: #2AA198
.sourceCode.pre
color: #000
background-color: transparent
.pre
color: #fff
background-color: #000
.pre, .mono-flow
padding: 1em 2em 1em 1em
border-radius: 1em
font-size: 10pt
font-family: 'B612 Mono', monospace
#ifdef .pre
color: #000
background-color: transparent
border: solid 1px #000
opacity: 0.5
font-size: 5pt
float: right
position: relative
left: 10px
.spacer
height: 20px
.box span.tag
border-radius: 0
a
text-decoration: none
blockquote
display: block
margin-block-start: 1em
margin-block-end: 1em
margin-inline-start: 40px
margin-inline-end: 40px
blockquote footer
display: block
font-size: 1.1rem
text-align: right
margin-inline-end: 40px
blockquote footer:before
content: "— "
#nav-side
background-color: inherit
border: inherit
#nav-side > .card-body
padding-left: 0
padding-top: 0
.d-lg-block #content
@extend .col-9
.d-lg-none #content
@extend .col-12
#content-cv
@extend .col-12
@media print
body
font-size: 12pt
margin-top: 2cm
margin-right: 2cm
margin-bottom: 1.5cm
margin-left: 2cm
// WARNING: You may not @extend an outer selector from within @media so I am
// not doing @extend .col-12 for print.
@media print
#content
flex: 0 0 100%
max-width: 100%
$date: #808080
$trip: #808080
// NOTE: CV colours, the same as in the PDF (job-prospects, __cv/cv-pdj.sty).
// Dark hues only, so the letters read at small monospace sizes. Within each
// timeline row group ($, #, †) the hues are distinct, since the blocks there
// are told apart by colour alone.
// SEE: https://colorbrewer2.org/#type=qualitative&scheme=Dark2&n=8
// SEE: https://colorbrewer2.org/#type=qualitative&scheme=Paired&n=12
// Haskell logo purple for Cabal.
$cabal: #5e5086
$fpcomplete: #1b9e77
$updo: #b8860b
$blobs: #006d2c
$cit: #377eb8
$flaretiming: #d95f02
$aqualinc: #66a61e
$travieo: #e31a1c
$apress: #7570b3
$cactus: #b15928
$tagly: #e7298a
$croplogic: #a6761d
$waimak: #08519c
$nutricentre: #99000d
$niwa: #b8860b
$twitter: #1da1f2
$linkedin: #0077b5
$stackoverflow: #f48024
$skype: #00aff0
.date,
.date > code
color: $date
.trip,
.trip > code
color: $trip
.cabal,
.cabal > code
color: $cabal
.fpcomplete,
.fpcomplete > code
color: $fpcomplete
.updo,
.updo > code
color: $updo
.blobs,
.blobs > code
color: $blobs
.cit,
.cit > code
color: $cit
.flaretiming,
.flaretiming > code
color: $flaretiming
.aqualinc,
.aqualinc > code
color: $aqualinc
.cactus,
.cactus > code
color: $cactus
.tagly,
.tagly > code
color: $tagly
.apress,
.apress > code
color: $apress
.travieo,
.travieo > code
color: $travieo
.croplogic,
.croplogic > code
color: $croplogic
.waimak,
.waimak > code
color: $waimak
.nutricentre,
.nutricentre > code
color: $nutricentre
.niwa,
.niwa > code
color: $niwa
// The CV in B612 Mono, like the PDF.
#content-cv code,
#content-cv .work-section,
#content-cv pre.timeline
font-family: 'B612 Mono', monospace
// Year-only dates padded so the names after them line up. The box must not
// inherit the list's hanging text-indent, or its text lands on the marker.
.date > code
display: inline-block
min-width: 9.5ch
text-indent: 0
// Technology tag at the end of a work entry.
.stack > code
color: inherit
font-size: 0.85em
// The skill groups under the header wrap as whole groups, with a gap between.
p.skills
margin-bottom: 0.5rem
p.skills .stack
white-space: nowrap
margin-right: 0.6em
p.work-intro,
p.work-earlier
margin-bottom: 0.5rem
// The one-line Earlier heading, set like the other section headings.
p.work-earlier
padding-left: 1.5rem
span.work-section
font-size: 1rem
// Timeline block: one hatched square per quarter, in the engagement's colour.
// Generated by job-prospects/scripts/cv_timeline.py --format html.
pre.timeline
font-size: 0.9rem
overflow-x: auto
pre.timeline .tl
display: inline-block
height: 0.8em
vertical-align: -0.1em
background: repeating-linear-gradient(90deg, currentColor 0 0.85ch, transparent 0.85ch 1ch)
// States set by the interactive CV's script (cv-gleam and friends), which
// links the timeline blocks, their key letters and the entries.
#content-cv.is-interactive
.tl, .timeline [data-id], .tag, .tl-key
cursor: pointer
.is-dim, .is-off
opacity: 0.3
.is-hidden
display: none
li.is-lit
background: rgba(128, 128, 128, 0.12)
.tl.is-lit
outline: 1.5px solid currentColor
outline-offset: 1px
.timeline span.is-lit
text-decoration: underline
.tag.is-on, .tl-key.is-on
text-decoration: underline
font-weight: bold
.tag.is-none
opacity: 0.5
cursor: default
.tl-tip
position: absolute
z-index: 10
padding: 0.1em 0.5em
font-family: 'B612 Mono', monospace
font-size: 0.8rem
color: #fff
background: #333
border-radius: 0.3em
white-space: nowrap
pointer-events: none
pre.tl-status
font-size: 0.9rem
color: $date
margin: 0
p.cv-footer
display: flex
flex-wrap: wrap
justify-content: center
column-gap: 1.6em
font-size: 0.9rem
h2.work-section
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace
font-size: 1rem
padding-left: 1.5rem
div.work-history > ul
list-style-type: none
padding-inline-start: 0
text-indent: -3.2rem
margin-left: 3.2rem
div.work-history,
div.work-history > pre
margin: 0
a:target::after
content: " ☜"
#nav-side a.nav-link
font-size: 1.4rem
font-weight: bold
a
color: a11y-color(#007bff, #fffff8)
dd
margin-left: 2em
.hint, .tip, .note, .warning
margin-bottom: 1em
.hint,
.tip
background: #dbfaf4
.note
background: #e7f2fa
.warning
background:#ffedcc
.hint > div.title > p:before,
.tip > div.title > p:before,
.note > div.title > p:before
content: "✓"
display: inline-block
padding-left: 0.5em
padding-right: 0.2em
.warning > div.title > p:before
content: "!"
display: inline-block
padding-left: 0.5em
padding-right: 0.2em
.hint > div.title,
.tip > div.title,
.note > div.title,
.warning > div.title
font-family: 'B612 Mono', monospace
.tip > div.title,
.hint > div.title
color: #1abc9c
.note > div.title
color: #6ab0de
.warning > div.title
color: #f0b37e
.hint > p,
.tip > p,
.note > p,
.warning > p
padding-left: 0.5em
.hint,
.tip,
.note,
.warning
padding: 0em 0.5em
div#services-list ul
list-style-type: none