jsonresume-theme-tech 1.3.3 → 1.4.0

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,363 @@ 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
+ max-width: calc(100% - 14em);
137
+ padding-right: 1em;
138
+ min-width: 0;
139
+ }
140
+
141
+ .blockHeader.blockHeaderInlineMeta .dateLine {
142
+ float: right;
143
+ margin-top: 0;
144
+ text-align: right;
145
+ white-space: nowrap;
146
+ }
147
+
148
+ .titleGroup {
149
+ min-width: 0;
150
+ }
151
+
152
+ .titleGroup h3.title {
153
+ padding-right: 0;
154
+ }
155
+
156
+ h3.title {
94
157
  font-weight: bold;
95
- font-size: 12px;
158
+ font-size: 11pt;
159
+ color: var(--resume-body);
160
+ display: block;
161
+ line-height: 1.15;
162
+ margin: 0;
163
+ padding-right: 0;
96
164
  }
97
165
 
98
- .date {
166
+ /* Institution line extras (GPA) — secondary, not job-title weight */
167
+ .educationBlock h3.title em {
168
+ font-style: italic;
169
+ font-weight: normal;
170
+ color: var(--resume-secondary);
171
+ }
172
+
173
+ .metaRow {
174
+ display: block;
175
+ width: 100%;
176
+ margin-top: 1px;
177
+ overflow: hidden;
178
+ }
179
+
180
+ .metaRow .companyLine,
181
+ .metaRow .degree,
182
+ .metaRow .position {
183
+ float: left;
184
+ clear: left;
185
+ max-width: calc(100% - 14em);
186
+ padding-right: 1em;
187
+ min-width: 0;
188
+ margin: 0;
189
+ text-align: left;
190
+ }
191
+
192
+ .metaRow .dateLine {
99
193
  float: right;
194
+ margin-top: 0;
195
+ text-align: right;
196
+ white-space: nowrap;
197
+ }
198
+
199
+ .companyLine {
200
+ font-size: 11pt;
201
+ font-weight: normal;
202
+ line-height: 1.15;
203
+ margin: 1px 0 0;
204
+ color: var(--resume-company);
205
+ font-style: normal;
206
+ }
207
+
208
+ .companyLine .companyName {
209
+ color: var(--resume-company);
210
+ font-style: normal;
211
+ }
212
+
213
+ .dateLine {
214
+ white-space: nowrap;
215
+ }
216
+
217
+ .date {
100
218
  font-weight: normal;
219
+ font-size: 11pt;
220
+ color: var(--resume-date);
221
+ font-style: italic;
222
+ }
223
+
224
+ .metaRow .degree,
225
+ .metaRow .degree em {
226
+ font-style: normal;
227
+ color: var(--resume-company);
101
228
  }
102
229
 
103
- .position, .degree {
230
+ .position,
231
+ .degree {
104
232
  margin-top: 1px;
105
233
  margin-bottom: 2px;
106
234
  }
107
235
 
108
- .website {
109
- margin-bottom: 5px;
110
- font-size: 12px;
111
- font-weight: 500;
236
+ .phoneLink,
237
+ .websiteLink,
238
+ .profileLink,
239
+ .emailLink {
240
+ font-size: inherit;
241
+ font-weight: normal;
242
+ text-decoration: none;
243
+ }
244
+
245
+ /* Header contact line: all black (location, pipes, phone, email, URLs) */
246
+ .basicsBlock .headerContact,
247
+ .basicsBlock .headerContact .contactSep,
248
+ .basicsBlock .phoneLink,
249
+ .basicsBlock .emailLink,
250
+ .basicsBlock .websiteLink,
251
+ .basicsBlock .profileLink {
252
+ color: #000;
253
+ }
254
+
255
+ .basicsBlock .phoneLink:hover,
256
+ .basicsBlock .emailLink:hover,
257
+ .basicsBlock .websiteLink:hover,
258
+ .basicsBlock .profileLink:hover {
259
+ color: #000;
260
+ text-decoration: none;
112
261
  }
113
262
 
114
263
  .summary {
115
264
  margin-top: 2px;
116
- margin-bottom: 4px;
117
- line-height: 1.4;
265
+ margin-bottom: 2px;
266
+ line-height: 1.15;
118
267
  }
119
268
 
120
- /* Lists */
269
+ /* Lists — U+2022 bullet, navy; body text stays near-black */
121
270
  .sectionContent ul {
122
- padding-left: 20px;
271
+ list-style: none;
272
+ padding-left: 0;
123
273
  margin-top: 2px;
124
274
  margin-bottom: 2px;
125
- list-style-type: disc;
126
275
  }
127
276
 
128
- /* Skill lists - special case for inline display */
277
+ .sectionContent ul > li {
278
+ position: relative;
279
+ padding-left: 1.15em;
280
+ margin-bottom: 1px;
281
+ color: var(--resume-body);
282
+ }
283
+
284
+ .sectionContent ul > li::before {
285
+ content: "\2022";
286
+ position: absolute;
287
+ left: 0;
288
+ color: var(--resume-accent);
289
+ font-weight: normal;
290
+ }
291
+
129
292
  .skillBlock {
130
293
  margin-bottom: 2px;
294
+ line-height: 1.15;
131
295
  }
132
296
 
133
- .skillBlock .title {
134
- margin-bottom: 1px;
297
+ .skillRow {
298
+ display: block;
135
299
  }
136
300
 
137
- .skillBlock ul {
138
- margin-top: 1px;
301
+ .skillRow b {
302
+ font-weight: bold;
303
+ color: var(--resume-body);
139
304
  }
140
305
 
141
- .skillBlock ul li {
142
- display: inline-block;
143
- margin-right: 10px;
144
- margin-bottom: 0;
306
+ .skillDetailsRow {
307
+ display: block;
308
+ margin-top: 2px;
309
+ padding-left: 0;
145
310
  }
146
311
 
147
- /* Separators */
148
312
  .separator {
149
- height: 1px;
150
- margin-top: 3px;
151
- margin-bottom: 3px;
313
+ height: 0;
314
+ margin-top: 0;
315
+ margin-bottom: 0;
316
+ overflow: hidden;
152
317
  }
153
318
 
154
- .divider {
155
- font-weight: bold;
156
- margin-left: 5px;
157
- margin-right: 5px;
319
+ /* Contact row layout (colour set under .basicsBlock) */
320
+ .headerContact {
321
+ display: block;
322
+ font-size: 11pt;
323
+ line-height: 1.15;
324
+ }
325
+
326
+ .headerContact .contactPiece {
327
+ display: inline;
328
+ white-space: normal;
329
+ }
330
+
331
+ .contactLocation:empty {
332
+ display: none;
158
333
  }
159
334
 
160
- /* Header elements */
161
335
  .nameBlock {
162
- font-size: 22px;
163
- text-align: center;
336
+ font-size: 20pt;
337
+ text-align: left;
164
338
  margin-bottom: 0;
165
339
  }
166
340
 
167
- .name {
341
+ h1.name {
342
+ font-size: 20pt;
168
343
  font-weight: bold;
344
+ display: block;
345
+ color: var(--resume-accent);
346
+ letter-spacing: 1.5pt;
169
347
  }
170
348
 
171
349
  .label {
172
- font-size: 16px;
350
+ font-size: 12pt;
173
351
  margin-bottom: 0;
352
+ margin-top: 2px;
353
+ color: var(--resume-secondary);
354
+ font-weight: normal;
174
355
  }
175
356
 
176
357
  .basicsBlock {
177
- font-size: 12px;
178
- text-align: center;
179
- margin-top: 3px;
180
- margin-bottom: 8px;
358
+ font-size: 11pt;
359
+ text-align: left;
360
+ margin-top: 2px;
361
+ margin-bottom: 3px;
181
362
  }
182
363
 
183
- /* Education elements */
184
364
  .coursesBlock {
185
365
  margin-top: 2px;
186
366
  }
187
367
 
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;
368
+ ul.coursesList {
369
+ display: block;
370
+ width: 100%;
371
+ margin: 0;
372
+ padding-left: 0;
373
+ list-style: none;
195
374
  }
196
375
 
197
376
  .course {
198
377
  margin-bottom: 0;
199
- line-height: 1.2;
378
+ line-height: 1.15;
200
379
  }
201
380
 
202
381
  .gpa {
203
382
  margin-bottom: 5px;
204
- font-size: 11px;
383
+ font-size: inherit;
384
+ }
385
+
386
+ .publicationBlock {
387
+ margin-bottom: 2px;
205
388
  }
206
389
 
207
- /* Media Queries */
208
390
  @media only screen and (max-width: 40em) {
209
391
  body {
210
392
  margin: 0;
211
- font-size: 14px;
393
+ font-size: 12pt;
212
394
  }
395
+
213
396
  .resume {
214
397
  margin: 0 auto;
215
398
  max-width: 600px;
216
399
  padding: 0.5em 1em;
217
400
  border: none;
218
401
  }
402
+
219
403
  .sectionContent {
220
404
  width: 100%;
221
405
  }
222
- .sectionContent .date {
223
- padding-right: 2em;
224
- }
225
- .sectionName {
406
+
407
+ h2.sectionName {
226
408
  width: auto;
227
409
  }
410
+
228
411
  .nameBlock {
229
- font-size: 20px;
412
+ font-size: 18pt;
230
413
  }
414
+
415
+ h1.name {
416
+ font-size: 18pt;
417
+ }
418
+
231
419
  .basicsBlock {
232
- font-size: 14px;
420
+ font-size: 12pt;
233
421
  }
234
422
  }
235
423
 
424
+ @page {
425
+ margin: 0.5in;
426
+ }
427
+
236
428
  @media print {
237
429
  body {
238
- background: #FFFFFF;
430
+ background: #ffffff;
431
+ color: var(--resume-body);
239
432
  }
433
+
240
434
  .resume {
241
435
  margin: 0 auto;
242
436
  max-width: 750px;
@@ -248,6 +442,39 @@ a:hover {
248
442
  }
249
443
 
250
444
  a {
251
- color: black;
445
+ text-decoration: none;
446
+ }
447
+
448
+ .basicsBlock .headerContact,
449
+ .basicsBlock .headerContact .contactSep,
450
+ .basicsBlock .phoneLink,
451
+ .basicsBlock .emailLink,
452
+ .basicsBlock .websiteLink,
453
+ .basicsBlock .profileLink {
454
+ color: #000;
455
+ }
456
+
457
+ h2.sectionName {
458
+ color: var(--resume-accent);
459
+ border-top-color: var(--resume-rule);
460
+ letter-spacing: 0;
461
+ break-after: avoid;
462
+ page-break-after: avoid;
463
+ }
464
+
465
+ h1.name {
466
+ color: var(--resume-accent);
467
+ }
468
+
469
+ /* Keep role/company header with the start of its body; bullets may continue on next page. */
470
+ .sectionContent > div > .blockHeader {
471
+ break-after: avoid;
472
+ page-break-after: avoid;
473
+ }
474
+
475
+ /* One bullet = one fragment; breaks between bullets fill the prior page. */
476
+ .sectionContent ul > li {
477
+ break-inside: avoid;
478
+ page-break-inside: avoid;
252
479
  }
253
480
  }