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:
2026-07-04 12:50:50 +02:00
co-authored by Claude Opus 4.8
parent fa25307791
commit 1655427b4c
+2 -7
View File
@@ -689,9 +689,8 @@ function buildContactLines(header) {
return lines; return lines;
} }
// Sidebar section label: a compact tracked uppercase accent word underlined by // Sidebar section label: a compact tracked uppercase accent word. No underline
// a short accent segment — the same structural motif as the main column, sized // rule — the sidebar stays clean; tracking and weight carry the structure.
// down for the narrow column.
function sbHeading(doc, S, dry, cur, title) { function sbHeading(doc, S, dry, cur, title) {
const pt = 9; const pt = 9;
const cs = 1.0 * S; const cs = 1.0 * S;
@@ -699,15 +698,11 @@ function sbHeading(doc, S, dry, cur, title) {
doc.setFont('Lato', 'bold'); doc.setFont('Lato', 'bold');
doc.setFontSize(pt * S); doc.setFontSize(pt * S);
const label = String(title).toUpperCase(); const label = String(title).toUpperCase();
const lineY = cur.y + pt * S * PT * 1.24;
if (!dry) { if (!dry) {
doc.setCharSpace(cs); doc.setCharSpace(cs);
doc.setTextColor(RC.accent[0], RC.accent[1], RC.accent[2]); doc.setTextColor(RC.accent[0], RC.accent[1], RC.accent[2]);
doc.text(label, SB_X, cur.y + pt * S * PT * 0.76); doc.text(label, SB_X, cur.y + pt * S * PT * 0.76);
doc.setCharSpace(0); 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; cur.y += pt * S * PT + 4.6 * S;
} }