mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
updated resume pdf generation
This commit is contained in:
1 parent
0e34db7964
commit
41b40653c7
12 files changed
+419
-42
No files matched your search
+18
-15
@@ -17,7 +17,7 @@
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
|
||||
body {
|
||||
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
||||
font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
|
||||
font-size: 10pt;
|
||||
line-height: 1.5;
|
||||
color: #1a1a1a;
|
||||
@@ -59,9 +59,12 @@
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* Section — all sections except first get page break */
|
||||
.section + .section {
|
||||
page-break-before: always;
|
||||
/* About me */
|
||||
.about-summary {
|
||||
font-size: 9.5pt;
|
||||
color: #4a4a4a;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@@ -74,7 +77,6 @@
|
||||
border-bottom: 1px solid #ccc;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/* Experience */
|
||||
.exp-entry {
|
||||
margin-bottom: 12px;
|
||||
@@ -241,12 +243,8 @@
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* Page break helpers */
|
||||
.avoid-break { page-break-inside: avoid; }
|
||||
|
||||
/* Version stamp footer */
|
||||
.pdf-footer {
|
||||
page-break-inside: avoid;
|
||||
text-align: center;
|
||||
font-size: 8pt;
|
||||
color: #999;
|
||||
@@ -271,12 +269,23 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- About me -->
|
||||
<div class="section">
|
||||
<div class="about-summary">{{BIO}}</div>
|
||||
</div>
|
||||
|
||||
<!-- Experience -->
|
||||
<div class="section">
|
||||
<div class="section-title">{{EXPERIENCE_LABEL}}</div>
|
||||
{{EXPERIENCE}}
|
||||
</div>
|
||||
|
||||
<!-- Projects -->
|
||||
<div class="section">
|
||||
<div class="section-title">{{PROJECTS_LABEL}}</div>
|
||||
{{PROJECTS}}
|
||||
</div>
|
||||
|
||||
<!-- Skills -->
|
||||
<div class="section">
|
||||
<div class="section-title">{{SKILLS_LABEL}}</div>
|
||||
@@ -285,12 +294,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Projects -->
|
||||
<div class="section">
|
||||
<div class="section-title">{{PROJECTS_LABEL}}</div>
|
||||
{{PROJECTS}}
|
||||
</div>
|
||||
|
||||
<!-- Version stamp footer -->
|
||||
<div class="pdf-footer">
|
||||
Last updated: {{UPDATED_DATE}}
|
||||
|
||||
Reference in new issue
Block a user