feat(portfolio): regenerate cv.pdf from new resume + corner-to-corner widget#16
Merged
Conversation
… widget Replaced prototypes/assets/cv.pdf (148KB → 974KB) rendered from the new resume.html. Per user instruction: original resume.html stays intact. Changes to resume.html + resume-dark.html: - Wrapped entire .resume in single corner-to-corner rounded widget (background: var(--sec-bg), border, border-radius: 5mm, box-shadow) - New .resume-inner wrapper keeps original 9mm/12mm/9mm padding inside the widget - Removed footer text (VISHAL KATARIYA · RESUME · 2026 / website) per user: 'its alright if footer doesnt fit in pdf, just leave it out' - Divider line stays as visual element, no text below it - Removed min-height: 297mm from .resume (was forcing exact A4 height, caused 3.6mm overflow + 2nd blank page) - @media print: force html, body { width: 210mm; height: 297mm; min-height: 0; overflow: hidden } to prevent sub-pixel overflow (L-071) - Fixed green dot for 'Open to work' pill: matched to edu-badge::before style (4px circle, no box-shadow glow). Was previously distorted at print size due to the 6px glow box-shadow on a 5px dot. - Print stylesheet: compress content (padding 7mm 10mm 7mm, section margin 2.8mm, work-bullets font 8px), strip widget background to white, keep border + border-radius for the A4 print look. L-071 added to lessons.md: - For A4 PDFs that must be exactly 1 page, force body to exact A4 dimensions in @media print + overflow: hidden. Don't trust content-height alone — check pdfinfo page count FIRST. - Spent 5+ iterations reducing content to 'fit 1 page' before realizing overflow was just 3.6mm of sub-pixel bleed. 4 lines of CSS fixed it, not content reduction. DEVLOG.md: new entry at top documenting this session. todo.md: status section under feat/resume-redesign branch. Result: cv.pdf is 1 page A4, 974KB, 29kb chars of content.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Regenerate
prototypes/assets/cv.pdffrom the newresume.htmlafter user-specified design adjustments. Per user instruction: originalresume.htmlstays intact — all print-specific CSS lives in@media printblock.Changes
prototypes/assets/cv.pdf— replaced (148KB → 974KB, 1 page A4)prototypes/resume.html+prototypes/resume-dark.html:.resumein a single corner-to-corner rounded widget (background, border, border-radius, box-shadow).resume-innerwrapper keeps original 9mm/12mm/9mm padding insidemin-height: 297mmfrom.resume(was forcing exact A4 height, caused 3.6mm overflow → 2nd blank page)@media print: forcehtml, body { width: 210mm; height: 297mm; min-height: 0; overflow: hidden }to prevent sub-pixel overflow (L-071)edu-badge::beforestyle (4px circle, no glow). Was previously distorted at print size due to the 6px box-shadow on a 5px dot.tasks/DEVLOG.md— new session entry at toptasks/lessons.md— L-071 added (A4 print overflow prevention)tasks/todo.md— resume redesign status section updatedLessons applied
resume.htmlstays as designed; print adjustments live in@media print@media print+overflow: hidden. Don't trust content-height alone — checkpdfinfopage count FIRST.Result
prototypes/assets/cv.pdfis now 1 page A4, 974KB, contains the new resume design with all sections, photo, and divider line. No blank page 2.Files changed
prototypes/assets/cv.pdf(binary, 148KB → 974KB)prototypes/resume.html(CSS additions + structural wrapper)prototypes/resume-dark.html(matching changes)tasks/DEVLOG.md(session entry)tasks/lessons.md(L-071)tasks/todo.md(status update)