Drop the underline rules under the CV sidebar headings
The sidebar section labels no longer carry a short accent underline; tracking and weight provide the structure, keeping the left column clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+2
-7
@@ -689,9 +689,8 @@ function buildContactLines(header) {
|
||||
return lines;
|
||||
}
|
||||
|
||||
// Sidebar section label: a compact tracked uppercase accent word underlined by
|
||||
// a short accent segment — the same structural motif as the main column, sized
|
||||
// down for the narrow column.
|
||||
// Sidebar section label: a compact tracked uppercase accent word. No underline
|
||||
// rule — the sidebar stays clean; tracking and weight carry the structure.
|
||||
function sbHeading(doc, S, dry, cur, title) {
|
||||
const pt = 9;
|
||||
const cs = 1.0 * S;
|
||||
@@ -699,15 +698,11 @@ function sbHeading(doc, S, dry, cur, title) {
|
||||
doc.setFont('Lato', 'bold');
|
||||
doc.setFontSize(pt * S);
|
||||
const label = String(title).toUpperCase();
|
||||
const lineY = cur.y + pt * S * PT * 1.24;
|
||||
if (!dry) {
|
||||
doc.setCharSpace(cs);
|
||||
doc.setTextColor(RC.accent[0], RC.accent[1], RC.accent[2]);
|
||||
doc.text(label, SB_X, cur.y + pt * S * PT * 0.76);
|
||||
doc.setCharSpace(0);
|
||||
doc.setDrawColor(RC.accent[0], RC.accent[1], RC.accent[2]);
|
||||
doc.setLineWidth(0.9 * S);
|
||||
doc.line(SB_X, lineY, SB_X + 9, lineY);
|
||||
}
|
||||
cur.y += pt * S * PT + 4.6 * S;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user