jsonresume-theme-tech 1.5.0 → 1.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsonresume-theme-tech",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "A clean, modern JSON Resume theme tailored for tech professionals, senior engineers, and startup founders",
5
5
  "author": "Gaurav Bansal",
6
6
  "repository": {
package/resume.hbs CHANGED
@@ -97,43 +97,6 @@
97
97
  </div>
98
98
  {{/if}}
99
99
 
100
- {{#if resume.education.length}}
101
- <div class='education'>
102
- <h2 class='sectionName'>
103
- <span>Education</span>
104
- </h2>
105
- <div class='sectionContent'>
106
- {{#each resume.education}}
107
- <div class='educationBlock'>
108
- <div class='blockHeader'>
109
- <h3 class='title'>
110
- {{#if institution}}{{{institution}}}{{#if location}}, {{{location}}}{{/if}}{{#if score}} <em>({{{score}}}{{#if scoreMax}}/{{{scoreMax}}}{{/if}}{{#if scoreType}} {{{scoreType}}}{{/if}})</em>{{/if}}{{/if}}
111
- </h3>
112
- <div class='metaRow'>
113
- {{#if studyType}}<div class='degree'><em>{{{studyType}}}{{#if area}} ({{{area}}}){{/if}}</em></div>{{/if}}
114
- {{#if startDate}}
115
- <div class='dateLine'>
116
- <span class='date'>{{startDate}} - {{#if endDate}}{{endDate}}{{else}}Present{{/if}}</span>
117
- </div>
118
- {{/if}}
119
- </div>
120
- </div>
121
- {{#if courses.length}}
122
- <div class='coursesBlock'>
123
- <div class='coursesInline'>
124
- {{#each courses}}
125
- <span class='course'>{{{this}}}</span>{{#unless @last}}<span class='courseSep'> • </span>{{/unless}}
126
- {{/each}}
127
- </div>
128
- </div>
129
- {{/if}}
130
- </div>
131
- {{#unless @last}}<div class='separator'></div>{{/unless}}
132
- {{/each}}
133
- </div>
134
- </div>
135
- {{/if}}
136
-
137
100
  {{#if resume.projects.length}}
138
101
  <div class='projects'>
139
102
  <h2 class='sectionName'>
@@ -217,6 +180,43 @@
217
180
  </div>
218
181
  {{/if}}
219
182
 
183
+ {{#if resume.education.length}}
184
+ <div class='education'>
185
+ <h2 class='sectionName'>
186
+ <span>Education</span>
187
+ </h2>
188
+ <div class='sectionContent'>
189
+ {{#each resume.education}}
190
+ <div class='educationBlock'>
191
+ <div class='blockHeader'>
192
+ <h3 class='title'>
193
+ {{#if institution}}{{{institution}}}{{#if location}}, {{{location}}}{{/if}}{{#if score}} <em>({{{score}}}{{#if scoreMax}}/{{{scoreMax}}}{{/if}}{{#if scoreType}} {{{scoreType}}}{{/if}})</em>{{/if}}{{/if}}
194
+ </h3>
195
+ <div class='metaRow'>
196
+ {{#if studyType}}<div class='degree'><em>{{{studyType}}}{{#if area}} ({{{area}}}){{/if}}</em></div>{{/if}}
197
+ {{#if startDate}}
198
+ <div class='dateLine'>
199
+ <span class='date'>{{startDate}} - {{#if endDate}}{{endDate}}{{else}}Present{{/if}}</span>
200
+ </div>
201
+ {{/if}}
202
+ </div>
203
+ </div>
204
+ {{#if courses.length}}
205
+ <div class='coursesBlock'>
206
+ <div class='coursesInline'>
207
+ {{#each courses}}
208
+ <span class='course'>{{{this}}}</span>{{#unless @last}}<span class='courseSep'> • </span>{{/unless}}
209
+ {{/each}}
210
+ </div>
211
+ </div>
212
+ {{/if}}
213
+ </div>
214
+ {{#unless @last}}<div class='separator'></div>{{/unless}}
215
+ {{/each}}
216
+ </div>
217
+ </div>
218
+ {{/if}}
219
+
220
220
  {{#if resume.publications.length}}
221
221
  <div class='publications'>
222
222
  <h2 class='sectionName'>
package/style.css CHANGED
@@ -109,41 +109,38 @@ h2.sectionName {
109
109
  margin-bottom: 2px;
110
110
  }
111
111
 
112
+ /* Extra breathing room between multiple roles (work) and project entries */
113
+ .workBlock .sectionContent > .jobBlock:not(:last-child),
114
+ .projects .sectionContent > .projectBlock:not(:last-child) {
115
+ margin-bottom: 8pt;
116
+ }
117
+
112
118
  /*
113
- * Company / degree + dates: float layout (right edge ≈ Word right-tab), not table/flex.
114
- * Title + date (projects, awards, …): same pattern.
119
+ * Company / degree + dates: flex row (date pinned right). Floats are NOT used:
120
+ * Chromium paints floats before in-flow text, which put every company/date
121
+ * line ahead of the candidate name in the PDF text stream (breaks ATS reading order).
122
+ * Flex items are painted in DOM order.
115
123
  */
116
124
  .blockHeader {
117
125
  display: block;
118
126
  margin-bottom: 1px;
119
127
  }
120
128
 
121
- .blockHeader::after,
122
- .metaRow::after {
123
- content: "";
124
- /* Safer clearfix than `display: table` for PDF/ATS extraction */
125
- display: block;
126
- clear: both;
127
- }
128
-
129
129
  .blockHeader.blockHeaderInlineMeta {
130
- display: block;
130
+ display: flex;
131
+ justify-content: space-between;
132
+ align-items: baseline;
131
133
  width: 100%;
132
- overflow: hidden;
133
134
  }
134
135
 
135
136
  .blockHeader.blockHeaderInlineMeta h3.title {
136
- float: left;
137
- /* Patents/Projects titles sit left of a long, nowrap dateLine.
138
- Keep the title wide enough to avoid wrapping while still leaving
139
- space for the right-aligned date text. */
140
- max-width: calc(100% - 12em);
137
+ flex: 1 1 auto;
141
138
  padding-right: 0.5em;
142
139
  min-width: 0;
143
140
  }
144
141
 
145
142
  .blockHeader.blockHeaderInlineMeta .dateLine {
146
- float: right;
143
+ flex: none;
147
144
  margin-top: 0;
148
145
  text-align: right;
149
146
  white-space: nowrap;
@@ -182,18 +179,17 @@ h3.subSectionName {
182
179
  }
183
180
 
184
181
  .metaRow {
185
- display: block;
182
+ display: flex;
183
+ justify-content: space-between;
184
+ align-items: baseline;
186
185
  width: 100%;
187
186
  margin-top: 1px;
188
- overflow: hidden;
189
187
  }
190
188
 
191
189
  .metaRow .companyLine,
192
190
  .metaRow .degree,
193
191
  .metaRow .position {
194
- float: left;
195
- clear: left;
196
- max-width: calc(100% - 14em);
192
+ flex: 1 1 auto;
197
193
  padding-right: 1em;
198
194
  min-width: 0;
199
195
  margin: 0;
@@ -201,7 +197,7 @@ h3.subSectionName {
201
197
  }
202
198
 
203
199
  .metaRow .dateLine {
204
- float: right;
200
+ flex: none;
205
201
  margin-top: 0;
206
202
  text-align: right;
207
203
  white-space: nowrap;
@@ -286,16 +282,17 @@ h3.subSectionName {
286
282
  }
287
283
 
288
284
  .sectionContent ul > li {
289
- position: relative;
290
285
  padding-left: 1.15em;
291
286
  margin-bottom: 1px;
292
287
  color: var(--resume-body);
293
288
  }
294
289
 
290
+ /* Inline (not absolutely positioned) so the bullet precedes its text in the PDF stream */
295
291
  .sectionContent ul > li::before {
296
292
  content: "\2022";
297
- position: absolute;
298
- left: 0;
293
+ display: inline-block;
294
+ width: 1.15em;
295
+ margin-left: -1.15em;
299
296
  color: var(--resume-accent);
300
297
  font-weight: normal;
301
298
  }
Binary file