Commit 49bad6b
committed
feat: [cv] CV layout improvements
Breaking changes:
* Add cv-description class to replace post-meta class in cv layout to
keep it separate from post layout. This class is similar to post-meta
class except for text color which is set to normal instead of accent.
* Remove bottom border in cv-experience to avoid printing too many lines
due to many experiences listed. These lines are a distraction when
reading the CV.
* Remove cv-skills class and cv/skills shortcode replace it with simple
line e.g. "Skills: C++, Python". This is done to reduce the printed
content.
* Add cv-content class to apply cv content specific styles:
+ Reduce h2 size as it is not more important than the listed
experiences and educations.
+ Reduce line height and margins for all elements under cv-content to
keep the CV readable in print while also fitting into smallest page
area.
Example site:
* Update example cv to demo these changes.1 parent ffb942d commit 49bad6b
File tree
4 files changed
+27
-46
lines changed- assets/styles
- exampleSite/content
- layouts
- cv
- shortcodes/cv
4 files changed
+27
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
457 | 463 | | |
458 | 464 | | |
459 | | - | |
| 465 | + | |
460 | 466 | | |
461 | 467 | | |
462 | 468 | | |
463 | 469 | | |
464 | 470 | | |
465 | 471 | | |
466 | 472 | | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
475 | 477 | | |
476 | | - | |
477 | | - | |
478 | | - | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
479 | 481 | | |
480 | 482 | | |
481 | | - | |
482 | | - | |
483 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
484 | 489 | | |
485 | 490 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
39 | | - | |
| 37 | + | |
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
| |||
51 | 49 | | |
52 | 50 | | |
53 | 51 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
This file was deleted.
0 commit comments