-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.sass
259 lines (228 loc) · 4.63 KB
/
style.sass
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
// vim: ft=sass ts=2 sw=2 et
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Fjalla+One&family=Cabin&display=swap')
@import url('https://use.fontawesome.com/releases/v5.2.0/css/all.css')
body
font-family: 'Roboto', sans-serif
margin: 0
font-size: 10pt
background-color: white
line-height: 1.35em
.footer
display: block
width: 100%
padding: 20pt 0
background: #eee
text-align: center
p
margin: 0.2em auto
@media only screen
body
padding: 2em 0 0 0
font-size: 12pt
.page
max-width: 230mm
margin: 0 auto
padding: 0 15mm
.footer
background: none
.view-as-pdf
margin: 1em 1em 0 1em
@media only print
.page
height: 297mm
width: 210mm
padding: 15mm
position: relative
box-sizing: border-box
.footer
position: absolute
bottom: 0mm
left: 0mm
.view-as-pdf
display: none
a
color: #25A
text-decoration: none
font-weight: 500
code
font-family: 'DejaVu Sans Mono', monospace
#heading
display: flex
flex-direction: row
flex-wrap: wrap
justify-content: space-between
margin-bottom: 8pt
h1,h2
font-family: Cabin
font-weight: normal
text-transform: none
letter-spacing: -1pt
font-size: 30pt
h2
font-size: 18pt
.main > *
margin: 0
line-height: 1
.contact
font-size: 12pt
list-style-type: none
margin-top: 8pt
*::before
font-family: 'Font Awesome 5 Free'
font-weight: 900
font-size: 80%
margin-right: 0.5em
color: #aaa
display: inline-block
vertical-align: middle
margin-top: -0.2em
.phone::before
content: '\f095'
.email::before
content: '\f1fa'
.website::before
content: '\f0c1'
.sectionwrapper
padding: 10pt 0 0 0
page-break-inside: avoid
.section
margin: 0
padding: 0
border-radius: 10pt 0 0 0
border-width: 2pt 0 0 1pt
border-style: solid
border-color: black
position: relative
.section::after
//content: ''
position: absolute
left: -2pt
bottom: 0
height: 24pt
width: 9pt
background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0))
.section > ul
list-style-type: none
margin: 0
padding: 0
.section .headline
margin-top: -9pt
margin-bottom: 4pt
text-align: center
.section h2
margin: 0 10pt
padding: 0 3pt 0 4pt
background-color: white
display: inline-block
font-size: 14pt
text-transform: uppercase
font-family: 'Fjalla One'
font-weight: normal
letter-spacing: 2pt
text-align: center
//border: 0.2pt solid red
.itemwrapper
padding-top: 6pt
.item
position: relative
margin: 0 0 10pt 0
border: 1pt dashed black
border-width: 1pt 0 0 0
padding: 8pt 0 0 8pt
.item .titleline
margin-top: -16pt
margin-left: -4pt
margin-bottom: 2pt
padding: 0 0 0 0
display: flex
flex-direction: row
flex-wrap: wrap
justify-content: space-between
.title
padding: 0 4pt 0 2pt
margin-left: 2pt
background: white
font-size: 12pt
font-family: 'Cabin'
.spacetime
margin-top: 1pt
.when::before
content: '\f073'
color: #357
.where::before
content: '\f3c5'
color: #573
.institution::before
content: '\f1ad'
color: #753
*::before
background: white
line-height: 0
margin-top: -2.5pt
margin-right: 2.5pt
font-style: normal
.spacetime > *
background: white
display: inline-block
padding: 0 0 0 8pt
.item .titleline.split
.title
//flex: 1 0 0
.item.noline .spacetime
background: white
flex-grow: 1
.item .description
margin-top: 1pt
p
margin: 0 0 5pt 0
padding: 0
text-align: justify
strong, b
font-weight: 500
ul
margin-bottom: 4pt
.columns
display: flex
flex-direction: row
flex-wrap: none
margin: 8pt 0
padding: 0
.item
margin: 0 0.1em 0.5em 0
flex: 1 0 0
ul
padding-left: 12pt
.item:first-child
flex-grow: 1.6
.columns > :first-child
border-right: 1pt dashed black
// on phones and small tablets,
// split column view and decrease padding
@media only screen and (max-width: 640px)
.columns
flex-direction: column
.item
margin-bottom: 1em
.columns > :first-child
border-right: none
.page
padding: 0 5mm
.item .titleline
align-items: flex-start
flex-direction: column
.sectionwrapper
margin: 0 -5mm 0 0
.item, .columns .item
padding-right: 5mm
// strictly on small phones, remove left-side padding and border
@media only screen and (max-width: 480px)
.sectionwrapper
margin: 0 -5mm
.section
border-left-width: 0
@page
size: A4 portrait
-relaxed-page-width: 210mm
-relaxed-page-height: 297mm
min-height: 100%
margin: 0