jsonresume-theme-tech 1.3.4 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/style.css CHANGED
@@ -1,44 +1,69 @@
1
+ /* Palette: navy accents; near-black body/job titles; mid-grey companies; #595959 dates (≥4.5:1 on white). */
2
+ :root {
3
+ --resume-accent: #1b4f8a;
4
+ --resume-body: #1a1a1a;
5
+ --resume-secondary: #555555;
6
+ --resume-company: #555555;
7
+ --resume-date: #595959;
8
+ --resume-rule: #1b4f8a;
9
+ }
10
+
1
11
  /* Base styles */
2
12
  body {
3
- background: #EEEEEE;
4
- font: 12px "Times New Roman", Times, serif;
5
- line-height: 1.4;
13
+ background: #ffffff;
14
+ font: 11pt/1.15 "Times New Roman", Times, serif;
6
15
  margin: 20px 0;
7
- color: #000;
16
+ color: var(--resume-body);
17
+ }
18
+
19
+ h1,
20
+ h2,
21
+ h3 {
22
+ margin: 0;
23
+ font: inherit;
8
24
  }
9
25
 
10
26
  em {
11
- color: #333;
27
+ color: var(--resume-company);
12
28
  font-style: italic;
13
29
  }
14
30
 
31
+ strong {
32
+ font-weight: bold;
33
+ }
34
+
15
35
  p {
16
- line-height: 1.4;
36
+ line-height: 1.15;
17
37
  }
18
38
 
19
- ul {
20
- margin-bottom: 0;
39
+ p.summaryProse {
40
+ margin: 0;
21
41
  }
22
42
 
23
- li {
24
- margin-bottom: 1px;
43
+ ul {
44
+ margin-bottom: 0;
25
45
  }
26
46
 
27
47
  a {
28
48
  text-decoration: none;
29
- color: inherit;
30
49
  }
31
50
 
32
51
  a:hover {
33
52
  text-decoration: underline;
34
- color: #2077b2;
53
+ color: var(--resume-accent);
35
54
  }
36
55
 
37
56
  .normal-weight {
38
57
  font-weight: normal;
39
58
  }
40
59
 
41
- /* Resume container */
60
+ .projectUrl {
61
+ font-weight: normal;
62
+ font-size: inherit;
63
+ color: var(--resume-company);
64
+ }
65
+
66
+ /* Resume container — no shaded backgrounds */
42
67
  .resume {
43
68
  margin: 0 auto;
44
69
  max-width: 750px;
@@ -49,194 +74,366 @@ a:hover {
49
74
  -webkit-box-shadow: 2px 2px 4px #aaa;
50
75
  }
51
76
 
52
- /* Section styling */
53
- .sectionName {
77
+ /* Section headings — top border simulates Word paragraph top border; ALL CAPS */
78
+ h2.sectionName {
54
79
  text-align: left;
55
80
  font-weight: bold;
81
+ font-size: 10pt;
82
+ line-height: 1.15;
83
+ margin-top: 10pt;
84
+ margin-bottom: 3pt;
85
+ padding-top: 5pt;
86
+ border-top: 1.5pt solid var(--resume-rule);
87
+ color: var(--resume-accent);
56
88
  text-transform: uppercase;
57
- font-size: 12px;
58
- margin-bottom: 2px;
59
- }
60
-
61
- .sectionLine {
62
- border-bottom: 1px solid #999;
63
- margin-bottom: 8px;
64
- width: 100%;
89
+ letter-spacing: 1pt;
65
90
  }
66
91
 
67
92
  .sectionContent {
68
93
  width: 100%;
69
- margin-top: 2px;
94
+ margin-top: 0;
70
95
  }
71
96
 
72
97
  /* Add spacing after each section except the last one */
73
98
  .resume > div:not(:last-child) {
74
- margin-bottom: 12px;
99
+ margin-bottom: 8px;
75
100
  }
76
101
 
77
- /* Reduce spacing specifically for skills section */
78
102
  .skills {
79
- margin-bottom: 10px;
103
+ margin-bottom: 6px;
80
104
  }
81
105
 
82
- /* Common block elements */
106
+ /* Allow jobs/education blocks to split across pages (avoid huge gaps when a block
107
+ won't fit in the remaining space). Pagination is tuned in @media print below. */
83
108
  .sectionContent > div {
84
- page-break-inside: avoid;
85
- margin-bottom: 4px;
109
+ margin-bottom: 2px;
86
110
  }
87
111
 
88
- /* Common content elements */
112
+ /*
113
+ * Company / degree + dates: float layout (right edge ≈ Word right-tab), not table/flex.
114
+ * Title + date (projects, awards, …): same pattern.
115
+ */
89
116
  .blockHeader {
90
- margin-bottom: 2px;
117
+ display: block;
118
+ margin-bottom: 1px;
119
+ }
120
+
121
+ .blockHeader::after,
122
+ .metaRow::after {
123
+ content: "";
124
+ display: table;
125
+ clear: both;
91
126
  }
92
127
 
93
- .title {
128
+ .blockHeader.blockHeaderInlineMeta {
129
+ display: block;
130
+ width: 100%;
131
+ overflow: hidden;
132
+ }
133
+
134
+ .blockHeader.blockHeaderInlineMeta h3.title {
135
+ float: left;
136
+ /* Patents/Projects titles sit left of a long, nowrap dateLine.
137
+ Keep the title wide enough to avoid wrapping while still leaving
138
+ space for the right-aligned date text. */
139
+ max-width: calc(100% - 12em);
140
+ padding-right: 0.5em;
141
+ min-width: 0;
142
+ }
143
+
144
+ .blockHeader.blockHeaderInlineMeta .dateLine {
145
+ float: right;
146
+ margin-top: 0;
147
+ text-align: right;
148
+ white-space: nowrap;
149
+ }
150
+
151
+ .titleGroup {
152
+ min-width: 0;
153
+ }
154
+
155
+ .titleGroup h3.title {
156
+ padding-right: 0;
157
+ }
158
+
159
+ h3.title {
94
160
  font-weight: bold;
95
- font-size: 12px;
161
+ font-size: 11pt;
162
+ color: var(--resume-body);
163
+ display: block;
164
+ line-height: 1.15;
165
+ margin: 0;
166
+ padding-right: 0;
96
167
  }
97
168
 
98
- .date {
169
+ /* Institution line extras (GPA) — secondary, not job-title weight */
170
+ .educationBlock h3.title em {
171
+ font-style: italic;
172
+ font-weight: normal;
173
+ color: var(--resume-secondary);
174
+ }
175
+
176
+ .metaRow {
177
+ display: block;
178
+ width: 100%;
179
+ margin-top: 1px;
180
+ overflow: hidden;
181
+ }
182
+
183
+ .metaRow .companyLine,
184
+ .metaRow .degree,
185
+ .metaRow .position {
186
+ float: left;
187
+ clear: left;
188
+ max-width: calc(100% - 14em);
189
+ padding-right: 1em;
190
+ min-width: 0;
191
+ margin: 0;
192
+ text-align: left;
193
+ }
194
+
195
+ .metaRow .dateLine {
99
196
  float: right;
197
+ margin-top: 0;
198
+ text-align: right;
199
+ white-space: nowrap;
200
+ }
201
+
202
+ .companyLine {
203
+ font-size: 11pt;
204
+ font-weight: normal;
205
+ line-height: 1.15;
206
+ margin: 1px 0 0;
207
+ color: var(--resume-company);
208
+ font-style: normal;
209
+ }
210
+
211
+ .companyLine .companyName {
212
+ color: var(--resume-company);
213
+ font-style: normal;
214
+ }
215
+
216
+ .dateLine {
217
+ white-space: nowrap;
218
+ }
219
+
220
+ .date {
100
221
  font-weight: normal;
222
+ font-size: 11pt;
223
+ color: var(--resume-date);
224
+ font-style: italic;
225
+ }
226
+
227
+ .metaRow .degree,
228
+ .metaRow .degree em {
229
+ font-style: normal;
230
+ color: var(--resume-company);
101
231
  }
102
232
 
103
- .position, .degree {
233
+ .position,
234
+ .degree {
104
235
  margin-top: 1px;
105
236
  margin-bottom: 2px;
106
237
  }
107
238
 
108
- .website {
109
- margin-bottom: 5px;
110
- font-size: 12px;
111
- font-weight: 500;
239
+ .phoneLink,
240
+ .websiteLink,
241
+ .profileLink,
242
+ .emailLink {
243
+ font-size: inherit;
244
+ font-weight: normal;
245
+ text-decoration: none;
246
+ }
247
+
248
+ /* Header contact line: all black (location, pipes, phone, email, URLs) */
249
+ .basicsBlock .headerContact,
250
+ .basicsBlock .headerContact .contactSep,
251
+ .basicsBlock .phoneLink,
252
+ .basicsBlock .emailLink,
253
+ .basicsBlock .websiteLink,
254
+ .basicsBlock .profileLink {
255
+ color: #000;
256
+ }
257
+
258
+ .basicsBlock .phoneLink:hover,
259
+ .basicsBlock .emailLink:hover,
260
+ .basicsBlock .websiteLink:hover,
261
+ .basicsBlock .profileLink:hover {
262
+ color: #000;
263
+ text-decoration: none;
112
264
  }
113
265
 
114
266
  .summary {
115
267
  margin-top: 2px;
116
- margin-bottom: 4px;
117
- line-height: 1.4;
268
+ margin-bottom: 2px;
269
+ line-height: 1.15;
118
270
  }
119
271
 
120
- /* Lists */
272
+ /* Lists — U+2022 bullet, navy; body text stays near-black */
121
273
  .sectionContent ul {
122
- padding-left: 20px;
274
+ list-style: none;
275
+ padding-left: 0;
123
276
  margin-top: 2px;
124
277
  margin-bottom: 2px;
125
- list-style-type: disc;
126
278
  }
127
279
 
128
- /* Skill lists - special case for inline display */
280
+ .sectionContent ul > li {
281
+ position: relative;
282
+ padding-left: 1.15em;
283
+ margin-bottom: 1px;
284
+ color: var(--resume-body);
285
+ }
286
+
287
+ .sectionContent ul > li::before {
288
+ content: "\2022";
289
+ position: absolute;
290
+ left: 0;
291
+ color: var(--resume-accent);
292
+ font-weight: normal;
293
+ }
294
+
129
295
  .skillBlock {
130
296
  margin-bottom: 2px;
297
+ line-height: 1.15;
131
298
  }
132
299
 
133
- .skillBlock .title {
134
- margin-bottom: 1px;
300
+ .skillRow {
301
+ display: block;
135
302
  }
136
303
 
137
- .skillBlock ul {
138
- margin-top: 1px;
304
+ .skillRow b {
305
+ font-weight: bold;
306
+ color: var(--resume-body);
139
307
  }
140
308
 
141
- .skillBlock ul li {
142
- display: inline-block;
143
- margin-right: 10px;
144
- margin-bottom: 0;
309
+ .skillDetailsRow {
310
+ display: block;
311
+ margin-top: 2px;
312
+ padding-left: 0;
145
313
  }
146
314
 
147
- /* Separators */
148
315
  .separator {
149
- height: 1px;
150
- margin-top: 3px;
151
- margin-bottom: 3px;
316
+ height: 0;
317
+ margin-top: 0;
318
+ margin-bottom: 0;
319
+ overflow: hidden;
152
320
  }
153
321
 
154
- .divider {
155
- font-weight: bold;
156
- margin-left: 5px;
157
- margin-right: 5px;
322
+ /* Contact row layout (colour set under .basicsBlock) */
323
+ .headerContact {
324
+ display: block;
325
+ font-size: 11pt;
326
+ line-height: 1.15;
327
+ }
328
+
329
+ .headerContact .contactPiece {
330
+ display: inline;
331
+ white-space: normal;
332
+ }
333
+
334
+ .contactLocation:empty {
335
+ display: none;
158
336
  }
159
337
 
160
- /* Header elements */
161
338
  .nameBlock {
162
- font-size: 22px;
163
- text-align: center;
339
+ font-size: 20pt;
340
+ text-align: left;
164
341
  margin-bottom: 0;
165
342
  }
166
343
 
167
- .name {
344
+ h1.name {
345
+ font-size: 20pt;
168
346
  font-weight: bold;
347
+ display: block;
348
+ color: var(--resume-accent);
349
+ letter-spacing: 1.5pt;
169
350
  }
170
351
 
171
352
  .label {
172
- font-size: 16px;
353
+ font-size: 12pt;
173
354
  margin-bottom: 0;
355
+ margin-top: 2px;
356
+ color: var(--resume-secondary);
357
+ font-weight: normal;
174
358
  }
175
359
 
176
360
  .basicsBlock {
177
- font-size: 12px;
178
- text-align: center;
179
- margin-top: 3px;
180
- margin-bottom: 8px;
361
+ font-size: 11pt;
362
+ text-align: left;
363
+ margin-top: 2px;
364
+ margin-bottom: 3px;
181
365
  }
182
366
 
183
- /* Education elements */
184
367
  .coursesBlock {
185
368
  margin-top: 2px;
186
369
  }
187
370
 
188
- .coursesList {
189
- width: 28%;
190
- vertical-align: top;
191
- display: inline-block;
192
- margin-top: 0;
193
- margin-bottom: 0;
194
- padding-left: 15px;
371
+ ul.coursesList {
372
+ display: block;
373
+ width: 100%;
374
+ margin: 0;
375
+ padding-left: 0;
376
+ list-style: none;
195
377
  }
196
378
 
197
379
  .course {
198
380
  margin-bottom: 0;
199
- line-height: 1.2;
381
+ line-height: 1.15;
200
382
  }
201
383
 
202
384
  .gpa {
203
385
  margin-bottom: 5px;
204
- font-size: 11px;
386
+ font-size: inherit;
387
+ }
388
+
389
+ .publicationBlock {
390
+ margin-bottom: 2px;
205
391
  }
206
392
 
207
- /* Media Queries */
208
393
  @media only screen and (max-width: 40em) {
209
394
  body {
210
395
  margin: 0;
211
- font-size: 14px;
396
+ font-size: 12pt;
212
397
  }
398
+
213
399
  .resume {
214
400
  margin: 0 auto;
215
401
  max-width: 600px;
216
402
  padding: 0.5em 1em;
217
403
  border: none;
218
404
  }
405
+
219
406
  .sectionContent {
220
407
  width: 100%;
221
408
  }
222
- .sectionContent .date {
223
- padding-right: 2em;
224
- }
225
- .sectionName {
409
+
410
+ h2.sectionName {
226
411
  width: auto;
227
412
  }
413
+
228
414
  .nameBlock {
229
- font-size: 20px;
415
+ font-size: 18pt;
230
416
  }
417
+
418
+ h1.name {
419
+ font-size: 18pt;
420
+ }
421
+
231
422
  .basicsBlock {
232
- font-size: 14px;
423
+ font-size: 12pt;
233
424
  }
234
425
  }
235
426
 
427
+ @page {
428
+ margin: 0.5in;
429
+ }
430
+
236
431
  @media print {
237
432
  body {
238
- background: #FFFFFF;
433
+ background: #ffffff;
434
+ color: var(--resume-body);
239
435
  }
436
+
240
437
  .resume {
241
438
  margin: 0 auto;
242
439
  max-width: 750px;
@@ -248,6 +445,39 @@ a:hover {
248
445
  }
249
446
 
250
447
  a {
251
- color: black;
448
+ text-decoration: none;
449
+ }
450
+
451
+ .basicsBlock .headerContact,
452
+ .basicsBlock .headerContact .contactSep,
453
+ .basicsBlock .phoneLink,
454
+ .basicsBlock .emailLink,
455
+ .basicsBlock .websiteLink,
456
+ .basicsBlock .profileLink {
457
+ color: #000;
458
+ }
459
+
460
+ h2.sectionName {
461
+ color: var(--resume-accent);
462
+ border-top-color: var(--resume-rule);
463
+ letter-spacing: 0;
464
+ break-after: avoid;
465
+ page-break-after: avoid;
466
+ }
467
+
468
+ h1.name {
469
+ color: var(--resume-accent);
470
+ }
471
+
472
+ /* Keep role/company header with the start of its body; bullets may continue on next page. */
473
+ .sectionContent > div > .blockHeader {
474
+ break-after: avoid;
475
+ page-break-after: avoid;
476
+ }
477
+
478
+ /* One bullet = one fragment; breaks between bullets fill the prior page. */
479
+ .sectionContent ul > li {
480
+ break-inside: avoid;
481
+ page-break-inside: avoid;
252
482
  }
253
483
  }